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()
720 struct search *s; in search_alloc()
722 s = mempool_alloc(&d->c->search, GFP_NOIO); in search_alloc()
755 struct search *s = container_of(cl, struct search, cl); in cached_dev_bio_complete()
766 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error_done()
779 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error()
807 struct search *s = container_of(cl, struct search, cl); in cached_dev_cache_miss_done()
822 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done()
864 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done_bh()
879 static int cached_dev_cache_miss(struct btree *b, struct search *s, in cached_dev_cache_miss()
950 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
962 struct search *s = container_of(cl, struct search, cl); in cached_dev_write_complete()
969 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
1055 struct search *s = container_of(cl, struct search, cl); in cached_dev_nodata()
1168 struct search *s; in cached_dev_submit_bio()
1247 static int flash_dev_cache_miss(struct btree *b, struct search *s, in flash_dev_cache_miss()
1266 struct search *s = container_of(cl, struct search, cl); in flash_dev_nodata()
1276 struct search *s; in flash_dev_submit_bio()
1336 bch_search_cache = KMEM_CACHE(search, 0); in bch_request_init()