| /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 | free_timer.c | 10 struct map_value { struct 17 __type(value, struct map_value); argument 21 static int timer_cb(void *map, void *key, struct map_value *value) in timer_cb() 33 struct map_value *value; in start_cb() 49 struct map_value zero = {}; in overwrite_cb()
|
| 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 | local_kptr_stash.c | 49 struct map_value { struct 74 __type(value, struct map_value); 92 struct map_value *mapval; in create_and_stash() 133 struct map_value *mapval; in stash_plain() 156 struct map_value *mapval; in stash_local_with_root() 191 struct map_value *mapval; in unstash_rb_node() 220 struct map_value *mapval; in stash_test_ref_kfunc()
|
| H A D | preempted_bpf_ma_op.c | 14 struct map_value { struct 21 __type(value, struct map_value); argument 31 struct map_value *value; in del_array() 49 struct map_value *value; in add_array()
|
| H A D | normal_map_btf.c | 15 struct map_value { struct 23 __type(value, struct map_value); argument 35 struct map_value *value; in add_to_list_in_array()
|
| H A D | map_in_map_btf.c | 15 struct map_value { struct 23 __type(value, struct map_value); argument 47 struct map_value *value; in add_to_list_in_inner_array()
|
| 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 | 296 struct map_value *v; in map_list_push_pop() 307 struct map_value *v; in inner_map_list_push_pop() 354 struct map_value *v; in map_list_push_pop_multiple() 365 struct map_value *v; in inner_map_list_push_pop_multiple() 391 struct map_value *v; in map_list_in_list() 402 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() 608 __type(value, struct map_value); 615 struct map_value *v;
|
| 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; \
|
| /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()
|
| H A D | xdp_context_test_run.c | 163 __u8 map_value[TEST_PAYLOAD_LEN]; assert_test_result() local
|
| /linux/drivers/ata/ |
| H A D | ata_piix.c | 1363 u8 map_value; in piix_init_sata_map() local 1367 pci_read_config_byte(pdev, ICH5_PMR, &map_value); in piix_init_sata_map() 1369 map = map_db->map[map_value & map_db->mask]; in piix_init_sata_map() 1399 dev_err(&pdev->dev, "invalid MAP value %u\n", map_value); in piix_init_sata_map()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | README.rst | 131 // r9 is a pointer to map_value 135 math between map_value pointer and register with unbounded min value is not allowed 144 the insn 20 undoes map_value addition. It is currently impossible for the
|
| /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
|