Searched refs:pool_ns (Results 1 – 13 of 13) sorted by relevance
| /linux/fs/ceph/ |
| H A D | addr.c | 2350 s64 pool, struct ceph_string *pool_ns) in __ceph_pool_perm_get() argument 2371 int ret = ceph_compare_string(pool_ns, in __ceph_pool_perm_get() 2372 perm->pool_ns, in __ceph_pool_perm_get() 2388 if (pool_ns) in __ceph_pool_perm_get() 2390 (int)pool_ns->len, pool_ns->str); in __ceph_pool_perm_get() 2405 int ret = ceph_compare_string(pool_ns, in __ceph_pool_perm_get() 2406 perm->pool_ns, in __ceph_pool_perm_get() 2433 if (pool_ns) in __ceph_pool_perm_get() 2434 rd_req->r_base_oloc.pool_ns = ceph_get_string(pool_ns); in __ceph_pool_perm_get() 2491 pool_ns_len = pool_ns ? pool_ns->len : 0; in __ceph_pool_perm_get() [all …]
|
| H A D | xattr.c | 54 rcu_dereference_raw(fl->pool_ns) != NULL); in ceph_vxattrcb_layout_exists() 63 struct ceph_string *pool_ns; in ceph_vxattrcb_layout() local 71 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout() 90 if (pool_ns) in ceph_vxattrcb_layout() 91 total_len += strlen(ns_field) + pool_ns->len; in ceph_vxattrcb_layout() 102 if (pool_ns) { in ceph_vxattrcb_layout() 106 memcpy(val + ret, pool_ns->str, pool_ns->len); in ceph_vxattrcb_layout() 107 ret += pool_ns->len; in ceph_vxattrcb_layout() 111 ceph_put_string(pool_ns); in ceph_vxattrcb_layout() 187 struct ceph_string *ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout_pool_namespace()
|
| H A D | file.c | 493 rcu_assign_pointer(cdst->i_cached_layout.pool_ns, in cache_file_layout() 494 ceph_try_get_string(csrc->i_layout.pool_ns)); in cache_file_layout() 546 rcu_assign_pointer(lo->pool_ns, in try_prep_async_create() 547 ceph_try_get_string(ci->i_cached_layout.pool_ns)); in try_prep_async_create() 666 struct ceph_string *pool_ns; in ceph_finish_async_create() local 720 pool_ns = rcu_dereference_raw(lo->pool_ns); in ceph_finish_async_create() 721 if (pool_ns) { in ceph_finish_async_create() 722 iinfo.pool_ns_len = pool_ns->len; in ceph_finish_async_create() 723 iinfo.pool_ns_data = pool_ns->str; in ceph_finish_async_create() 925 ceph_put_string(rcu_dereference_raw(lo.pool_ns)); in ceph_atomic_open() [all …]
|
| H A D | ioctl.c | 213 oloc.pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_ioctl_get_dataloc()
|
| H A D | inode.c | 644 RCU_INIT_POINTER(ci->i_layout.pool_ns, NULL); in ceph_alloc_inode() 787 ceph_put_string(rcu_dereference_raw(ci->i_layout.pool_ns)); in ceph_evict_inode() 788 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in ceph_evict_inode() 989 struct ceph_string *pool_ns = NULL; in ceph_fill_inode() local 1047 pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, in ceph_fill_inode() 1140 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in ceph_fill_inode() 1142 rcu_assign_pointer(ci->i_layout.pool_ns, pool_ns); in ceph_fill_inode() 1144 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode() 1147 pool_ns = old_ns; in ceph_fill_inode() 1371 ceph_put_string(pool_ns); in ceph_fill_inode()
|
| H A D | caps.c | 616 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in __check_cap_issue() 3461 struct ceph_string *pool_ns; member 3645 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant() 3647 rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); in handle_cap_grant() 3650 extra_info->pool_ns != old_ns) in handle_cap_grant() 3653 extra_info->pool_ns = old_ns; in handle_cap_grant() 4419 extra_info.pool_ns = in ceph_handle_caps() 4568 ceph_put_string(extra_info.pool_ns); in ceph_handle_caps()
|
| H A D | mds_client.h | 397 char pool_ns[]; member
|
| H A D | mds_client.c | 4681 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in reconnect_caps_cb()
|
| /linux/include/linux/ceph/ |
| H A D | osdmap.h | 77 struct ceph_string *pool_ns; member 83 oloc->pool_ns = NULL; in ceph_oloc_init()
|
| H A D | ceph_fs.h | 67 struct ceph_string __rcu *pool_ns; /* rados pool namespace */ member
|
| /linux/net/ceph/ |
| H A D | debugfs.c | 202 if (t->target_oloc.pool_ns) { in dump_target() 204 (int)t->target_oloc.pool_ns->len, in dump_target() 205 t->target_oloc.pool_ns->str, in dump_target()
|
| H A D | osdmap.c | 2116 if (src->pool_ns) in ceph_oloc_copy() 2117 dest->pool_ns = ceph_get_string(src->pool_ns); in ceph_oloc_copy() 2119 dest->pool_ns = NULL; in ceph_oloc_copy() 2125 ceph_put_string(oloc->pool_ns); in ceph_oloc_destroy() 2392 if (!oloc->pool_ns) { in __ceph_object_locator_to_pg() 2401 int nsl = oloc->pool_ns->len; in __ceph_object_locator_to_pg() 2406 memcpy(buf, oloc->pool_ns->str, nsl); in __ceph_object_locator_to_pg() 2414 oid->name, nsl, oloc->pool_ns->str, in __ceph_object_locator_to_pg()
|
| H A D | osd_client.c | 578 return 8 + 4 + 4 + 4 + (oloc->pool_ns ? oloc->pool_ns->len : 0); in ceph_oloc_encoding_size() 1108 req->r_base_oloc.pool_ns = ceph_try_get_string(layout->pool_ns); in ceph_osdc_new_request() 1999 if (t->target_oloc.pool_ns) { in hoid_fill_from_target() 2000 hoid->nspace = t->target_oloc.pool_ns->str; in hoid_fill_from_target() 2001 hoid->nspace_len = t->target_oloc.pool_ns->len; in hoid_fill_from_target() 2131 if (oloc->pool_ns) in encode_oloc() 2132 ceph_encode_string(p, end, oloc->pool_ns->str, in encode_oloc() 2133 oloc->pool_ns->len); in encode_oloc() 3576 if (!oloc->pool_ns || in ceph_oloc_decode() 3577 ceph_compare_string(oloc->pool_ns, *p, len)) in ceph_oloc_decode() [all …]
|