Lines Matching refs:rd_req
1795 struct ceph_osd_request *rd_req = NULL, *wr_req = NULL; in __ceph_pool_perm_get() local
1863 rd_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL, in __ceph_pool_perm_get()
1865 if (!rd_req) { in __ceph_pool_perm_get()
1870 rd_req->r_flags = CEPH_OSD_FLAG_READ; in __ceph_pool_perm_get()
1871 osd_req_op_init(rd_req, 0, CEPH_OSD_OP_STAT, 0); in __ceph_pool_perm_get()
1872 rd_req->r_base_oloc.pool = pool; in __ceph_pool_perm_get()
1874 rd_req->r_base_oloc.pool_ns = ceph_get_string(pool_ns); in __ceph_pool_perm_get()
1875 ceph_oid_printf(&rd_req->r_base_oid, "%llx.00000000", ci->i_vino.ino); in __ceph_pool_perm_get()
1877 err = ceph_osdc_alloc_messages(rd_req, GFP_NOFS); in __ceph_pool_perm_get()
1890 ceph_oloc_copy(&wr_req->r_base_oloc, &rd_req->r_base_oloc); in __ceph_pool_perm_get()
1891 ceph_oid_copy(&wr_req->r_base_oid, &rd_req->r_base_oid); in __ceph_pool_perm_get()
1904 osd_req_op_raw_data_in_pages(rd_req, 0, pages, PAGE_SIZE, in __ceph_pool_perm_get()
1906 ceph_osdc_start_request(&fsc->client->osdc, rd_req); in __ceph_pool_perm_get()
1911 err = ceph_osdc_wait_request(&fsc->client->osdc, rd_req); in __ceph_pool_perm_get()
1951 ceph_osdc_put_request(rd_req); in __ceph_pool_perm_get()