Lines Matching refs:wrlocked
60 bool wrlocked = true; in rwsem_is_wrlocked() local
63 wrlocked = false; in rwsem_is_wrlocked()
67 return wrlocked; in rwsem_is_wrlocked()
1364 bool wrlocked) in lookup_create_osd() argument
1368 if (wrlocked) in lookup_create_osd()
1378 if (!wrlocked) in lookup_create_osd()
2317 static void __submit_request(struct ceph_osd_request *req, bool wrlocked) in __submit_request() argument
2327 dout("%s req %p wrlocked %d\n", __func__, req, wrlocked); in __submit_request()
2331 if (ct_res == CALC_TARGET_POOL_DNE && !wrlocked) in __submit_request()
2334 osd = lookup_create_osd(osdc, req->r_t.osd, wrlocked); in __submit_request()
2336 WARN_ON(PTR_ERR(osd) != -EAGAIN || wrlocked); in __submit_request()
2405 wrlocked = true; in __submit_request()
2422 static void submit_request(struct ceph_osd_request *req, bool wrlocked) in submit_request() argument
2426 __submit_request(req, wrlocked); in submit_request()