Home
last modified time | relevance | path

Searched refs:idx_hash (Results 1 – 3 of 3) sorted by relevance

/linux/tools/perf/util/bpf_skel/
H A Dsample_filter.bpf.c31 struct idx_hash { struct
36 } idx_hash SEC(".maps");
237 idx = bpf_map_lookup_elem(&idx_hash, &key); in perf_sample_filter()
/linux/tools/perf/util/
H A Dbpf-filter.c653 bpf_map__set_max_entries(skel->maps.idx_hash, MAX_IDX_HASH); in perf_bpf_filter__pin()
/linux/net/xfrm/
H A Dxfrm_policy.c498 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() function
1420 list = net->xfrm.policy_byidx + idx_hash(net, idx); in xfrm_gen_index()
1598 hlist_add_head(&policy->byidx, net->xfrm.policy_byidx+idx_hash(net, policy->index)); in xfrm_policy_insert()
1719 chain = net->xfrm.policy_byidx + idx_hash(net, id); in xfrm_policy_byid()