Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

security/apparmor/policy.c __create_missing_ancestors() -> aa_alloc_null()

Type Parameter Key Value
PARAM_VALUE 0 parent 0,4096-ptr_max
PARAM_VALUE 1 name 4096-ptr_max
PARAM_VALUE 2 gfp 3264
BUF_SIZE 0 parent (-1)-0,360
BUF_SIZE 0 parent (-1)-0,360
DATA_SOURCE 1 name r kstrndup
DATA_SOURCE 2 gfp $2
LOCK2 &ns->lock
TYPE_LOCK (struct aa_ns)->lock

security/apparmor/policy.c aa_new_learning_profile() -> aa_alloc_null()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->ns 4096-ptr_max
PARAM_VALUE 1 name 4096-ptr_max
PARAM_VALUE 2 gfp 3264
BUF_SIZE 1 name 0-u64max
DATA_SOURCE 0 parent $0
DATA_SOURCE 2 gfp $3
HALF_LOCKED2 &ns->lock

security/apparmor/policy_ns.c alloc_unconfined() -> aa_alloc_null()

Type Parameter Key Value
PARAM_VALUE 0 parent 0
PARAM_VALUE 1 name 1655873289066430464,5988661543949205504
PARAM_VALUE 2 gfp 3264
BUF_SIZE 1 name 9,11
BUF_SIZE 1 name 9,11
DATA_SOURCE 1 name $0
STR_LEN 0 parent 8,10
STR_LEN 1 name 8,10
TERMINATED 1 name 1