Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/smack/smackfs.c smk_write_change_rule() -> smk_write_rules_list()

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 2 count 0-1000000000,2147479552
PARAM_VALUE 3 *ppos 0-1000000000
PARAM_VALUE 4 rule_list 0
PARAM_VALUE 5 rule_lock 0
PARAM_VALUE 6 format 2
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

security/smack/smackfs.c smk_write_load() -> smk_write_rules_list()

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 2 count 0-1000000000,2147479552
PARAM_VALUE 3 *ppos 0-1000000000
PARAM_VALUE 4 rule_list 0
PARAM_VALUE 5 rule_lock 0
PARAM_VALUE 6 format 0
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

security/smack/smackfs.c smk_write_load2() -> smk_write_rules_list()

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 2 count 0-1000000000,2147479552
PARAM_VALUE 3 *ppos 0-1000000000
PARAM_VALUE 4 rule_list 0
PARAM_VALUE 5 rule_lock 0
PARAM_VALUE 6 format 1
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

security/smack/smackfs.c smk_write_load_self() -> smk_write_rules_list()

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 2 count 0-1000000000,2147479552
PARAM_VALUE 3 *ppos 0-1000000000
PARAM_VALUE 4 rule_list 4096-ptr_max
PARAM_VALUE 5 rule_lock 4096-ptr_max
PARAM_VALUE 6 format 0
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

security/smack/smackfs.c smk_write_load_self2() -> smk_write_rules_list()

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 2 count 0-1000000000,2147479552
PARAM_VALUE 3 *ppos 0-1000000000
PARAM_VALUE 4 rule_list 4096-ptr_max
PARAM_VALUE 5 rule_lock 4096-ptr_max
PARAM_VALUE 6 format 1
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