Lines Matching defs:key
22 __type(key, struct key_t);
46 struct key_t key;
53 bpf_get_current_comm(&key.comm, sizeof(key.comm));
54 key.kernstack = bpf_get_stackid(ctx, &stackmap, KERN_STACKID_FLAGS);
55 key.userstack = bpf_get_stackid(ctx, &stackmap, USER_STACKID_FLAGS);
56 if ((int)key.kernstack < 0 && (int)key.userstack < 0) {
71 val = bpf_map_lookup_elem(&counts, &key);
75 bpf_map_update_elem(&counts, &key, &one, BPF_NOEXIST);