Searched refs:pool_ns (Results 1 – 8 of 8) sorted by relevance
| /fs/ceph/ |
| A D | addr.c | 2375 perm->pool_ns, in __ceph_pool_perm_get() 2391 if (pool_ns) in __ceph_pool_perm_get() 2393 (int)pool_ns->len, pool_ns->str); in __ceph_pool_perm_get() 2436 if (pool_ns) in __ceph_pool_perm_get() 2437 rd_req->r_base_oloc.pool_ns = ceph_get_string(pool_ns); in __ceph_pool_perm_get() 2494 pool_ns_len = pool_ns ? pool_ns->len : 0; in __ceph_pool_perm_get() 2505 memcpy(perm->pool_ns, pool_ns->str, pool_ns_len); in __ceph_pool_perm_get() 2519 if (pool_ns) in __ceph_pool_perm_get() 2521 (int)pool_ns->len, pool_ns->str, err); in __ceph_pool_perm_get() 2569 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() 2893 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 | caps.c | 615 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in __check_cap_issue() 3460 struct ceph_string *pool_ns; member 3644 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant() 3646 rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); in handle_cap_grant() 3649 extra_info->pool_ns != old_ns) in handle_cap_grant() 3652 extra_info->pool_ns = old_ns; in handle_cap_grant() 4418 extra_info.pool_ns = in ceph_handle_caps() 4564 ceph_put_string(extra_info.pool_ns); in ceph_handle_caps()
|
| A D | mds_client.h | 397 char pool_ns[]; member
|
| A D | mds_client.c | 4621 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in reconnect_caps_cb()
|
Completed in 50 milliseconds