Searched refs:idx_hash (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/perf/util/bpf_skel/ |
| H A D | sample_filter.bpf.c | 31 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 D | bpf-filter.c | 24 * event->id ---> | id | ---+ idx_hash | filters 336 fd = get_pinned_fd("idx_hash"); in destroy_idx_hash() 401 fd = get_pinned_fd("idx_hash"); in create_idx_hash() 403 pr_err("cannot get fd for 'idx_hash' map\n"); in create_idx_hash() 429 pr_err("Failed to update the idx_hash\n"); in create_idx_hash() 433 pr_debug("bpf-filter: idx_hash (task=%d,%s) -> %d\n", in create_idx_hash() 685 bpf_map__set_max_entries(skel->maps.idx_hash, MAX_IDX_HASH); in perf_bpf_filter__pin() 744 if (fchmodat(dir_fd, "idx_hash", 0666, 0) < 0) { in perf_bpf_filter__pin() 745 pr_debug("chmod for idx_hash failed\n"); in perf_bpf_filter__pin()
|
| /linux/net/xfrm/ |
| H A D | xfrm_policy.c | 512 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() function 1425 list = net->xfrm.policy_byidx + idx_hash(net, idx); in xfrm_gen_index() 1606 hlist_add_head(&policy->byidx, net->xfrm.policy_byidx+idx_hash(net, policy->index)); in xfrm_policy_insert() 1727 chain = net->xfrm.policy_byidx + idx_hash(net, id); in xfrm_policy_byid()
|