Searched refs:map_value (Results 1 - 18 of 18) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dlru_bug.c6 struct map_value { struct
14 __type(value, struct map_value);
23 struct map_value v = {};
33 struct map_value val = {}, *v;
H A Dmap_kptr_fail.c9 struct map_value { struct
19 __type(value, struct map_value);
27 struct map_value *v;
42 struct map_value *v;
61 struct map_value *v;
80 struct map_value *v;
96 struct map_value *v;
111 struct map_value *v;
135 struct map_value *v;
155 struct map_value *
[all...]
H A Dnormal_map_btf.c15 struct map_value { struct
23 __type(value, struct map_value);
35 struct map_value *value;
H A Dmap_kptr.c7 struct map_value { struct
15 __type(value, struct map_value);
22 __type(value, struct map_value);
29 __type(value, struct map_value);
36 __type(value, struct map_value);
43 __type(value, struct map_value);
51 __type(value, struct map_value);
59 __type(value, struct map_value);
66 __type(value, struct map_value);
74 __type(value, struct map_value);
[all...]
H A Dlocal_kptr_stash_fail.c17 struct map_value { struct
27 * no struct. Example BTF of "node" field in map_value when not included:
38 __type(value, struct map_value);
46 struct map_value *mapval;
69 struct map_value *mapval;
H A Dpreempted_bpf_ma_op.c14 struct map_value { struct
21 __type(value, struct map_value);
31 struct map_value *value;
49 struct map_value *value;
H A Dmap_in_map_btf.c15 struct map_value { struct
23 __type(value, struct map_value);
47 struct map_value *value;
H A Dlocal_kptr_stash.c46 struct map_value { struct
56 * no struct. Example BTF of "node" field in map_value when not included:
71 __type(value, struct map_value);
88 struct map_value *mapval;
115 struct map_value *mapval;
138 struct map_value *mapval;
172 struct map_value *mapval;
194 struct map_value *mapval;
H A Dcb_refs.c7 struct map_value { struct
14 __type(value, struct map_value);
53 struct map_value *v;
H A Dlinked_list.h22 struct map_value { struct
31 __type(value, struct map_value);
H A Dlinked_list.c283 struct map_value *v;
294 struct map_value *v;
315 struct map_value *v;
326 struct map_value *v;
352 struct map_value *v;
363 struct map_value *v;
H A Duser_ringbuf_fail.c27 static int map_value; variable
198 bpf_dynptr_from_mem(&map_value, 4, 0, dynptr);
H A Drefcounted_kptr.c22 struct map_value { struct
29 __type(value, struct map_value);
109 struct map_value *mapval;
209 struct map_value *mapval;
416 struct map_value *mapval = bpf_map_lookup_elem(&stashed_nodes, &idx);
454 struct map_value *mapval;
477 struct map_value *mapval;
H A Dlinked_list_fail.c11 struct map_value *v, *v2, *iv, *iv2; \
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dload_bytes_relative.c20 __u32 map_value = 0; local
57 err = bpf_map_lookup_elem(map_fd, &map_key, &map_value);
61 CHECK(map_value != 1, "bpf", "bpf program returned failure");
/linux-master/drivers/ata/
H A Data_piix.c1362 u8 map_value; local
1366 pci_read_config_byte(pdev, ICH5_PMR, &map_value);
1368 map = map_db->map[map_value & map_db->mask];
1398 dev_err(&pdev->dev, "invalid MAP value %u\n", map_value);
/linux-master/kernel/bpf/
H A Dhashtab.c791 void *map_value = elem->key + round_up(htab->map.key_size, 8); local
793 bpf_obj_free_fields(htab->map.record, map_value);
H A Dhelpers.c1416 BPF_CALL_2(bpf_kptr_xchg, void *, map_value, void *, ptr)
1418 unsigned long *kptr = map_value;

Completed in 262 milliseconds