Home
last modified time | relevance | path

Searched refs:map_a (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Drcu_read_lock.c27 } map_a SEC(".maps");
77 ptr = bpf_task_storage_get(&map_a, real_parent, &init_val, in task_succ()
81 ptr = bpf_task_storage_get(&map_a, real_parent, 0, 0); in no_lock()
98 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0); in two_regions()
115 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0); in non_sleepable_1()
131 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0); in non_sleepable_2()
150 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0); in task_acquire()
177 (void)bpf_task_storage_get(&map_a, gparent, 0, 0); in miss_lock()
192 (void)bpf_task_storage_get(&map_a, task, 0, 0); in miss_unlock()
206 (void)bpf_task_storage_get(&map_a, tas in non_sleepable_rcu_mismatch()
[all...]
H A Dcgrp_ls_tp_btf.c15 } map_a SEC(".maps");
42 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in __on_enter()
48 err = bpf_cgrp_storage_delete(&map_a, cgrp); in __on_enter()
53 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, 0); in __on_enter()
58 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in __on_enter()
94 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, in __on_exit()
H A Dtask_ls_recursion.c21 } map_a SEC(".maps");
40 ptr = bpf_task_storage_get(&map_a, task, 0, in BPF_PROG()
46 err = bpf_task_storage_delete(&map_a, task); in BPF_PROG()
70 ptr = bpf_task_storage_get(&map_a, task, 0,
H A Dcgrp_ls_recursion.c15 } map_a SEC(".maps");
34 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in __on_update()
67 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE); in __on_enter()
H A Dcgrp_ls_negative.c15 } map_a SEC(".maps");
23 (void)bpf_cgrp_storage_get(&map_a, (struct cgroup *)task, 0, in BPF_PROG()
/linux/tools/perf/util/
H A Dmaps.c320 const struct map *map_a = *(const struct map * const *)a; in map__start_cmp() local
322 u64 map_a_start = map__start(map_a); in map__start_cmp()
326 u64 map_a_end = map__end(map_a); in map__start_cmp()
331 if (RC_CHK_ACCESS(map_a) == RC_CHK_ACCESS(map_b)) in map__start_cmp()
333 return (intptr_t)RC_CHK_ACCESS(map_a) > (intptr_t)RC_CHK_ACCESS(map_b) in map__start_cmp()
362 const struct map *map_a = *(const struct map * const *)a; in map__strcmp() local
364 const struct dso *dso_a = map__dso(map_a); in map__strcmp()
368 if (ret == 0 && RC_CHK_ACCESS(map_a) != RC_CHK_ACCESS(map_b)) { in map__strcmp()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtask_local_storage.c117 map_fd = bpf_map__fd(skel->maps.map_a); in test_recursion()
119 ASSERT_OK(err, "lookup map_a"); in test_recursion()
120 ASSERT_EQ(value, 200, "map_a value"); in test_recursion()