Home
last modified time | relevance | path

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

/kernel/bpf/
Dinode.c174 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()
[all …]
DMakefile9 obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o bpf_iter.o map_iter.o ta…