Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/maple_tree.c mas_adopt_children() -> mas_set_parent_slots()

Type Parameter Key Value
PARAM_VALUE 0 mas 4096-ptr_max
PARAM_VALUE 3 start_slot 0
BUF_SIZE 2 slots (-1),24,80,128,248
BUF_SIZE 2 slots (-1),24,80,128,248
DATA_SOURCE 0 mas $0
DATA_SOURCE 1 parent $1
DATA_SOURCE 2 slots r ma_slots
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 parent unit_byte
HALF_LOCKED2 &mt->ma_lock

lib/maple_tree.c node_copy() -> mas_set_parent_slots()

Type Parameter Key Value
PARAM_VALUE 0 mas 4096-ptr_max
PARAM_VALUE 0 mas->alloc 0
PARAM_VALUE 0 mas->sheaf 0,4096-ptr_max
PARAM_VALUE 0 mas->sheaf->size s32min-4294967295
PARAM_VALUE 1 parent 0,4-u64max
PARAM_VALUE 2 slots 4096-ptr_max
DATA_SOURCE 0 mas $0
DATA_SOURCE 3 start_slot $7
DATA_SOURCE 4 count $3
PARAM_COMPARE 2 slots >= $3
PARAM_COMPARE 2 slots >= $3
PARAM_COMPARE 3 start_slot <= $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 mas->index
NO_OVERFLOW_SIMPLE 0 mas->last
NO_OVERFLOW_SIMPLE 0 mas->node_request
UNITS 4 count unit_byte
HALF_LOCKED2 &mt->ma_lock