Lines Matching refs:_pos
94 static struct fscache_object *fscache_objlist_lookup(loff_t *_pos) in fscache_objlist_lookup() argument
100 if (*_pos >= (unsigned long) ERR_PTR(-ENOENT)) in fscache_objlist_lookup()
102 pos = *_pos; in fscache_objlist_lookup()
107 return (struct fscache_object *)(long)++(*_pos); in fscache_objlist_lookup()
129 *_pos = (unsigned long) ERR_PTR(-ENOENT); in fscache_objlist_lookup()
131 *_pos = (unsigned long) minobj; in fscache_objlist_lookup()
138 static void *fscache_objlist_start(struct seq_file *m, loff_t *_pos) in fscache_objlist_start() argument
142 return fscache_objlist_lookup(_pos); in fscache_objlist_start()
148 static void *fscache_objlist_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_objlist_next() argument
150 (*_pos)++; in fscache_objlist_next()
151 return fscache_objlist_lookup(_pos); in fscache_objlist_next()