Defined in 2 files as a macro:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

kernel/user_namespace.c proc_gid_map_write() -> map_write()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 0 file->f_op->write 1-u64max
PARAM_VALUE 0 file->private_data 4096-ptr_max
PARAM_VALUE 2 count 0-1000000000,2147479552
PARAM_VALUE 3 *ppos 0-1000000000
PARAM_VALUE 4 cap_setid 6
PARAM_VALUE 5 map 4096-ptr_max
PARAM_VALUE 6 parent_map 4096-ptr_max
BUF_SIZE 3 ppos (-1),8
BUF_SIZE 3 ppos (-1),8
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 file $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 count $2
DATA_SOURCE 3 ppos $3
FUZZY_MAX 2 count 2147479552
BIT_INFO 0 file->f_mode 0x40002,0xffffffffffffffff
USER_DATA 1 buf 0-u64max[c]
USER_DATA 2 count 0-1000000000
USER_DATA 3 *ppos 0-1000000000
USER_PTR 3 ppos

kernel/user_namespace.c proc_projid_map_write() -> map_write()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 0 file->f_op->write 1-u64max
PARAM_VALUE 0 file->private_data 4096-ptr_max
PARAM_VALUE 2 count 0-1000000000,2147479552
PARAM_VALUE 3 *ppos 0-1000000000
PARAM_VALUE 4 cap_setid (-1)
PARAM_VALUE 5 map 4096-ptr_max
PARAM_VALUE 6 parent_map 4096-ptr_max
BUF_SIZE 3 ppos (-1),8
BUF_SIZE 3 ppos (-1),8
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 file $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 count $2
DATA_SOURCE 3 ppos $3
FUZZY_MAX 2 count 2147479552
BIT_INFO 0 file->f_mode 0x40002,0xffffffffffffffff
USER_DATA 1 buf 0-u64max[c]
USER_DATA 2 count 0-1000000000
USER_DATA 3 *ppos 0-1000000000
USER_PTR 3 ppos

kernel/user_namespace.c proc_uid_map_write() -> map_write()

Type Parameter Key Value
PARAM_VALUE 0 file 4096-ptr_max
PARAM_VALUE 0 file->f_op 4096-ptr_max
PARAM_VALUE 0 file->f_op->write 1-u64max
PARAM_VALUE 0 file->private_data 4096-ptr_max
PARAM_VALUE 2 count 0-1000000000,2147479552
PARAM_VALUE 3 *ppos 0-1000000000
PARAM_VALUE 4 cap_setid 7
PARAM_VALUE 5 map 4096-ptr_max
PARAM_VALUE 6 parent_map 1-u64max
BUF_SIZE 3 ppos (-1),8
BUF_SIZE 3 ppos (-1),8
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 file $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 count $2
DATA_SOURCE 3 ppos $3
FUZZY_MAX 2 count 2147479552
BIT_INFO 0 file->f_mode 0x40002,0xffffffffffffffff
USER_DATA 1 buf 0-u64max[c]
USER_DATA 2 count 0-1000000000
USER_DATA 3 *ppos 0-1000000000
USER_PTR 3 ppos