Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtimer.c21 } hmap SEC(".maps");
221 val = bpf_map_lookup_elem(&hmap, &key); in bpf_timer_test()
223 if (bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME) != 0) in bpf_timer_test()
245 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2()
246 val = bpf_map_lookup_elem(&hmap, &key); in BPF_PROG2()
248 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
250 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2()
263 bpf_map_update_elem(&hmap, &key, &init, 0); in BPF_PROG2()
264 val = bpf_map_lookup_elem(&hmap, &key); in BPF_PROG2()
266 bpf_timer_init(&val->timer, &hmap, CLOCK_BOOTTIME); in BPF_PROG2()
[all …]
Dtest_spin_lock.c18 } hmap SEC(".maps");
59 val = bpf_map_lookup_elem(&hmap, &key); in bpf_sping_lock_test()
61 bpf_map_update_elem(&hmap, &key, &zero, 0); in bpf_sping_lock_test()
62 val = bpf_map_lookup_elem(&hmap, &key); in bpf_sping_lock_test()
Dtimer_crash.c24 } hmap SEC(".maps");
33 void *map = crash_map ? (void *)&hmap : (void *)&amap; in sys_enter()
/Linux-v6.1/drivers/scsi/cxlflash/
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()