Lines Matching refs:sf
135 static void kernfs_seq_stop_active(struct seq_file *sf, void *v)
137 struct kernfs_open_file *of = sf->private;
141 ops->seq_stop(sf, v);
145 static void *kernfs_seq_start(struct seq_file *sf, loff_t *ppos)
147 struct kernfs_open_file *of = sf->private;
160 void *next = ops->seq_start(sf, ppos);
163 kernfs_seq_stop_active(sf, next);
166 return single_start(sf, ppos);
169 static void *kernfs_seq_next(struct seq_file *sf, void *v, loff_t *ppos)
171 struct kernfs_open_file *of = sf->private;
175 void *next = ops->seq_next(sf, v, ppos);
178 kernfs_seq_stop_active(sf, next);
190 static void kernfs_seq_stop(struct seq_file *sf, void *v)
192 struct kernfs_open_file *of = sf->private;
195 kernfs_seq_stop_active(sf, v);
199 static int kernfs_seq_show(struct seq_file *sf, void *v)
201 struct kernfs_open_file *of = sf->private;
205 return of->kn->attr.ops->seq_show(sf, v);