Lines Matching refs:sf
93 static void kernfs_seq_stop_active(struct seq_file *sf, void *v) in kernfs_seq_stop_active() argument
95 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop_active()
99 ops->seq_stop(sf, v); in kernfs_seq_stop_active()
103 static void *kernfs_seq_start(struct seq_file *sf, loff_t *ppos) in kernfs_seq_start() argument
105 struct kernfs_open_file *of = sf->private; in kernfs_seq_start()
118 void *next = ops->seq_start(sf, ppos); in kernfs_seq_start()
121 kernfs_seq_stop_active(sf, next); in kernfs_seq_start()
132 static void *kernfs_seq_next(struct seq_file *sf, void *v, loff_t *ppos) in kernfs_seq_next() argument
134 struct kernfs_open_file *of = sf->private; in kernfs_seq_next()
138 void *next = ops->seq_next(sf, v, ppos); in kernfs_seq_next()
141 kernfs_seq_stop_active(sf, next); in kernfs_seq_next()
153 static void kernfs_seq_stop(struct seq_file *sf, void *v) in kernfs_seq_stop() argument
155 struct kernfs_open_file *of = sf->private; in kernfs_seq_stop()
158 kernfs_seq_stop_active(sf, v); in kernfs_seq_stop()
162 static int kernfs_seq_show(struct seq_file *sf, void *v) in kernfs_seq_show() argument
164 struct kernfs_open_file *of = sf->private; in kernfs_seq_show()
168 return of->kn->attr.ops->seq_show(sf, v); in kernfs_seq_show()