Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/btree.c btree_insert_level() -> getpos()

Type Parameter Key Value
PARAM_VALUE 0 geo->keylen 1-2
PARAM_VALUE 0 geo->no_pairs 1-s32max
PARAM_VALUE 1 node 1-u64max
BUF_SIZE 2 key (-1),16
BUF_SIZE 2 key (-1),16
CAPPED_DATA 0 geo->keylen 1
DATA_SOURCE 0 geo $1
DATA_SOURCE 1 node r find_level
DATA_SOURCE 2 key $2
RX_PATH
TASK_NOT_RUNNING

lib/btree.c btree_remove_level() -> getpos()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 0 geo->keylen s32min-(-1),1-s32max
PARAM_VALUE 0 geo->no_pairs 1-s32max
PARAM_VALUE 1 node 1-u64max
BUF_SIZE 2 key (-1),16
BUF_SIZE 2 key (-1),16
CAPPED_DATA 0 geo->keylen 1
DATA_SOURCE 0 geo $1
DATA_SOURCE 1 node r find_level
DATA_SOURCE 2 key $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

lib/btree.c rebalance() -> getpos()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 0 geo->keylen s32min-(-1),1-s32max
PARAM_VALUE 0 geo->no_pairs 1-s32max
PARAM_VALUE 1 node 1-u64max
PARAM_VALUE 2 key 4096-ptr_max
BUF_SIZE 2 key (-1),16
BUF_SIZE 2 key (-1),16
CAPPED_DATA 0 geo->keylen 1
CAPPED_DATA 0 geo->no_pairs 1
DATA_SOURCE 0 geo $1
DATA_SOURCE 1 node r find_level
DATA_SOURCE 2 key $2
RX_PATH
TASK_NOT_RUNNING