Home
last modified time | relevance | path

Searched refs:hash_map (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_lookup_and_delete.c15 } hash_map SEC(".maps");
21 bpf_map_update_elem(&hash_map, &set_key, &set_value, BPF_NOEXIST); in bpf_lookup_and_delete_test()
Dfreplace_attach_probe.c21 } hash_map SEC(".maps");
29 val = bpf_map_lookup_elem(&hash_map, &key); in new_handle_kprobe()
Dtest_hash_large_key.c13 } hash_map SEC(".maps");
39 if (bpf_map_update_elem(&hash_map, key, &value, BPF_ANY)) in bpf_hash_large_key_test()
Dtest_map_lock.c19 } hash_map SEC(".maps");
41 val = bpf_map_lookup_elem(&hash_map, &key); in bpf_map_lock_test()
/Linux-v5.15/samples/bpf/
Dmap_perf_test_kern.c24 } hash_map SEC(".maps");
112 bpf_map_update_elem(&hash_map, &key, &init_val, BPF_ANY); in SYSCALL()
113 value = bpf_map_lookup_elem(&hash_map, &key); in SYSCALL()
115 bpf_map_delete_elem(&hash_map, &key); in SYSCALL()
272 value = bpf_map_lookup_elem(&hash_map, &key); in SYSCALL()
Dsockex2_kern.c198 } hash_map SEC(".maps");
211 value = bpf_map_lookup_elem(&hash_map, &key); in bpf_prog2()
218 bpf_map_update_elem(&hash_map, &key, &val, BPF_ANY); in bpf_prog2()
Dsockex3_kern.c123 } hash_map SEC(".maps");
130 value = bpf_map_lookup_elem(&hash_map, &key); in update_stats()
137 bpf_map_update_elem(&hash_map, &key, &val, BPF_ANY); in update_stats()
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dlookup_and_delete.c54 err = bpf_map__set_type(skel->maps.hash_map, map_type); in setup_prog()
58 err = bpf_map__set_max_entries(skel->maps.hash_map, MAX_ENTRIES); in setup_prog()
66 *map_fd = bpf_map__fd(skel->maps.hash_map); in setup_prog()
Dhash_large_key.c22 hash_map_fd = bpf_map__fd(skel->maps.hash_map); in test_hash_large_key()
/Linux-v5.15/fs/
Dio_uring.c447 struct io_wq_hash *hash_map; member
8534 hash = ctx->hash_map; in io_init_wq_offload()
8543 ctx->hash_map = hash; in io_init_wq_offload()
9300 if (ctx->hash_map) in io_ring_ctx_free()
9301 io_wq_put_hash(ctx->hash_map); in io_ring_ctx_free()