Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/maple_tree.c mas_new_root() -> mt_set_height()

Type Parameter Key Value
PARAM_VALUE 0 mt 4096-ptr_max
PARAM_VALUE 1 height 0
CAPPED_DATA 0 mt->ma_root 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mt->ma_lock

lib/maple_tree.c mas_new_root() -> mt_set_height()

Type Parameter Key Value
PARAM_VALUE 0 mt 4096-ptr_max
PARAM_VALUE 1 height 1
CAPPED_DATA 0 mt->ma_root 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mt->ma_lock

lib/maple_tree.c mas_put_in_tree() -> mt_set_height()

Type Parameter Key Value
PARAM_VALUE 0 mt 4096-ptr_max
PARAM_VALUE 0 mt->ma_root 0,2-u64max
DATA_SOURCE 1 height $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mt->ma_lock

lib/maple_tree.c mas_root_expand() -> mt_set_height()

Type Parameter Key Value
PARAM_VALUE 0 mt 4096-ptr_max
PARAM_VALUE 1 height 1
CAPPED_DATA 0 mt->ma_root 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mt->ma_lock