Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/xfrm/xfrm_policy.c xfrm_byidx_resize() -> xfrm_idx_hash_transfer()

Type Parameter Key Value
PARAM_VALUE 0 list 4096-ptr_max
PARAM_VALUE 1 nidxtable 1-u64max
PARAM_VALUE 2 nhashmask 1-47
BUF_SIZE 1 nidxtable (-1)-s32max
BUF_SIZE 1 nidxtable (-1)-s32max
CAPPED_DATA 2 nhashmask 1
DATA_SOURCE 1 nidxtable r xfrm_hash_alloc
DATA_SOURCE 2 nhashmask r xfrm_new_hash_mask
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &net->xfrm.xfrm_policy_lock
LOCK2 bh
LOCK2 global &hash_resize_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct netns_xfrm)->xfrm_policy_lock