/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | lru_bug.c | 6 struct map_value { struct 14 __type(value, struct map_value); 23 struct map_value v = {}; 33 struct map_value val = {}, *v;
|
H A D | map_kptr_fail.c | 9 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 D | normal_map_btf.c | 15 struct map_value { struct 23 __type(value, struct map_value); 35 struct map_value *value;
|
H A D | map_kptr.c | 7 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 D | local_kptr_stash_fail.c | 17 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 D | preempted_bpf_ma_op.c | 14 struct map_value { struct 21 __type(value, struct map_value); 31 struct map_value *value; 49 struct map_value *value;
|
H A D | map_in_map_btf.c | 15 struct map_value { struct 23 __type(value, struct map_value); 47 struct map_value *value;
|
H A D | local_kptr_stash.c | 46 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 D | cb_refs.c | 7 struct map_value { struct 14 __type(value, struct map_value); 53 struct map_value *v;
|
H A D | linked_list.h | 22 struct map_value { struct 31 __type(value, struct map_value);
|
H A D | linked_list.c | 283 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 D | user_ringbuf_fail.c | 27 static int map_value; variable 198 bpf_dynptr_from_mem(&map_value, 4, 0, dynptr);
|
H A D | refcounted_kptr.c | 22 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 D | linked_list_fail.c | 11 struct map_value *v, *v2, *iv, *iv2; \
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | load_bytes_relative.c | 20 __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 D | ata_piix.c | 1362 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 D | hashtab.c | 791 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 D | helpers.c | 1416 BPF_CALL_2(bpf_kptr_xchg, void *, map_value, void *, ptr) 1418 unsigned long *kptr = map_value;
|