Lines Matching refs:rbd_obj_request
286 struct rbd_obj_request { struct
340 struct rbd_obj_request *obj_request; /* obj req initiator */
643 static void rbd_obj_handle_request(struct rbd_obj_request *obj_req, int result);
1313 static void rbd_obj_zero_range(struct rbd_obj_request *obj_req, u32 off, in rbd_obj_zero_range()
1332 static void rbd_obj_request_put(struct rbd_obj_request *obj_request) in rbd_obj_request_put()
1341 struct rbd_obj_request *obj_request) in rbd_img_obj_request_add()
1351 struct rbd_obj_request *obj_request) in rbd_img_obj_request_del()
1361 struct rbd_obj_request *obj_req = osd_req->r_priv; in rbd_osd_submit()
1384 static bool rbd_obj_is_entire(struct rbd_obj_request *obj_req) in rbd_obj_is_entire()
1392 static bool rbd_obj_is_tail(struct rbd_obj_request *obj_req) in rbd_obj_is_tail()
1403 static void rbd_obj_set_copyup_enabled(struct rbd_obj_request *obj_req) in rbd_obj_set_copyup_enabled()
1429 static u64 rbd_obj_img_extents_bytes(struct rbd_obj_request *obj_req) in rbd_obj_img_extents_bytes()
1451 struct rbd_obj_request *obj_req = osd_req->r_priv; in rbd_osd_req_callback()
1472 struct rbd_obj_request *obj_request = osd_req->r_priv; in rbd_osd_format_read()
1482 struct rbd_obj_request *obj_request = osd_req->r_priv; in rbd_osd_format_write()
1490 __rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, in __rbd_obj_add_osd_request()
1525 rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, int num_ops) in rbd_obj_add_osd_request()
1532 static struct rbd_obj_request *rbd_obj_request_create(void) in rbd_obj_request_create()
1534 struct rbd_obj_request *obj_request; in rbd_obj_request_create()
1551 struct rbd_obj_request *obj_request; in rbd_obj_request_destroy()
1555 obj_request = container_of(kref, struct rbd_obj_request, kref); in rbd_obj_request_destroy()
1684 struct rbd_obj_request *obj_request; in rbd_img_request_destroy()
1685 struct rbd_obj_request *next_obj_request; in rbd_img_request_destroy()
2013 static int rbd_object_map_update_finish(struct rbd_obj_request *obj_req, in rbd_object_map_update_finish()
2060 struct rbd_obj_request *obj_req = osd_req->r_priv; in rbd_object_map_callback()
2120 static int rbd_object_map_update(struct rbd_obj_request *obj_req, u64 snap_id, in rbd_object_map_update()
2198 static int rbd_obj_calc_img_extents(struct rbd_obj_request *obj_req, in rbd_obj_calc_img_extents()
2223 struct rbd_obj_request *obj_req = osd_req->r_priv; in rbd_osd_setup_data()
2270 struct rbd_obj_request *obj_req = osd_req->r_priv; in rbd_osd_setup_copyup()
2282 static int rbd_obj_init_read(struct rbd_obj_request *obj_req) in rbd_obj_init_read()
2291 struct rbd_obj_request *obj_req = osd_req->r_priv; in __rbd_osd_setup_write_ops()
2313 static int rbd_obj_init_write(struct rbd_obj_request *obj_req) in rbd_obj_init_write()
2326 static u16 truncate_or_zero_opcode(struct rbd_obj_request *obj_req) in truncate_or_zero_opcode()
2335 struct rbd_obj_request *obj_req = osd_req->r_priv; in __rbd_osd_setup_discard_ops()
2348 static int rbd_obj_init_discard(struct rbd_obj_request *obj_req) in rbd_obj_init_discard()
2393 struct rbd_obj_request *obj_req = osd_req->r_priv; in __rbd_osd_setup_zeroout_ops()
2418 static int rbd_obj_init_zeroout(struct rbd_obj_request *obj_req) in rbd_obj_init_zeroout()
2437 static int count_write_ops(struct rbd_obj_request *obj_req) in count_write_ops()
2464 struct rbd_obj_request *obj_req = osd_req->r_priv; in rbd_osd_setup_write_ops()
2488 struct rbd_obj_request *obj_req, *next_obj_req; in __rbd_img_fill_request()
2537 struct rbd_obj_request *obj_req; in alloc_object_extent()
2607 struct rbd_obj_request *obj_req; in rbd_img_fill_request()
2678 struct rbd_obj_request *obj_req = in set_bio_pos()
2679 container_of(ex, struct rbd_obj_request, ex); in set_bio_pos()
2689 struct rbd_obj_request *obj_req = in count_bio_bvecs()
2690 container_of(ex, struct rbd_obj_request, ex); in count_bio_bvecs()
2702 struct rbd_obj_request *obj_req = in copy_bio_bvecs()
2703 container_of(ex, struct rbd_obj_request, ex); in copy_bio_bvecs()
2741 struct rbd_obj_request *obj_req = in set_bvec_pos()
2742 container_of(ex, struct rbd_obj_request, ex); in set_bvec_pos()
2752 struct rbd_obj_request *obj_req = in count_bvecs()
2753 container_of(ex, struct rbd_obj_request, ex); in count_bvecs()
2763 struct rbd_obj_request *obj_req = in copy_bvecs()
2764 container_of(ex, struct rbd_obj_request, ex); in copy_bvecs()
2820 static bool rbd_obj_may_exist(struct rbd_obj_request *obj_req) in rbd_obj_may_exist()
2834 static int rbd_obj_read_object(struct rbd_obj_request *obj_req) in rbd_obj_read_object()
2856 static int rbd_obj_read_from_parent(struct rbd_obj_request *obj_req) in rbd_obj_read_from_parent()
2912 static bool rbd_obj_advance_read(struct rbd_obj_request *obj_req, int *result) in rbd_obj_advance_read()
2989 static bool rbd_obj_write_is_noop(struct rbd_obj_request *obj_req) in rbd_obj_write_is_noop()
3011 static int rbd_obj_write_pre_object_map(struct rbd_obj_request *obj_req) in rbd_obj_write_pre_object_map()
3027 static int rbd_obj_write_object(struct rbd_obj_request *obj_req) in rbd_obj_write_object()
3078 static int rbd_obj_copyup_empty_snapc(struct rbd_obj_request *obj_req, in rbd_obj_copyup_empty_snapc()
3105 static int rbd_obj_copyup_current_snapc(struct rbd_obj_request *obj_req, in rbd_obj_copyup_current_snapc()
3139 static int setup_copyup_bvecs(struct rbd_obj_request *obj_req, u64 obj_overlap) in setup_copyup_bvecs()
3172 static int rbd_obj_copyup_read_parent(struct rbd_obj_request *obj_req) in rbd_obj_copyup_read_parent()
3197 static void rbd_obj_copyup_object_maps(struct rbd_obj_request *obj_req) in rbd_obj_copyup_object_maps()
3232 static void rbd_obj_copyup_write_object(struct rbd_obj_request *obj_req) in rbd_obj_copyup_write_object()
3273 static bool rbd_obj_advance_copyup(struct rbd_obj_request *obj_req, int *result) in rbd_obj_advance_copyup()
3347 static int rbd_obj_write_post_object_map(struct rbd_obj_request *obj_req) in rbd_obj_write_post_object_map()
3362 static bool rbd_obj_advance_write(struct rbd_obj_request *obj_req, int *result) in rbd_obj_advance_write()
3449 static bool __rbd_obj_handle_request(struct rbd_obj_request *obj_req, in __rbd_obj_handle_request()
3476 static void rbd_obj_handle_request(struct rbd_obj_request *obj_req, int result) in rbd_obj_handle_request()
3561 struct rbd_obj_request *obj_req; in rbd_img_object_requests()
3668 struct rbd_obj_request *obj_req = img_req->obj_request; in rbd_img_handle_request()
7436 rbd_obj_request_cache = KMEM_CACHE(rbd_obj_request, 0); in rbd_slab_init()