Home
last modified time | relevance | path

Searched refs:pool_ns (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/fs/ceph/
Daddr.c1816 s64 pool, struct ceph_string *pool_ns) in __ceph_pool_perm_get() argument
1836 int ret = ceph_compare_string(pool_ns, in __ceph_pool_perm_get()
1837 perm->pool_ns, in __ceph_pool_perm_get()
1853 if (pool_ns) in __ceph_pool_perm_get()
1855 pool, (int)pool_ns->len, pool_ns->str); in __ceph_pool_perm_get()
1870 int ret = ceph_compare_string(pool_ns, in __ceph_pool_perm_get()
1871 perm->pool_ns, in __ceph_pool_perm_get()
1898 if (pool_ns) in __ceph_pool_perm_get()
1899 rd_req->r_base_oloc.pool_ns = ceph_get_string(pool_ns); in __ceph_pool_perm_get()
1953 pool_ns_len = pool_ns ? pool_ns->len : 0; in __ceph_pool_perm_get()
[all …]
Dxattr.c68 rcu_dereference_raw(fl->pool_ns) != NULL); in ceph_vxattrcb_layout_exists()
76 struct ceph_string *pool_ns; in ceph_vxattrcb_layout() local
84 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout()
103 if (pool_ns) in ceph_vxattrcb_layout()
104 total_len += strlen(ns_field) + pool_ns->len; in ceph_vxattrcb_layout()
115 if (pool_ns) { in ceph_vxattrcb_layout()
119 memcpy(val + ret, pool_ns->str, pool_ns->len); in ceph_vxattrcb_layout()
120 ret += pool_ns->len; in ceph_vxattrcb_layout()
124 ceph_put_string(pool_ns); in ceph_vxattrcb_layout()
169 struct ceph_string *ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout_pool_namespace()
Dioctl.c212 oloc.pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_ioctl_get_dataloc()
Dinode.c448 RCU_INIT_POINTER(ci->i_layout.pool_ns, NULL); in ceph_alloc_inode()
581 ceph_put_string(rcu_dereference_raw(ci->i_layout.pool_ns)); in ceph_evict_inode()
752 struct ceph_string *pool_ns = NULL; in fill_inode() local
786 pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, in fill_inode()
857 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in fill_inode()
859 rcu_assign_pointer(ci->i_layout.pool_ns, pool_ns); in fill_inode()
861 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in fill_inode()
864 pool_ns = old_ns; in fill_inode()
1037 ceph_put_string(pool_ns); in fill_inode()
Dmds_client.h308 char pool_ns[]; member
Dcaps.c3054 struct ceph_string *pool_ns; member
3198 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant()
3200 rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); in handle_cap_grant()
3203 extra_info->pool_ns != old_ns) in handle_cap_grant()
3206 extra_info->pool_ns = old_ns; in handle_cap_grant()
3864 extra_info.pool_ns = in ceph_handle_caps()
4001 ceph_put_string(extra_info.pool_ns); in ceph_handle_caps()
/linux-4.19.296/include/linux/ceph/
Dosdmap.h77 struct ceph_string *pool_ns; member
83 oloc->pool_ns = NULL; in ceph_oloc_init()
Dceph_fs.h67 struct ceph_string __rcu *pool_ns; /* rados pool namespace */ member