Lines Matching refs:key
18 __type(key, __u32);
25 __type(key, __u64);
35 __u32 *hmap_val, *key = ctx->key;
38 if (key == (void *)0 || val == (void *)0)
41 bpf_seq_write(ctx->meta->seq, key, sizeof(__u32));
43 key_sum += *key;
46 /* workaround - It's necessary to do this convoluted (val, key)
48 * bpf_map_update_elem(&hashmap1, val, key, BPF_ANY);
49 * because key has MEM_RDONLY flag and bpf_map_update elem expects
55 *hmap_val = *key;
57 *val = *key;