Home
last modified time | relevance | path

Searched refs:map_value (Results 1 – 20 of 20) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dmap_kptr_fail.c9 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 Dmap_kptr.c7 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 Dfree_timer.c10 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 Dlru_bug.c6 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 Dlocal_kptr_stash_fail.c17 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 Dlocal_kptr_stash.c49 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 Dpreempted_bpf_ma_op.c14 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 Dnormal_map_btf.c15 struct map_value { struct
23 __type(value, struct map_value); argument
35 struct map_value *value; in add_to_list_in_array()
H A Dmap_in_map_btf.c15 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 Dcb_refs.c7 struct map_value { struct
14 __type(value, struct map_value); argument
53 struct map_value *v; in leak_prog()
H A Dlinked_list.c296 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 Drefcounted_kptr.c22 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 Dlinked_list.h22 struct map_value { struct
31 __type(value, struct map_value); argument
H A Duser_ringbuf_fail.c27 static int map_value; variable
198 bpf_dynptr_from_mem(&map_value, 4, 0, dynptr); in try_reinit_dynptr_mem()
H A Dlinked_list_fail.c11 struct map_value *v, *v2, *iv, *iv2; \
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dload_bytes_relative.c20 __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 Dxdp_context_test_run.c163 __u8 map_value[TEST_PAYLOAD_LEN]; assert_test_result() local
/linux/drivers/ata/
H A Data_piix.c1363 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 DREADME.rst131 // 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 Dgraph_ds_impl.rst73 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