Lines Matching refs:wr_req
1795 struct ceph_osd_request *rd_req = NULL, *wr_req = NULL; in __ceph_pool_perm_get() local
1881 wr_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL, in __ceph_pool_perm_get()
1883 if (!wr_req) { in __ceph_pool_perm_get()
1888 wr_req->r_flags = CEPH_OSD_FLAG_WRITE; in __ceph_pool_perm_get()
1889 osd_req_op_init(wr_req, 0, CEPH_OSD_OP_CREATE, CEPH_OSD_OP_FLAG_EXCL); 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()
1893 err = ceph_osdc_alloc_messages(wr_req, GFP_NOFS); in __ceph_pool_perm_get()
1908 wr_req->r_mtime = ci->netfs.inode.i_mtime; in __ceph_pool_perm_get()
1909 ceph_osdc_start_request(&fsc->client->osdc, wr_req); in __ceph_pool_perm_get()
1912 err2 = ceph_osdc_wait_request(&fsc->client->osdc, wr_req); in __ceph_pool_perm_get()
1952 ceph_osdc_put_request(wr_req); in __ceph_pool_perm_get()