Searched refs:idx_hash (Results 1 – 3 of 3) sorted by relevance
31 struct idx_hash { struct36 } idx_hash SEC(".maps");237 idx = bpf_map_lookup_elem(&idx_hash, &key); in perf_sample_filter()
653 bpf_map__set_max_entries(skel->maps.idx_hash, MAX_IDX_HASH); in perf_bpf_filter__pin()
498 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() function1420 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()