/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | map_kptr_fail.c | 9 struct map_value { struct 19 __type(value, struct map_value); argument 27 struct map_value *v; in size_not_bpf_dw() 42 struct map_value *v; in non_const_var_off() 61 struct map_value *v; in non_const_var_off_kptr_xchg() 80 struct map_value *v; in misaligned_access_write() 96 struct map_value *v; in misaligned_access_read() 111 struct map_value *v; in reject_var_off_store() 135 struct map_value *v; in reject_bad_type_match() 155 struct map_value *v; in marked_as_untrusted_or_null() [all …]
|
H A D | map_kptr.c | 7 struct map_value { struct 15 __type(value, struct map_value); argument 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.c | 22 struct map_value { struct 45 __type(value, struct map_value); 51 struct map_value *mapval; in create_and_stash() 78 struct map_value *mapval; in stash_plain() 100 struct map_value *mapval; in unstash_rb_node() 122 struct map_value *mapval; in stash_test_ref_kfunc()
|
H A 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()
|
H A D | local_kptr_stash_fail.c | 17 struct map_value { struct 38 __type(value, struct map_value); 46 struct map_value *mapval; in stash_rb_nodes() 69 struct map_value *mapval; in drop_rb_node_off()
|
H A D | cb_refs.c | 7 struct map_value { struct 14 __type(value, struct map_value); argument 53 struct map_value *v; in leak_prog()
|
H A D | linked_list.c | 283 struct map_value *v; in map_list_push_pop() 294 struct map_value *v; in inner_map_list_push_pop() 315 struct map_value *v; in map_list_push_pop_multiple() 326 struct map_value *v; in inner_map_list_push_pop_multiple() 352 struct map_value *v; in map_list_in_list() 363 struct map_value *v; in inner_map_list_in_list()
|
H A D | refcounted_kptr.c | 22 struct map_value { struct 29 __type(value, struct map_value); argument 109 struct map_value *mapval; in __stash_map_insert_tree() 209 struct map_value *mapval; in __read_from_unstash() 416 struct map_value *mapval = bpf_map_lookup_elem(&stashed_nodes, &idx); in __stash_map_empty_xchg() 454 struct map_value *mapval; in rbtree_wrong_owner_remove_fail_b() 477 struct map_value *mapval; in rbtree_wrong_owner_remove_fail_a2()
|
H A D | linked_list.h | 22 struct map_value { struct 31 __type(value, struct map_value); argument
|
H A D | user_ringbuf_fail.c | 27 static int map_value; variable 198 bpf_dynptr_from_mem(&map_value, 4, 0, dynptr); in try_reinit_dynptr_mem()
|
H A D | linked_list_fail.c | 11 struct map_value *v, *v2, *iv, *iv2; \
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
/openbmc/linux/drivers/ata/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | README.rst | 101 // r9 is a pointer to map_value 105 math between map_value pointer and register with unbounded min value is not allowed 114 the insn 20 undoes map_value addition. It is currently impossible for the
|
/openbmc/linux/Documentation/bpf/ |
H A D | graph_ds_impl.rst | 73 The "root" type for both linked_list and rbtree expects to be in a map_value 77 the same map_value and will enforce that the correct lock is held when
|
/openbmc/linux/kernel/bpf/ |
H A D | helpers.c | 1488 BPF_CALL_2(bpf_kptr_xchg, void *, map_value, void *, ptr) in BPF_CALL_2() argument 1490 unsigned long *kptr = map_value; in BPF_CALL_2()
|
H A D | hashtab.c | 793 void *map_value = elem->key + round_up(htab->map.key_size, 8); in check_and_free_fields() local 795 bpf_obj_free_fields(htab->map.record, map_value); in check_and_free_fields()
|