Lines Matching refs:map_iter
172 struct map_iter { struct
177 static struct map_iter *map_iter(struct seq_file *m) in map_iter() argument
187 static void map_iter_free(struct map_iter *iter) in map_iter_free()
195 static struct map_iter *map_iter_alloc(struct bpf_map *map) in map_iter_alloc()
197 struct map_iter *iter; in map_iter_alloc()
217 void *key = map_iter(m)->key; in map_seq_next()
221 if (map_iter(m)->done) in map_seq_next()
231 map_iter(m)->done = true; in map_seq_next()
240 if (map_iter(m)->done) in map_seq_start()
243 return *pos ? map_iter(m)->key : SEQ_START_TOKEN; in map_seq_start()
253 void *key = map_iter(m)->key; in map_seq_show()
275 struct map_iter *iter; in bpffs_map_open()
299 map_iter_free(map_iter(m)); in bpffs_map_release()