Searched refs:map_a (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dcgrp_ls_negative.c15 } map_a SEC(".maps");
23 (void)bpf_cgrp_storage_get(&map_a, (struct cgroup *)task, 0,
H A Dtask_ls_recursion.c21 } map_a SEC(".maps");
39 ptr = bpf_task_storage_get(&map_a, task, 0,
44 * the value can be found in map_a and the kernel
51 err = bpf_task_storage_delete(&map_a, task);
80 ptr = bpf_task_storage_get(&map_a, task, 0,
H A Dcgrp_ls_sleepable.c16 } map_a SEC(".maps");
37 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0,
51 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0,
110 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE);
121 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE);
H A Dcgrp_ls_tp_btf.c15 } map_a SEC(".maps");
42 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0,
48 err = bpf_cgrp_storage_delete(&map_a, cgrp);
53 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, 0);
58 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0,
94 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0,
H A Drcu_read_lock.c17 } map_a SEC(".maps");
66 ptr = bpf_task_storage_get(&map_a, real_parent, &init_val,
70 ptr = bpf_task_storage_get(&map_a, real_parent, 0, 0);
87 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0);
104 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0);
120 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0);
139 (void)bpf_task_storage_get(&map_a, real_parent, 0, 0);
166 (void)bpf_task_storage_get(&map_a, gparent, 0, 0);
181 (void)bpf_task_storage_get(&map_a, task, 0, 0);
195 (void)bpf_task_storage_get(&map_a, tas
[all...]
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);
67 ptr = bpf_cgrp_storage_get(&map_a, cgrp, 0, BPF_LOCAL_STORAGE_GET_F_CREATE);
/linux-master/tools/perf/util/
H A Dmaps.c303 const struct map *map_a = *(const struct map * const *)a; local
305 u64 map_a_start = map__start(map_a);
309 u64 map_a_end = map__end(map_a);
314 if (RC_CHK_ACCESS(map_a) == RC_CHK_ACCESS(map_b))
316 return (intptr_t)RC_CHK_ACCESS(map_a) > (intptr_t)RC_CHK_ACCESS(map_b)
345 const struct map *map_a = *(const struct map * const *)a; local
347 const struct dso *dso_a = map__dso(map_a);
351 if (ret == 0 && RC_CHK_ACCESS(map_a) != RC_CHK_ACCESS(map_b)) {
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtask_local_storage.c109 map_fd = bpf_map__fd(skel->maps.map_a);
111 ASSERT_OK(err, "lookup map_a");
112 ASSERT_EQ(value, 201, "map_a value");

Completed in 128 milliseconds