Lines Matching refs:map_iter
174 struct map_iter { struct
179 static struct map_iter *map_iter(struct seq_file *m) in map_iter() argument
189 static void map_iter_free(struct map_iter *iter) in map_iter_free()
197 static struct map_iter *map_iter_alloc(struct bpf_map *map) in map_iter_alloc()
199 struct map_iter *iter; in map_iter_alloc()
219 void *key = map_iter(m)->key; in map_seq_next()
223 if (map_iter(m)->done) in map_seq_next()
233 map_iter(m)->done = true; in map_seq_next()
242 if (map_iter(m)->done) in map_seq_start()
245 return *pos ? map_iter(m)->key : SEQ_START_TOKEN; in map_seq_start()
255 void *key = map_iter(m)->key; in map_seq_show()
277 struct map_iter *iter; in bpffs_map_open()
301 map_iter_free(map_iter(m)); in bpffs_map_release()