Lines Matching refs:rec
166 struct reada_extctl *rec; in __readahead_hook() local
179 list_for_each_entry(rec, &list, list) { in __readahead_hook()
180 struct reada_control *rc = rec->rc; in __readahead_hook()
190 if (rec->generation != generation) { in __readahead_hook()
194 rec->generation, generation); in __readahead_hook()
197 if (rec->generation == generation && in __readahead_hook()
209 struct reada_extctl *rec; in __readahead_hook() local
211 rec = list_first_entry(&list, struct reada_extctl, list); in __readahead_hook()
212 list_del(&rec->list); in __readahead_hook()
213 rc = rec->rc; in __readahead_hook()
214 kfree(rec); in __readahead_hook()
561 struct reada_extctl *rec; in reada_add_block() local
567 rec = kzalloc(sizeof(*rec), GFP_NOFS); in reada_add_block()
568 if (!rec) { in reada_add_block()
573 rec->rc = rc; in reada_add_block()
574 rec->generation = generation; in reada_add_block()
578 list_add_tail(&rec->list, &re->extctl); in reada_add_block()