Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-log-userspace-base.c userspace_ctr() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 1 luid 4096-18446744073709547520
PARAM_VALUE 2 request_type 1
PARAM_VALUE 3 data 16,4096-ptr_max
PARAM_VALUE 3 *data 0-255
PARAM_VALUE 4 data_size 1-s32max
PARAM_VALUE 5 rdata 4096-ptr_max
PARAM_VALUE 6 rdata_size 2297189368463814656
PARAM_VALUE 6 *rdata_size 128
BUF_SIZE 0 uuid 129
BUF_SIZE 5 rdata 128
BUF_SIZE 5 rdata 128
DATA_SOURCE 4 data_size r build_constructor_string
DATA_SOURCE 5 rdata r _kzalloc_noprof

drivers/md/dm-log-userspace-base.c userspace_ctr() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 1 luid 4096-18446744073709547520
PARAM_VALUE 2 request_type 6
PARAM_VALUE 3 data 0
PARAM_VALUE 4 data_size 0
PARAM_VALUE 5 rdata 3899178224515801088
PARAM_VALUE 6 rdata_size 8990704435494449152
PARAM_VALUE 6 *rdata_size 8
BUF_SIZE 0 uuid 129
BUF_SIZE 5 rdata 8

drivers/md/dm-log-userspace-base.c userspace_do_request() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 3 data 0,4096-ptr_max
PARAM_VALUE 4 data_size 0-17179869176
PARAM_VALUE 5 rdata 0,4096-ptr_max
PARAM_VALUE 6 rdata_size 0,843811621133864960,2076829700059189248,2767716701778767872,4015726052783697920,8824476702445453312,8835868505329152000
PARAM_VALUE 6 *rdata_size 0-u32max
BUF_SIZE 0 uuid 129
BUF_SIZE 0 uuid 129
BUF_SIZE 3 data (-1),8,16,256
BUF_SIZE 3 data (-1),8,16,256
BUF_SIZE 5 rdata (-1),8,16
BUF_SIZE 5 rdata (-1),8,16
DATA_SOURCE 0 uuid $1
DATA_SOURCE 2 request_type $2
DATA_SOURCE 3 data $3
DATA_SOURCE 4 data_size $4
DATA_SOURCE 5 rdata $5
DATA_SOURCE 6 rdata_size $6
RX_PATH
UNITS 4 data_size unit_byte
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rh->recovery_count

drivers/md/dm-log-userspace-base.c userspace_do_request() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 2 request_type 1
PARAM_VALUE 4 data_size 1-18446744073709551614
PARAM_VALUE 5 rdata 0
PARAM_VALUE 6 rdata_size 0
BUF_SIZE 0 uuid 129
BUF_SIZE 0 uuid 129
DATA_SOURCE 0 uuid $1
STR_LEN 0 uuid 0-18446744073709551613
RX_PATH
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rh->recovery_count

drivers/md/dm-log-userspace-base.c userspace_do_request() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 2 request_type 5
PARAM_VALUE 3 data 0
PARAM_VALUE 4 data_size 0
PARAM_VALUE 5 rdata 0
PARAM_VALUE 6 rdata_size 0
BUF_SIZE 0 uuid 129
BUF_SIZE 0 uuid 129
DATA_SOURCE 0 uuid $1
RX_PATH
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rh->recovery_count

drivers/md/dm-log-userspace-base.c userspace_dtr() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 2 request_type 2
PARAM_VALUE 3 data 0
PARAM_VALUE 4 data_size 0
PARAM_VALUE 5 rdata 0
PARAM_VALUE 6 rdata_size 0
BUF_SIZE 0 uuid 129

drivers/md/dm-log-userspace-base.c userspace_postsuspend() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 2 request_type 4
PARAM_VALUE 3 data 0
PARAM_VALUE 4 data_size 0
PARAM_VALUE 5 rdata 0
PARAM_VALUE 6 rdata_size 0
BUF_SIZE 0 uuid 129
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-log-userspace-base.c userspace_presuspend() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 2 request_type 3
PARAM_VALUE 3 data 0
PARAM_VALUE 4 data_size 0
PARAM_VALUE 5 rdata 0
PARAM_VALUE 6 rdata_size 0
BUF_SIZE 0 uuid 129
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-log-userspace-base.c userspace_resume() -> dm_consult_userspace()

Type Parameter Key Value
PARAM_VALUE 2 request_type 5
PARAM_VALUE 3 data 0
PARAM_VALUE 4 data_size 0
PARAM_VALUE 5 rdata 0
PARAM_VALUE 6 rdata_size 0
BUF_SIZE 0 uuid 129
LOCK2 &md->suspend_lock
TYPE_LOCK (struct mapped_device)->suspend_lock