/Linux-v4.19/include/linux/ceph/ |
D | cls_lock_client.h | 29 struct ceph_object_locator *oloc, 34 struct ceph_object_locator *oloc, 38 struct ceph_object_locator *oloc, 43 struct ceph_object_locator *oloc, 51 struct ceph_object_locator *oloc,
|
D | osdmap.h | 77 static inline void ceph_oloc_init(struct ceph_object_locator *oloc) in ceph_oloc_init() argument 79 oloc->pool = -1; in ceph_oloc_init() 80 oloc->pool_ns = NULL; in ceph_oloc_init() 83 static inline bool ceph_oloc_empty(const struct ceph_object_locator *oloc) in ceph_oloc_empty() argument 85 return oloc->pool == -1; in ceph_oloc_empty() 90 void ceph_oloc_destroy(struct ceph_object_locator *oloc); 284 const struct ceph_object_locator *oloc, 288 const struct ceph_object_locator *oloc,
|
D | osd_client.h | 216 struct ceph_object_locator oloc; member 491 struct ceph_object_locator *oloc, 518 struct ceph_object_locator *oloc, 527 struct ceph_object_locator *oloc, 534 struct ceph_object_locator *oloc, 544 struct ceph_object_locator *oloc,
|
/Linux-v4.19/net/ceph/ |
D | cls_lock_client.c | 24 struct ceph_object_locator *oloc, in ceph_cls_lock() argument 72 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "lock", in ceph_cls_lock() 90 struct ceph_object_locator *oloc, in ceph_cls_unlock() argument 120 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "unlock", in ceph_cls_unlock() 139 struct ceph_object_locator *oloc, in ceph_cls_break_lock() argument 173 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "break_lock", in ceph_cls_break_lock() 185 struct ceph_object_locator *oloc, in ceph_cls_set_cookie() argument 224 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "set_cookie", in ceph_cls_set_cookie() 326 struct ceph_object_locator *oloc, in ceph_cls_lock_info() argument 361 ret = ceph_osdc_call(osdc, oid, oloc, "lock", "get_info", in ceph_cls_lock_info()
|
D | osd_client.c | 604 static int ceph_oloc_encoding_size(const struct ceph_object_locator *oloc) in ceph_oloc_encoding_size() argument 606 return 8 + 4 + 4 + 4 + (oloc->pool_ns ? oloc->pool_ns->len : 0); in ceph_oloc_encoding_size() 1935 const struct ceph_object_locator *oloc) in encode_oloc() argument 1937 ceph_start_encoding(p, 5, 4, ceph_oloc_encoding_size(oloc)); in encode_oloc() 1938 ceph_encode_64(p, oloc->pool); in encode_oloc() 1941 if (oloc->pool_ns) in encode_oloc() 1942 ceph_encode_string(p, end, oloc->pool_ns->str, in encode_oloc() 1943 oloc->pool_ns->len); in encode_oloc() 2049 void *oloc, *oid, *tail; in encode_request_finish() local 2062 oloc = p; in encode_request_finish() [all …]
|
D | osdmap.c | 1887 void ceph_oloc_destroy(struct ceph_object_locator *oloc) in ceph_oloc_destroy() argument 1889 ceph_put_string(oloc->pool_ns); in ceph_oloc_destroy() 2151 const struct ceph_object_locator *oloc, in __ceph_object_locator_to_pg() argument 2154 WARN_ON(pi->id != oloc->pool); in __ceph_object_locator_to_pg() 2156 if (!oloc->pool_ns) { in __ceph_object_locator_to_pg() 2157 raw_pgid->pool = oloc->pool; in __ceph_object_locator_to_pg() 2165 int nsl = oloc->pool_ns->len; in __ceph_object_locator_to_pg() 2170 memcpy(buf, oloc->pool_ns->str, nsl); in __ceph_object_locator_to_pg() 2173 raw_pgid->pool = oloc->pool; in __ceph_object_locator_to_pg() 2178 oid->name, nsl, oloc->pool_ns->str, in __ceph_object_locator_to_pg() [all …]
|
/Linux-v4.19/fs/ceph/ |
D | ioctl.c | 186 struct ceph_object_locator oloc; in ceph_ioctl_get_dataloc() local 211 oloc.pool = ci->i_layout.pool_id; in ceph_ioctl_get_dataloc() 212 oloc.pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_ioctl_get_dataloc() 215 r = ceph_object_locator_to_pg(osdc->osdmap, &oid, &oloc, &pgid); in ceph_ioctl_get_dataloc() 217 ceph_oloc_destroy(&oloc); in ceph_ioctl_get_dataloc()
|
/Linux-v4.19/drivers/block/ |
D | rbd.c | 3526 struct ceph_object_locator *oloc, in rbd_obj_method_sync() argument 3563 ret = ceph_osdc_call(osdc, oid, oloc, RBD_DRV_NAME, method_name, in rbd_obj_method_sync() 3769 struct ceph_object_locator *oloc, in rbd_obj_read_sync() argument 3784 ceph_oloc_copy(&req->r_base_oloc, oloc); in rbd_obj_read_sync()
|