Home
last modified time | relevance | path

Searched refs:oloc (Results 1 – 3 of 3) sorted by relevance

/net/ceph/
A Dcls_lock_client.c27 struct ceph_object_locator *oloc, in ceph_cls_lock() argument
75 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "lock", in ceph_cls_lock()
95 struct ceph_object_locator *oloc, in ceph_cls_unlock() argument
125 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "unlock", in ceph_cls_unlock()
146 struct ceph_object_locator *oloc, in ceph_cls_break_lock() argument
180 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "break_lock", in ceph_cls_break_lock()
192 struct ceph_object_locator *oloc, in ceph_cls_set_cookie() argument
231 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "set_cookie", in ceph_cls_set_cookie()
336 struct ceph_object_locator *oloc, in ceph_cls_lock_info() argument
371 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "get_info", in ceph_cls_lock_info()
A Dosd_client.c578 return 8 + 4 + 4 + 4 + (oloc->pool_ns ? oloc->pool_ns->len : 0); in ceph_oloc_encoding_size()
2133 if (oloc->pool_ns) in encode_oloc()
2135 oloc->pool_ns->len); in encode_oloc()
2241 void *oloc, *oid, *tail; in encode_request_finish() local
2254 oloc = p; in encode_request_finish()
2260 oloc_len = p - oloc; in encode_request_finish()
2280 BUG_ON(p >= oloc); in encode_request_finish()
2281 memmove(p, oloc, oloc_len); in encode_request_finish()
3578 if (!oloc->pool_ns || in ceph_oloc_decode()
3583 if (oloc->pool_ns) in ceph_oloc_decode()
[all …]
A Dosdmap.c2133 ceph_put_string(oloc->pool_ns); in ceph_oloc_destroy()
2395 const struct ceph_object_locator *oloc, in __ceph_object_locator_to_pg() argument
2398 WARN_ON(pi->id != oloc->pool); in __ceph_object_locator_to_pg()
2400 if (!oloc->pool_ns) { in __ceph_object_locator_to_pg()
2401 raw_pgid->pool = oloc->pool; in __ceph_object_locator_to_pg()
2409 int nsl = oloc->pool_ns->len; in __ceph_object_locator_to_pg()
2414 memcpy(buf, oloc->pool_ns->str, nsl); in __ceph_object_locator_to_pg()
2417 raw_pgid->pool = oloc->pool; in __ceph_object_locator_to_pg()
2422 oid->name, nsl, oloc->pool_ns->str, in __ceph_object_locator_to_pg()
2429 const struct ceph_object_locator *oloc, in ceph_object_locator_to_pg() argument
[all …]

Completed in 38 milliseconds