Lines Matching refs:search

466 struct search {  struct
491 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() argument
517 struct search *s = container_of(op, struct search, op); in cache_lookup_fn()
582 struct search *s = container_of(cl, struct search, iop.cl); in cache_lookup()
628 struct search *s = container_of(cl, struct search, cl); in request_endio()
644 struct search *s = container_of(cl, struct search, cl); in backing_request_endio()
671 static void bio_complete(struct search *s) in bio_complete()
684 static void do_bio_hook(struct search *s, in do_bio_hook()
706 struct search *s = container_of(cl, struct search, cl); in search_free()
715 mempool_free(s, &s->d->c->search); in search_free()
718 static inline struct search *search_alloc(struct bio *bio, in search_alloc()
721 struct search *s; in search_alloc()
723 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_cache_miss_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_read_done()
848 struct search *s = container_of(cl, struct search, cl); in cached_dev_read_done_bh()
863 static int cached_dev_cache_miss(struct btree *b, struct search *s, in cached_dev_cache_miss()
939 static void cached_dev_read(struct cached_dev *dc, struct search *s) in cached_dev_read()
951 struct search *s = container_of(cl, struct search, cl); in cached_dev_write_complete()
958 static void cached_dev_write(struct cached_dev *dc, struct search *s) in cached_dev_write()
1044 struct search *s = container_of(cl, struct search, cl); in cached_dev_nodata()
1154 struct search *s; in cached_dev_make_request()
1261 static int flash_dev_cache_miss(struct btree *b, struct search *s, in flash_dev_cache_miss()
1280 struct search *s = container_of(cl, struct search, cl); in flash_dev_nodata()
1291 struct search *s; in flash_dev_make_request()
1375 bch_search_cache = KMEM_CACHE(search, 0); in bch_request_init()