Defined in 1 files as a struct:
Defined in 1 files as a function:
Referenced in 3 files:
- net/xfrm/xfrm_policy.c
- tools/perf/util/bpf-filter.c, line 685
- tools/perf/util/bpf_skel/sample_filter.bpf.c
Smatch caller information:
net/xfrm/xfrm_policy.c xfrm_gen_index() -> idx_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1-u32max |
| DATA_SOURCE | 0 | net | $0 |
| FUZZY_MAX | 1 | index | 8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | index | 1-u32max |
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | &net->xfrm.xfrm_policy_lock | |
| TYPE_LOCK | (struct netns_xfrm)->xfrm_policy_lock |
net/xfrm/xfrm_policy.c xfrm_policy_byid() -> idx_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | index | $5 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | index | 1-u32max |
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | &net->xfrm.xfrm_policy_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_policy_lock |
net/xfrm/xfrm_policy.c xfrm_policy_insert() -> idx_hash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | index | 1-u32max[c] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | &net->xfrm.xfrm_policy_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_policy_lock |