Home
last modified time | relevance | path

Searched refs:hmap (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtimer.c21 } hmap SEC(".maps");
229 val = bpf_map_lookup_elem(&hmap, &key); in bpf_timer_test()
253 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2()
254 val = bpf_map_lookup_elem(&hmap, &key); in BPF_PROG2()
256 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
258 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2()
271 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2()
272 val = bpf_map_lookup_elem(&hmap, &key); in BPF_PROG2()
275 bpf_map_delete_elem(&hmap, &key); in BPF_PROG2()
276 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2()
[all …]
H A Dtest_spin_lock.c19 } 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 Dasync_stack_depth.c16 } 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 Dtimer_crash.c24 } hmap SEC(".maps");
33 void *map = crash_map ? (void *)&hmap : (void *)&amap; in sys_enter()
/openbmc/linux/drivers/scsi/cxlflash/
H A Dmain.c1747 struct sisl_host_map __iomem *hmap; in init_global() local
1765 hmap = hwq->host_map; in init_global()
1767 writeq_be((u64) hwq->hrrq_start, &hmap->rrq_start); in init_global()
1768 writeq_be((u64) hwq->hrrq_end, &hmap->rrq_end); in init_global()
1772 writeq_be((u64)hwq->hsq_start, &hmap->sq_start); in init_global()
1773 writeq_be((u64)hwq->hsq_end, &hmap->sq_end); in init_global()