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()
703 struct search *s = container_of(cl, struct search, cl); in search_free()
712 mempool_free(s, &s->iop.c->search); in search_free()
715 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()
754 struct search *s = container_of(cl, struct search, cl); in cached_dev_bio_complete()
765 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error_done()
778 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_error()
806 struct search *s = container_of(cl, struct search, cl); in cached_dev_cache_miss_done()
821 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done()
863 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done_bh()
878 static int cached_dev_cache_miss(struct btree *b, struct search *s, in cached_dev_cache_miss()
948 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
960 struct search *s = container_of(cl, struct search, cl); in cached_dev_write_complete()
967 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
1053 struct search *s = container_of(cl, struct search, cl); in cached_dev_nodata()
1172 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()
1340 bch_search_cache = KMEM_CACHE(search, 0); in bch_request_init()