Lines Matching refs:key
13 __type(key, struct my_key);
23 __type(key, int);
35 __type(key, int);
47 /* update values with key = 1 */
48 int key = 1, val = 1;
53 bpf_map_update_elem(&map2, &key, &val, 0);
54 bpf_map_update_elem(&map_weak, &key, &val, 0);
62 /* lookup values with key = 2, set in another file */
63 int key = 2, *val;
71 val = bpf_map_lookup_elem(&map2, &key);
75 val = bpf_map_lookup_elem(&map_weak, &key);