Lines Matching refs:next_key
45 struct hist_key key = {}, next_key;
54 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) {
55 if (memcmp(&next_key, task, SIZE)) {
56 key = next_key;
59 bpf_map_lookup_elem(fd, &next_key, values);
63 ind = next_key.index;
69 key = next_key;
84 struct hist_key key = {}, next_key;
89 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) {
93 if (memcmp(&tasks[i], &next_key, SIZE) == 0)
96 memcpy(&tasks[task_cnt++], &next_key, SIZE);
97 key = next_key;
118 long key, next_key, value;
170 while (bpf_map_get_next_key(map_fd[0], &key, &next_key) == 0) {
171 bpf_map_lookup_elem(map_fd[0], &next_key, &value);
172 printf("location 0x%lx count %ld\n", next_key, value);
173 key = next_key;