Searched refs:hmap (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | timer.c | 22 } hmap SEC(".maps"); 233 val = bpf_map_lookup_elem(&hmap, &key); in bpf_timer_test() 257 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2() 258 val = bpf_map_lookup_elem(&hmap, &key); in BPF_PROG2() 260 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2() 262 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2() 275 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2() 276 val = bpf_map_lookup_elem(&hmap, &key); in BPF_PROG2() 279 bpf_map_delete_elem(&hmap, &key); in BPF_PROG2() 280 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2() [all …]
|
| H A D | async_stack_depth.c | 16 } hmap SEC(".maps"); 39 elem = bpf_map_lookup_elem(&hmap, &(int){0}); in pseudo_call_check() 54 elem = bpf_map_lookup_elem(&hmap, &(int){0}); in async_call_root_check()
|
| H A D | test_spin_lock.c | 19 } hmap SEC(".maps"); 60 val = bpf_map_lookup_elem(&hmap, &key); in bpf_spin_lock_test() 62 bpf_map_update_elem(&hmap, &key, &zero, 0); in bpf_spin_lock_test() 63 val = bpf_map_lookup_elem(&hmap, &key); in bpf_spin_lock_test()
|
| H A D | timer_crash.c | 24 } hmap SEC(".maps"); 33 void *map = crash_map ? (void *)&hmap : (void *)&amap; in sys_enter()
|
| H A D | wq.c | 24 } hmap SEC(".maps"); 168 return test_hmap_elem_callback(&hmap, &key, wq_callback); in test_call_hash_sleepable()
|
| H A D | exceptions_fail.c | 27 } hmap SEC(".maps"); 101 elem = bpf_map_lookup_elem(&hmap, &(int){0}); in reject_async_callback_throw()
|
| /linux-6.15/tools/testing/selftests/hid/progs/ |
| H A D | hid.c | 456 } hmap SEC(".maps"); 479 if (bpf_map_update_elem(&hmap, key, &init, 0)) in test_inject_input_report_callback() 482 val = bpf_map_lookup_elem(&hmap, key); in test_inject_input_report_callback() 487 if (bpf_wq_init(wq, &hmap, 0) != 0) in test_inject_input_report_callback()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | reap.c | 1079 struct xfs_bmbt_irec hmap; in xreap_bmapi_binval() local 1082 error = xfs_bmapi_read(ip, off, max_off - off, &hmap, in xreap_bmapi_binval() 1086 if (nhmaps != 1 || hmap.br_startblock == DELAYSTARTBLOCK) { in xreap_bmapi_binval() 1091 if (!xfs_bmap_is_real_extent(&hmap)) in xreap_bmapi_binval() 1094 off = hmap.br_startoff + hmap.br_blockcount; in xreap_bmapi_binval()
|