Lines Matching refs:key
34 __type(key, struct key_t);
41 __type(key, u32);
53 __type(key, u32);
87 struct key_t key; in update_counts() local
89 __builtin_memset(&key.waker, 0, sizeof(key.waker)); in update_counts()
90 bpf_get_current_comm(&key.target, sizeof(key.target)); in update_counts()
91 key.tret = bpf_get_stackid(ctx, &stackmap, STACKID_FLAGS); in update_counts()
92 key.wret = 0; in update_counts()
96 key.wret = woke->ret; in update_counts()
97 __builtin_memcpy(&key.waker, woke->name, sizeof(key.waker)); in update_counts()
101 val = bpf_map_lookup_elem(&counts, &key); in update_counts()
103 bpf_map_update_elem(&counts, &key, &zero, BPF_NOEXIST); in update_counts()
104 val = bpf_map_lookup_elem(&counts, &key); in update_counts()