Lines Matching refs:search

454 struct search {  struct
478 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() argument
504 struct search *s = container_of(op, struct search, op); in cache_lookup_fn()
569 struct search *s = container_of(cl, struct search, iop.cl); in cache_lookup()
591 struct search *s = container_of(cl, struct search, cl); in request_endio()
601 static void bio_complete(struct search *s) in bio_complete()
613 static void do_bio_hook(struct search *s, struct bio *orig_bio) in do_bio_hook()
627 struct search *s = container_of(cl, struct search, cl); in search_free()
634 mempool_free(s, s->d->c->search); in search_free()
637 static inline struct search *search_alloc(struct bio *bio, in search_alloc()
640 struct search *s; in search_alloc()
642 s = mempool_alloc(d->c->search, GFP_NOIO); in search_alloc()
672 struct search *s = container_of(cl, struct search, cl); in cached_dev_bio_complete()
683 struct search *s = container_of(cl, struct search, cl); in cached_dev_cache_miss_done()
701 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error()
721 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done()
761 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done_bh()
776 static int cached_dev_cache_miss(struct btree *b, struct search *s, in cached_dev_cache_miss()
848 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
860 struct search *s = container_of(cl, struct search, cl); in cached_dev_write_complete()
867 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
938 struct search *s = container_of(cl, struct search, cl); in cached_dev_nodata()
954 struct search *s; in cached_dev_make_request()
1037 static int flash_dev_cache_miss(struct btree *b, struct search *s, in flash_dev_cache_miss()
1056 struct search *s = container_of(cl, struct search, cl); in flash_dev_nodata()
1066 struct search *s; in flash_dev_make_request()
1144 bch_search_cache = KMEM_CACHE(search, 0); in bch_request_init()