Lines Matching refs:key
33 __type(key, struct key_t);
40 __type(key, u32);
52 __type(key, u32);
86 struct key_t key; in update_counts() local
88 __builtin_memset(&key.waker, 0, sizeof(key.waker)); in update_counts()
89 bpf_get_current_comm(&key.target, sizeof(key.target)); in update_counts()
90 key.tret = bpf_get_stackid(ctx, &stackmap, STACKID_FLAGS); in update_counts()
91 key.wret = 0; in update_counts()
95 key.wret = woke->ret; in update_counts()
96 __builtin_memcpy(&key.waker, woke->name, sizeof(key.waker)); in update_counts()
100 val = bpf_map_lookup_elem(&counts, &key); in update_counts()
102 bpf_map_update_elem(&counts, &key, &zero, BPF_NOEXIST); in update_counts()
103 val = bpf_map_lookup_elem(&counts, &key); in update_counts()