Searched refs:pool_ns (Results 1 – 14 of 14) sorted by relevance
| /linux/fs/ceph/ |
| A D | addr.c | 2031 perm->pool_ns, in __ceph_pool_perm_get() 2047 if (pool_ns) in __ceph_pool_perm_get() 2049 (int)pool_ns->len, pool_ns->str); in __ceph_pool_perm_get() 2092 if (pool_ns) in __ceph_pool_perm_get() 2093 rd_req->r_base_oloc.pool_ns = ceph_get_string(pool_ns); in __ceph_pool_perm_get() 2150 pool_ns_len = pool_ns ? pool_ns->len : 0; in __ceph_pool_perm_get() 2161 memcpy(perm->pool_ns, pool_ns->str, pool_ns_len); in __ceph_pool_perm_get() 2175 if (pool_ns) in __ceph_pool_perm_get() 2177 (int)pool_ns->len, pool_ns->str, err); in __ceph_pool_perm_get() 2225 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_pool_perm_check() [all …]
|
| 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()
|
| A D | file.c | 494 rcu_assign_pointer(cdst->i_cached_layout.pool_ns, in cache_file_layout() 495 ceph_try_get_string(csrc->i_layout.pool_ns)); in cache_file_layout() 547 rcu_assign_pointer(lo->pool_ns, in try_prep_async_create() 670 struct ceph_string *pool_ns; in ceph_finish_async_create() local 724 pool_ns = rcu_dereference_raw(lo->pool_ns); in ceph_finish_async_create() 725 if (pool_ns) { in ceph_finish_async_create() 726 iinfo.pool_ns_len = pool_ns->len; in ceph_finish_async_create() 727 iinfo.pool_ns_data = pool_ns->str; in ceph_finish_async_create() 934 ceph_put_string(rcu_dereference_raw(lo.pool_ns)); in ceph_atomic_open() 2895 src_oloc.pool_ns = ceph_try_get_string(src_ci->i_layout.pool_ns); in ceph_do_objects_copy() [all …]
|
| A D | ioctl.c | 213 oloc.pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_ioctl_get_dataloc()
|
| A D | inode.c | 598 RCU_INIT_POINTER(ci->i_layout.pool_ns, NULL); in ceph_alloc_inode() 740 ceph_put_string(rcu_dereference_raw(ci->i_layout.pool_ns)); in ceph_evict_inode() 741 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in ceph_evict_inode() 953 struct ceph_string *pool_ns = NULL; in ceph_fill_inode() local 1011 pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, in ceph_fill_inode() 1104 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in ceph_fill_inode() 1106 rcu_assign_pointer(ci->i_layout.pool_ns, pool_ns); in ceph_fill_inode() 1108 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode() 1111 pool_ns = old_ns; in ceph_fill_inode() 1335 ceph_put_string(pool_ns); in ceph_fill_inode()
|
| A D | mds_client.h | 395 char pool_ns[]; member
|
| A D | caps.c | 615 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in __check_cap_issue() 3474 struct ceph_string *pool_ns; member 3658 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant() 3660 rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); in handle_cap_grant() 3663 extra_info->pool_ns != old_ns) in handle_cap_grant() 3666 extra_info->pool_ns = old_ns; in handle_cap_grant() 4432 extra_info.pool_ns = in ceph_handle_caps() 4579 ceph_put_string(extra_info.pool_ns); in ceph_handle_caps()
|
| A D | mds_client.c | 4627 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in reconnect_caps_cb()
|
| /linux/include/linux/ceph/ |
| A D | osdmap.h | 77 struct ceph_string *pool_ns; member 83 oloc->pool_ns = NULL; in ceph_oloc_init()
|
| A D | ceph_fs.h | 67 struct ceph_string __rcu *pool_ns; /* rados pool namespace */ member
|
| /linux/drivers/block/ |
| A D | rbd.c | 5183 spec->pool_ns ?: "", in rbd_parent_show() 5300 kfree(spec->pool_ns); in rbd_spec_free() 5358 if (spec->pool_ns) { in __rbd_dev_create() 5359 WARN_ON(!*spec->pool_ns); in __rbd_dev_create() 5589 const char *pool_ns; member 5599 kfree(pii->pool_ns); in rbd_parent_info_cleanup() 5622 if (IS_ERR(pii->pool_ns)) { in decode_parent_image_spec() 5624 pii->pool_ns = NULL; in decode_parent_image_spec() 5784 if (pii.pool_ns && *pii.pool_ns) { in rbd_dev_setup_parent() 5785 parent_spec->pool_ns = pii.pool_ns; in rbd_dev_setup_parent() [all …]
|
| /linux/net/ceph/ |
| A D | debugfs.c | 196 if (t->target_oloc.pool_ns) { in dump_target() 198 (int)t->target_oloc.pool_ns->len, in dump_target() 199 t->target_oloc.pool_ns->str, in dump_target()
|
| A D | osdmap.c | 2124 if (src->pool_ns) in ceph_oloc_copy() 2125 dest->pool_ns = ceph_get_string(src->pool_ns); in ceph_oloc_copy() 2127 dest->pool_ns = NULL; in ceph_oloc_copy() 2133 ceph_put_string(oloc->pool_ns); in ceph_oloc_destroy() 2400 if (!oloc->pool_ns) { 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() 2422 oid->name, nsl, oloc->pool_ns->str, in __ceph_object_locator_to_pg()
|
| A D | osd_client.c | 601 return 8 + 4 + 4 + 4 + (oloc->pool_ns ? oloc->pool_ns->len : 0); in ceph_oloc_encoding_size() 1131 req->r_base_oloc.pool_ns = ceph_try_get_string(layout->pool_ns); in ceph_osdc_new_request() 2022 if (t->target_oloc.pool_ns) { in hoid_fill_from_target() 2023 hoid->nspace = t->target_oloc.pool_ns->str; in hoid_fill_from_target() 2154 if (oloc->pool_ns) in encode_oloc() 2155 ceph_encode_string(p, end, oloc->pool_ns->str, in encode_oloc() 2156 oloc->pool_ns->len); in encode_oloc() 3599 if (!oloc->pool_ns || in ceph_oloc_decode() 3604 if (oloc->pool_ns) in ceph_oloc_decode() 3792 m.redirect.oloc.pool_ns = req->r_t.target_oloc.pool_ns; in handle_reply() [all …]
|
Completed in 79 milliseconds