Lines Matching refs:next_key
46 struct hist_key key = {}, next_key;
55 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) {
56 if (memcmp(&next_key, task, SIZE)) {
57 key = next_key;
60 bpf_map_lookup_elem(fd, &next_key, values);
64 ind = next_key.index;
70 key = next_key;
85 struct hist_key key = {}, next_key;
90 while (bpf_map_get_next_key(fd, &key, &next_key) == 0) {
94 if (memcmp(&tasks[i], &next_key, SIZE) == 0)
97 memcpy(&tasks[task_cnt++], &next_key, SIZE);
98 key = next_key;
120 long key, next_key, value;
176 while (bpf_map_get_next_key(map_fd[0], &key, &next_key) == 0) {
177 bpf_map_lookup_elem(map_fd[0], &next_key, &value);
178 printf("location 0x%lx count %ld\n", next_key, value);
179 key = next_key;