Lines Matching refs:search
460 struct search { struct
484 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() argument
510 struct search *s = container_of(op, struct search, op); in cache_lookup_fn()
575 struct search *s = container_of(cl, struct search, iop.cl); in cache_lookup()
599 struct search *s = container_of(cl, struct search, cl); in request_endio()
609 static void bio_complete(struct search *s) in bio_complete()
622 static void do_bio_hook(struct search *s, struct bio *orig_bio) in do_bio_hook()
636 struct search *s = container_of(cl, struct search, cl); in search_free()
643 mempool_free(s, s->d->c->search); in search_free()
646 static inline struct search *search_alloc(struct bio *bio, in search_alloc()
649 struct search *s; in search_alloc()
651 s = mempool_alloc(d->c->search, GFP_NOIO); in search_alloc()
681 struct search *s = container_of(cl, struct search, cl); in cached_dev_bio_complete()
692 struct search *s = container_of(cl, struct search, cl); in cached_dev_cache_miss_done()
710 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error()
730 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done()
770 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done_bh()
785 static int cached_dev_cache_miss(struct btree *b, struct search *s, in cached_dev_cache_miss()
857 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
869 struct search *s = container_of(cl, struct search, cl); in cached_dev_write_complete()
876 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
947 struct search *s = container_of(cl, struct search, cl); in cached_dev_nodata()
964 struct search *s; in cached_dev_make_request()
1049 static int flash_dev_cache_miss(struct btree *b, struct search *s, in flash_dev_cache_miss()
1068 struct search *s = container_of(cl, struct search, cl); in flash_dev_nodata()
1079 struct search *s; in flash_dev_make_request()
1159 bch_search_cache = KMEM_CACHE(search, 0); in bch_request_init()