Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/persistent-data/dm-btree.c has_space_for_insert() -> contains_key()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->header.flags 2-u32max
CAPPED_DATA 0 node->header.max_entries 1
CAPPED_DATA 0 node->header.nr_entries 1
DATA_SOURCE 0 node $0
DATA_SOURCE 1 key $1
PARAM_COMPARE 0 node->header.max_entries == $0->header.nr_entries
BIT_INFO 0 node->header.flags 0x2,0xffffffff
USER_DATA 1 key 0-u64max
HALF_LOCKED2 &td->pmd->root_lock

drivers/md/persistent-data/dm-space-map-common.c __sm_ll_dec_overflow() -> contains_key()

Type Parameter Key Value
PARAM_VALUE 2 index 0-2147483645
CAPPED_DATA 1 key 1
CAPPED_DATA 1 key 1
DATA_SOURCE 0 node r dm_block_data
DATA_SOURCE 1 key $1

drivers/md/persistent-data/dm-space-map-common.c __sm_ll_inc_overflow() -> contains_key()

Type Parameter Key Value
PARAM_VALUE 2 index 0-2147483645
CAPPED_DATA 1 key 1
CAPPED_DATA 1 key 1
DATA_SOURCE 0 node r dm_block_data
DATA_SOURCE 1 key $1

drivers/md/persistent-data/dm-space-map-common.c sm_ll_dec_overflow() -> contains_key()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 2 index (-1)-1073741822
DATA_SOURCE 0 node r dm_block_data
DATA_SOURCE 1 key $1
DATA_SOURCE 2 index r lower_bound

drivers/md/persistent-data/dm-space-map-common.c sm_ll_inc_overflow() -> contains_key()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 2 index (-1)-1073741822
DATA_SOURCE 0 node r dm_block_data
DATA_SOURCE 1 key $1
DATA_SOURCE 2 index r lower_bound