Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/xfrm/xfrm_policy.c xfrm_bydst_resize() -> xfrm_dst_hash_transfer()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->xfrm.policy_bydst 4096-ptr_max
PARAM_VALUE 0 net->xfrm.xfrm_policy_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 list 4096-ptr_max
PARAM_VALUE 2 ndsttable 1-u64max
PARAM_VALUE 3 nhashmask 1-4294967293,u32max
PARAM_VALUE 4 dir 0-2
BUF_SIZE 2 ndsttable (-1)-s32max
BUF_SIZE 2 ndsttable (-1)-s32max
DATA_SOURCE 0 net $0
DATA_SOURCE 2 ndsttable r xfrm_hash_alloc
DATA_SOURCE 3 nhashmask r xfrm_new_hash_mask
DATA_SOURCE 4 dir $1
FUZZY_MAX 4 dir 2
HARD_MAX 4 dir 2
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 global &hash_resize_mutex
LOCK2 0 &net->xfrm.xfrm_policy_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct netns_xfrm)->xfrm_policy_lock