Searched refs:map_value (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | map_kptr_fail.c | 7 struct map_value { struct 17 __type(value, struct map_value); argument 28 struct map_value *v; in size_not_bpf_dw() 42 struct map_value *v; in non_const_var_off() 60 struct map_value *v; in non_const_var_off_kptr_xchg() 78 struct map_value *v; in misaligned_access_write() 93 struct map_value *v; in misaligned_access_read() 107 struct map_value *v; in reject_var_off_store() 130 struct map_value *v; in reject_bad_type_match() 149 struct map_value *v; in marked_as_untrusted_or_null() [all …]
|
D | map_kptr.c | 6 struct map_value { struct 14 __type(value, struct map_value); argument 21 __type(value, struct map_value); 28 __type(value, struct map_value); 36 __type(value, struct map_value); 65 static void test_kptr_unref(struct map_value *v) in test_kptr_unref() 82 static void test_kptr_ref(struct map_value *v) in test_kptr_ref() 119 static void test_kptr_get(struct map_value *v) in test_kptr_get() 133 static void test_kptr(struct map_value *v) in test_kptr() 143 struct map_value *v; in test_map_kptr() [all …]
|
D | lru_bug.c | 6 struct map_value { struct 14 __type(value, struct map_value); argument 23 struct map_value v = {}; in printk() 33 struct map_value val = {}, *v; in nanosleep()
|
D | cb_refs.c | 6 struct map_value { struct 13 __type(value, struct map_value); argument 54 struct map_value *v; in leak_prog()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | load_bytes_relative.c | 20 __u32 map_value = 0; in test_load_bytes_relative() local 57 err = bpf_map_lookup_elem(map_fd, &map_key, &map_value); in test_load_bytes_relative() 61 CHECK(map_value != 1, "bpf", "bpf program returned failure"); in test_load_bytes_relative()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | README.rst | 60 // r9 is a pointer to map_value 64 math between map_value pointer and register with unbounded min value is not allowed 73 the insn 20 undoes map_value addition. It is currently impossible for the
|
/linux-6.1.9/drivers/ata/ |
D | ata_piix.c | 1362 u8 map_value; in piix_init_sata_map() local 1366 pci_read_config_byte(pdev, ICH5_PMR, &map_value); in piix_init_sata_map() 1368 map = map_db->map[map_value & map_db->mask]; in piix_init_sata_map() 1398 dev_err(&pdev->dev, "invalid MAP value %u\n", map_value); in piix_init_sata_map()
|
/linux-6.1.9/kernel/bpf/ |
D | helpers.c | 1372 BPF_CALL_2(bpf_kptr_xchg, void *, map_value, void *, ptr) in BPF_CALL_2() argument 1374 unsigned long *kptr = map_value; in BPF_CALL_2()
|
D | hashtab.c | 765 void *map_value = elem->key + round_up(htab->map.key_size, 8); in check_and_free_fields() local 768 bpf_timer_cancel_and_free(map_value + htab->map.timer_off); in check_and_free_fields() 770 bpf_map_free_kptrs(&htab->map, map_value); in check_and_free_fields()
|
D | syscall.c | 587 void bpf_map_free_kptrs(struct bpf_map *map, void *map_value) in bpf_map_free_kptrs() argument 597 btf_id_ptr = map_value + off_desc->offset; in bpf_map_free_kptrs()
|
/linux-6.1.9/include/linux/ |
D | bpf.h | 1728 void bpf_map_free_kptrs(struct bpf_map *map, void *map_value);
|