Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/xfrm/xfrm_state.c xfrm_hash_resize() -> xfrm_hash_alloc()

Type Parameter Key Value
DATA_SOURCE 0 sz r xfrm_hash_new_size
HALF_LOCKED2 &pool->lock

net/xfrm/xfrm_state.c xfrm_hash_resize() -> xfrm_hash_alloc()

Type Parameter Key Value
DATA_SOURCE 0 sz r xfrm_hash_new_size
UNITS 0 sz unit_byte
HALF_LOCKED2 &pool->lock

net/xfrm/xfrm_state.c xfrm_hash_resize() -> xfrm_hash_alloc()

Type Parameter Key Value
DATA_SOURCE 0 sz r xfrm_hash_new_size
UNITS 0 sz unit_byte
HALF_LOCKED2 &pool->lock

net/xfrm/xfrm_state.c xfrm_hash_resize() -> xfrm_hash_alloc()

Type Parameter Key Value
DATA_SOURCE 0 sz r xfrm_hash_new_size
UNITS 0 sz unit_byte
HALF_LOCKED2 &pool->lock

net/xfrm/xfrm_state.c xfrm_state_init() -> xfrm_hash_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sz 64
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

net/xfrm/xfrm_state.c xfrm_state_init() -> xfrm_hash_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sz 64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sz unit_byte
LOCK2 global &pernet_ops_rwsem

net/xfrm/xfrm_state.c xfrm_state_init() -> xfrm_hash_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sz 64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sz unit_byte
LOCK2 global &pernet_ops_rwsem

net/xfrm/xfrm_state.c xfrm_state_init() -> xfrm_hash_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sz 64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sz unit_byte
LOCK2 global &pernet_ops_rwsem

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

Type Parameter Key Value
LOCK2 global &hash_resize_mutex
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 sz 16-384
CAPPED_DATA 0 sz 1
LOCK2 global &hash_resize_mutex
HALF_LOCKED2 &pool->lock

net/xfrm/xfrm_policy.c xfrm_policy_init() -> xfrm_hash_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sz 64
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

net/xfrm/xfrm_policy.c xfrm_policy_init() -> xfrm_hash_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sz 64
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sz unit_byte
LOCK2 global &pernet_ops_rwsem