| /linux/fs/ceph/ |
| H A D | addr.c | 2594 s64 pool, struct ceph_string *pool_ns) in ceph_pool_perm_check() 2615 int ret = ceph_compare_string(pool_ns, in ceph_pool_perm_check() 2616 perm->pool_ns, in ceph_pool_perm_check() 2632 if (pool_ns) in ceph_pool_perm_check() 2634 (int)pool_ns->len, pool_ns->str); in ceph_pool_perm_check() 2649 int ret = ceph_compare_string(pool_ns, in ceph_pool_perm_destroy() 2650 perm->pool_ns, in ceph_pool_perm_destroy() 2677 if (pool_ns) 2678 rd_req->r_base_oloc.pool_ns 2407 __ceph_pool_perm_get(struct ceph_inode_info * ci,s64 pool,struct ceph_string * pool_ns) __ceph_pool_perm_get() argument 2585 struct ceph_string *pool_ns; ceph_pool_perm_check() local [all...] |
| H A D | xattr.c | 55 rcu_dereference_raw(fl->pool_ns) != NULL); in ceph_vxattrcb_layout_exists() 64 struct ceph_string *pool_ns; in ceph_vxattrcb_layout() 72 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout() 91 if (pool_ns) in ceph_vxattrcb_layout() 92 total_len += strlen(ns_field) + pool_ns->len; in ceph_vxattrcb_layout() 103 if (pool_ns) { in ceph_vxattrcb_layout() 107 memcpy(val + ret, pool_ns->str, pool_ns->len); in ceph_vxattrcb_layout() 108 ret += pool_ns in ceph_vxattrcb_layout() 63 struct ceph_string *pool_ns; ceph_vxattrcb_layout() local [all...] |
| H A D | file.c | 511 rcu_assign_pointer(cdst->i_cached_layout.pool_ns, in cache_file_layout() 512 ceph_try_get_string(csrc->i_layout.pool_ns)); in cache_file_layout() 564 rcu_assign_pointer(lo->pool_ns, in try_prep_async_create() 565 ceph_try_get_string(ci->i_cached_layout.pool_ns)); in try_prep_async_create() 684 struct ceph_string *pool_ns; in ceph_finish_async_create() 737 /* lo is private, so pool_ns can't change */ in ceph_finish_async_create() 738 pool_ns = rcu_dereference_raw(lo->pool_ns); in ceph_finish_async_create() 739 if (pool_ns) { in ceph_finish_async_create() 740 iinfo.pool_ns_len = pool_ns in ceph_finish_async_create() 686 struct ceph_string *pool_ns; ceph_finish_async_create() local [all...] |
| H A D | ioctl.c | 219 oloc.pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_ioctl_get_dataloc()
|
| H A D | inode.c | 654 RCU_INIT_POINTER(ci->i_layout.pool_ns, NULL); in ceph_alloc_inode() 801 ceph_put_string(rcu_dereference_raw(ci->i_layout.pool_ns)); 802 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); 1098 struct ceph_string *pool_ns = NULL; in ceph_fill_inode() 1156 pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, in ceph_fill_inode() 1250 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in ceph_fill_inode() 1252 rcu_assign_pointer(ci->i_layout.pool_ns, pool_ns); in ceph_fill_inode() 1254 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode() 1257 pool_ns in ceph_fill_inode() 1030 struct ceph_string *pool_ns = NULL; ceph_fill_inode() local [all...] |
| H A D | caps.c | 652 ceph_put_string(rcu_dereference_raw(ci->i_cached_layout.pool_ns)); in ceph_add_cap() 3692 struct ceph_string *pool_ns; in handle_cap_grant() 3959 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_flush_ack() 3961 rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); in handle_cap_flush_ack() 3964 extra_info->pool_ns != old_ns) in handle_cap_flush_ack() 3967 extra_info->pool_ns = old_ns; in handle_cap_flush_ack() 4771 extra_info.pool_ns = in flush_dirty_session_caps() 4920 ceph_put_string(extra_info.pool_ns); in ceph_drop_caps_for_unlink() 3526 struct ceph_string *pool_ns; global() member
|
| H A D | mds_client.h | 447 char pool_ns[]; member
|
| H A D | mds_client.c | 4996 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 | 73 struct ceph_string __rcu *pool_ns; /* rados pool namespace */ member
|
| /linux/drivers/block/ |
| H A D | rbd.c | 190 const char *pool_ns; /* NULL if default, never "" */ member 987 RCU_INIT_POINTER(rbd_dev->layout.pool_ns, NULL); in rbd_init_layout() 5106 return sprintf(buf, "%s\n", rbd_dev->spec->pool_ns ?: ""); in rbd_pool_ns_show() 5169 "pool_ns %s\n" in rbd_parent_show() 5175 spec->pool_ns ?: "", in rbd_parent_show() 5212 static DEVICE_ATTR(pool_ns, 0444, rbd_pool_ns_show, NULL); 5292 kfree(spec->pool_ns); in rbd_spec_free() 5350 if (spec->pool_ns) { in __rbd_dev_create() 5351 WARN_ON(!*spec->pool_ns); in __rbd_dev_create() 5352 rbd_dev->header_oloc.pool_ns in __rbd_dev_create() 5583 const char *pool_ns; global() member [all...] |
| /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 | 2147 if (src->pool_ns) 2148 dest->pool_ns = ceph_get_string(src->pool_ns); in ceph_oid_copy() 2150 dest->pool_ns = NULL; in ceph_oid_copy() 2156 ceph_put_string(oloc->pool_ns); in ceph_oid_copy() 2423 if (!oloc->pool_ns) { in __ceph_object_locator_to_pg() 2432 int nsl = oloc->pool_ns->len; in __ceph_object_locator_to_pg() 2437 memcpy(buf, oloc->pool_ns->str, nsl); 2445 oid->name, nsl, oloc->pool_ns->str, in ceph_object_locator_to_pg()
|
| H A D | osd_client.c | 579 return 8 + 4 + 4 + 4 + (oloc->pool_ns ? oloc->pool_ns->len : 0); in ceph_oloc_encoding_size() 1109 req->r_base_oloc.pool_ns = ceph_try_get_string(layout->pool_ns); in ceph_osdc_new_request() 2008 if (t->target_oloc.pool_ns) { in hoid_fill_from_target() 2009 hoid->nspace = t->target_oloc.pool_ns->str; in hoid_fill_from_target() 2010 hoid->nspace_len = t->target_oloc.pool_ns->len; in hoid_fill_from_target() 2140 if (oloc->pool_ns) in encode_oloc() 2141 ceph_encode_string(p, end, oloc->pool_ns->str, in encode_oloc() 2142 oloc->pool_ns in encode_oloc() [all...] |