Searched refs:key_malloc (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | timer.c | 219 int key = HTAB, key_malloc = HTAB_MALLOC; in bpf_timer_test() local 228 val = bpf_map_lookup_elem(&hmap_malloc, &key_malloc); in bpf_timer_test() 242 int key = HTAB, key_malloc = HTAB_MALLOC; in BPF_PROG2() local 252 bpf_map_update_elem(&hmap_malloc, &key_malloc, &init, 0); in BPF_PROG2() 253 val = bpf_map_lookup_elem(&hmap_malloc, &key_malloc); in BPF_PROG2() 257 bpf_map_update_elem(&hmap_malloc, &key_malloc, &init, 0); in BPF_PROG2() 274 key_malloc = 0; in BPF_PROG2() 275 bpf_map_update_elem(&hmap_malloc, &key_malloc, &init, 0); in BPF_PROG2() 276 val = bpf_map_lookup_elem(&hmap_malloc, &key_malloc); in BPF_PROG2() 279 bpf_map_delete_elem(&hmap_malloc, &key_malloc); in BPF_PROG2() [all …]
|