Lines Matching refs:rd_req
1820 struct ceph_osd_request *rd_req = NULL, *wr_req = NULL; in __ceph_pool_perm_get() local
1888 rd_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL, in __ceph_pool_perm_get()
1890 if (!rd_req) { in __ceph_pool_perm_get()
1895 rd_req->r_flags = CEPH_OSD_FLAG_READ; in __ceph_pool_perm_get()
1896 osd_req_op_init(rd_req, 0, CEPH_OSD_OP_STAT, 0); in __ceph_pool_perm_get()
1897 rd_req->r_base_oloc.pool = pool; in __ceph_pool_perm_get()
1899 rd_req->r_base_oloc.pool_ns = ceph_get_string(pool_ns); in __ceph_pool_perm_get()
1900 ceph_oid_printf(&rd_req->r_base_oid, "%llx.00000000", ci->i_vino.ino); in __ceph_pool_perm_get()
1902 err = ceph_osdc_alloc_messages(rd_req, GFP_NOFS); in __ceph_pool_perm_get()
1915 ceph_oloc_copy(&wr_req->r_base_oloc, &rd_req->r_base_oloc); in __ceph_pool_perm_get()
1916 ceph_oid_copy(&wr_req->r_base_oid, &rd_req->r_base_oid); in __ceph_pool_perm_get()
1929 osd_req_op_raw_data_in_pages(rd_req, 0, pages, PAGE_SIZE, in __ceph_pool_perm_get()
1931 err = ceph_osdc_start_request(&fsc->client->osdc, rd_req, false); in __ceph_pool_perm_get()
1937 err = ceph_osdc_wait_request(&fsc->client->osdc, rd_req); in __ceph_pool_perm_get()
1973 ceph_osdc_put_request(rd_req); in __ceph_pool_perm_get()