Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/slub.c alloc_single_from_new_slab() -> add_full()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->cpu_stats 4096-ptr_max
PARAM_VALUE 0 s->flags 128-u32max
PARAM_VALUE 2 slab 4096-ptr_max
PARAM_VALUE 2 slab->inuse 1
PARAM_VALUE 2 slab->objects 0-1
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $0
DATA_SOURCE 1 n r get_node
DATA_SOURCE 2 slab $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 1 &n->list_lock
TYPE_LOCK (struct kmem_cache_node)->list_lock

mm/slub.c alloc_single_from_partial() -> add_full()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->cpu_stats 4096-ptr_max
PARAM_VALUE 0 s->flags 128-u32max
PARAM_VALUE 1 n 4096-ptr_max
PARAM_VALUE 2 slab 4096-ptr_max
PARAM_VALUE 2 slab->frozen 1
PARAM_VALUE 2 slab->inuse 0-s16max
CAPPED_DATA 2 slab->inuse 1
CAPPED_DATA 2 slab->objects 1
DATA_SOURCE 0 s $0
DATA_SOURCE 1 n $1
DATA_SOURCE 2 slab $2
STR_LEN 0 s (-1),1-8,10-12,14,16,20,31,39,45,88,255
STR_LEN 0 s (-1),1-8,10-12,14,16,20,31,39,45,88,255
PARAM_COMPARE 2 slab->inuse == $2->objects
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 s->object_size
LOCK2 flags
LOCK2 1 &n->list_lock
TYPE_LOCK (struct kmem_cache_node)->list_lock