Home
last modified time | relevance | path

Searched refs:map_iter (Results 1 – 1 of 1) sorted by relevance

/kernel/bpf/
Dinode.c151 struct map_iter { struct
156 static struct map_iter *map_iter(struct seq_file *m) in map_iter() argument
166 static void map_iter_free(struct map_iter *iter) in map_iter_free()
174 static struct map_iter *map_iter_alloc(struct bpf_map *map) in map_iter_alloc()
176 struct map_iter *iter; in map_iter_alloc()
196 void *key = map_iter(m)->key; in map_seq_next()
200 if (map_iter(m)->done) in map_seq_next()
210 map_iter(m)->done = true; in map_seq_next()
219 if (map_iter(m)->done) in map_seq_start()
222 return *pos ? map_iter(m)->key : SEQ_START_TOKEN; in map_seq_start()
[all …]