Lines Matching refs:search

468 struct search {  struct
493 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() argument
519 struct search *s = container_of(op, struct search, op); in cache_lookup_fn()
584 struct search *s = container_of(cl, struct search, iop.cl); in cache_lookup()
630 struct search *s = container_of(cl, struct search, cl); in request_endio()
646 struct search *s = container_of(cl, struct search, cl); in backing_request_endio()
673 static void bio_complete(struct search *s) in bio_complete()
686 static void do_bio_hook(struct search *s, in do_bio_hook()
708 struct search *s = container_of(cl, struct search, cl); in search_free()
717 mempool_free(s, &s->iop.c->search); in search_free()
720 static inline struct search *search_alloc(struct bio *bio, in search_alloc()
723 struct search *s; in search_alloc()
725 s = mempool_alloc(&d->c->search, GFP_NOIO); in search_alloc()
757 struct search *s = container_of(cl, struct search, cl); in cached_dev_bio_complete()
768 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error_done()
781 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error()
809 struct search *s = container_of(cl, struct search, cl); in cached_dev_cache_miss_done()
824 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done()
866 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done_bh()
881 static int cached_dev_cache_miss(struct btree *b, struct search *s, in cached_dev_cache_miss()
957 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
969 struct search *s = container_of(cl, struct search, cl); in cached_dev_write_complete()
976 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
1062 struct search *s = container_of(cl, struct search, cl); in cached_dev_nodata()
1172 struct search *s; in cached_dev_make_request()
1282 static int flash_dev_cache_miss(struct btree *b, struct search *s, in flash_dev_cache_miss()
1301 struct search *s = container_of(cl, struct search, cl); in flash_dev_nodata()
1312 struct search *s; in flash_dev_make_request()
1396 bch_search_cache = KMEM_CACHE(search, 0); in bch_request_init()