Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/mempolicy.c mpol_set_shared_policy() -> sp_free()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->end 1-u64max
PARAM_VALUE 0 n->nd.__rb_parent_color 1
PARAM_VALUE 0 n->nd.rb_left 4096-ptr_max
PARAM_VALUE 0 n->nd.rb_right 4096-ptr_max
PARAM_VALUE 0 n->policy 4096-ptr_max
DATA_SOURCE 0 n r sp_alloc
NOCHECK_CALL
USER_DATA 0 n->policy->flags 1,25,8193-57369[c]
USER_DATA 0 n->policy->home_node 0-1023
USER_DATA 0 n->policy->mode 2-3,5-u16max
HALF_LOCKED2 &mm->mmap_lock

mm/mempolicy.c sp_delete() -> sp_free()

Type Parameter Key Value
PARAM_VALUE 0 n 4096-ptr_max
PARAM_VALUE 0 n->nd.rb_left 0,4096-ptr_max
PARAM_VALUE 0 n->nd.rb_right 0,4096-ptr_max
CAPPED_DATA 0 &n->nd 1
DATA_SOURCE 0 n $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sp->lock
TYPE_LOCK (struct shared_policy)->lock