Lines Matching refs:search
463 struct search { struct
489 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() argument
515 struct search *s = container_of(op, struct search, op); in cache_lookup_fn()
580 struct search *s = container_of(cl, struct search, iop.cl); in cache_lookup()
626 struct search *s = container_of(cl, struct search, cl); in request_endio()
642 struct search *s = container_of(cl, struct search, cl); in backing_request_endio()
669 static void bio_complete(struct search *s) in bio_complete()
682 static void do_bio_hook(struct search *s, in do_bio_hook()
704 struct search *s = container_of(cl, struct search, cl); in search_free()
713 mempool_free(s, &s->iop.c->search); in search_free()
716 static inline struct search *search_alloc(struct bio *bio, in search_alloc()
719 struct search *s; in search_alloc()
721 s = mempool_alloc(&d->c->search, GFP_NOIO); in search_alloc()
753 struct search *s = container_of(cl, struct search, cl); in cached_dev_bio_complete()
764 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error_done()
777 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error()
805 struct search *s = container_of(cl, struct search, cl); in cached_dev_cache_miss_done()
820 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done()
862 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done_bh()
877 static int cached_dev_cache_miss(struct btree *b, struct search *s, in cached_dev_cache_miss()
953 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
965 struct search *s = container_of(cl, struct search, cl); in cached_dev_write_complete()
972 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
1058 struct search *s = container_of(cl, struct search, cl); in cached_dev_nodata()
1175 struct search *s; in cached_dev_submit_bio()
1251 static int flash_dev_cache_miss(struct btree *b, struct search *s, in flash_dev_cache_miss()
1270 struct search *s = container_of(cl, struct search, cl); in flash_dev_nodata()
1280 struct search *s; in flash_dev_submit_bio()
1341 bch_search_cache = KMEM_CACHE(search, 0); in bch_request_init()