Lines Matching refs:rbd_img_request
215 struct rbd_img_request;
294 struct rbd_img_request *img_request;
330 struct rbd_img_request { struct
645 static void rbd_img_handle_request(struct rbd_img_request *img_req, int result);
1337 static inline void rbd_img_obj_request_add(struct rbd_img_request *img_request, in rbd_img_obj_request_add()
1347 static inline void rbd_img_obj_request_del(struct rbd_img_request *img_request, in rbd_img_obj_request_del()
1371 static void img_request_layered_set(struct rbd_img_request *img_request) in img_request_layered_set()
1376 static bool img_request_layered_test(struct rbd_img_request *img_request) in img_request_layered_test()
1416 static bool rbd_img_is_write(struct rbd_img_request *img_req) in rbd_img_is_write()
1630 static void rbd_img_request_init(struct rbd_img_request *img_request, in rbd_img_request_init()
1644 static void rbd_img_capture_header(struct rbd_img_request *img_req) in rbd_img_capture_header()
1659 static void rbd_img_request_destroy(struct rbd_img_request *img_request) in rbd_img_request_destroy()
2421 struct rbd_img_request *img_req = obj_req->img_request; in count_write_ops()
2468 static int __rbd_img_fill_request(struct rbd_img_request *img_req) in __rbd_img_fill_request()
2518 struct rbd_img_request *img_req = arg; in alloc_object_extent()
2541 static int rbd_img_fill_request_nocopy(struct rbd_img_request *img_req, in rbd_img_fill_request_nocopy()
2583 static int rbd_img_fill_request(struct rbd_img_request *img_req, in rbd_img_fill_request()
2645 static int rbd_img_fill_nodata(struct rbd_img_request *img_req, in rbd_img_fill_nodata()
2695 static int __rbd_img_fill_from_bio(struct rbd_img_request *img_req, in __rbd_img_fill_from_bio()
2712 static int rbd_img_fill_from_bio(struct rbd_img_request *img_req, in rbd_img_fill_from_bio()
2755 static int __rbd_img_fill_from_bvecs(struct rbd_img_request *img_req, in __rbd_img_fill_from_bvecs()
2772 static int rbd_img_fill_from_bvecs(struct rbd_img_request *img_req, in rbd_img_fill_from_bvecs()
2789 struct rbd_img_request *img_req = in rbd_img_handle_request_work()
2790 container_of(work, struct rbd_img_request, work); in rbd_img_handle_request_work()
2795 static void rbd_img_schedule(struct rbd_img_request *img_req, int result) in rbd_img_schedule()
2840 struct rbd_img_request *img_req = obj_req->img_request; in rbd_obj_read_from_parent()
2842 struct rbd_img_request *child_img_req; in rbd_obj_read_from_parent()
3433 struct rbd_img_request *img_req = obj_req->img_request; in __rbd_obj_handle_request()
3463 static bool need_exclusive_lock(struct rbd_img_request *img_req) in need_exclusive_lock()
3481 static bool rbd_lock_add_request(struct rbd_img_request *img_req) in rbd_lock_add_request()
3498 static void rbd_lock_del_request(struct rbd_img_request *img_req) in rbd_lock_del_request()
3514 static int rbd_img_exclusive_lock(struct rbd_img_request *img_req) in rbd_img_exclusive_lock()
3538 static void rbd_img_object_requests(struct rbd_img_request *img_req) in rbd_img_object_requests()
3558 static bool rbd_img_advance(struct rbd_img_request *img_req, int *result) in rbd_img_advance()
3606 static bool __rbd_img_handle_request(struct rbd_img_request *img_req, in __rbd_img_handle_request()
3635 static void rbd_img_handle_request(struct rbd_img_request *img_req, int result) in rbd_img_handle_request()
3871 struct rbd_img_request *img_req; in wake_lock_waiters()
4704 struct rbd_img_request *img_request = in rbd_queue_workfn()
4705 container_of(work, struct rbd_img_request, work); in rbd_queue_workfn()
4761 struct rbd_img_request *img_req = blk_mq_rq_to_pdu(bd->rq); in rbd_queue_rq()
4995 rbd_dev->tag_set.cmd_size = sizeof(struct rbd_img_request); in rbd_init_disk()
7326 rbd_img_request_cache = KMEM_CACHE(rbd_img_request, 0); in rbd_slab_init()