pool_ns 190 drivers/block/rbd.c const char *pool_ns; /* NULL if default, never "" */ pool_ns 927 drivers/block/rbd.c kfree(pctx->spec->pool_ns); pool_ns 928 drivers/block/rbd.c pctx->spec->pool_ns = match_strdup(argstr); pool_ns 929 drivers/block/rbd.c if (!pctx->spec->pool_ns) pool_ns 1098 drivers/block/rbd.c RCU_INIT_POINTER(rbd_dev->layout.pool_ns, NULL); pool_ns 5308 drivers/block/rbd.c return sprintf(buf, "%s\n", rbd_dev->spec->pool_ns ?: ""); pool_ns 5377 drivers/block/rbd.c spec->pool_ns ?: "", pool_ns 5411 drivers/block/rbd.c static DEVICE_ATTR(pool_ns, 0444, rbd_pool_ns_show, NULL); pool_ns 5491 drivers/block/rbd.c kfree(spec->pool_ns); pool_ns 5550 drivers/block/rbd.c if (spec->pool_ns) { pool_ns 5551 drivers/block/rbd.c WARN_ON(!*spec->pool_ns); pool_ns 5552 drivers/block/rbd.c rbd_dev->header_oloc.pool_ns = pool_ns 5553 drivers/block/rbd.c ceph_find_or_create_string(spec->pool_ns, pool_ns 5554 drivers/block/rbd.c strlen(spec->pool_ns)); pool_ns 5787 drivers/block/rbd.c const char *pool_ns; pool_ns 5811 drivers/block/rbd.c pii->pool_ns = ceph_extract_encoded_string(p, end, NULL, GFP_KERNEL); pool_ns 5812 drivers/block/rbd.c if (IS_ERR(pii->pool_ns)) { pool_ns 5813 drivers/block/rbd.c ret = PTR_ERR(pii->pool_ns); pool_ns 5814 drivers/block/rbd.c pii->pool_ns = NULL; pool_ns 5952 drivers/block/rbd.c __func__, pii.pool_id, pii.pool_ns, pii.image_id, pii.snap_id, pool_ns 5995 drivers/block/rbd.c if (pii.pool_ns && *pii.pool_ns) { pool_ns 5996 drivers/block/rbd.c parent_spec->pool_ns = pii.pool_ns; pool_ns 5997 drivers/block/rbd.c pii.pool_ns = NULL; pool_ns 6027 drivers/block/rbd.c kfree(pii.pool_ns); pool_ns 6978 drivers/block/rbd.c rbd_dev->spec->pool_ns ?: "", pool_ns 6979 drivers/block/rbd.c rbd_dev->spec->pool_ns ? "/" : "", pool_ns 7006 drivers/block/rbd.c rbd_dev->spec->pool_ns ?: "", pool_ns 7007 drivers/block/rbd.c rbd_dev->spec->pool_ns ? "/" : "", pool_ns 1815 fs/ceph/addr.c s64 pool, struct ceph_string *pool_ns) pool_ns 1835 fs/ceph/addr.c int ret = ceph_compare_string(pool_ns, pool_ns 1836 fs/ceph/addr.c perm->pool_ns, pool_ns 1852 fs/ceph/addr.c if (pool_ns) pool_ns 1854 fs/ceph/addr.c pool, (int)pool_ns->len, pool_ns->str); pool_ns 1869 fs/ceph/addr.c int ret = ceph_compare_string(pool_ns, pool_ns 1870 fs/ceph/addr.c perm->pool_ns, pool_ns 1897 fs/ceph/addr.c if (pool_ns) pool_ns 1898 fs/ceph/addr.c rd_req->r_base_oloc.pool_ns = ceph_get_string(pool_ns); pool_ns 1957 fs/ceph/addr.c pool_ns_len = pool_ns ? pool_ns->len : 0; pool_ns 1968 fs/ceph/addr.c memcpy(perm->pool_ns, pool_ns->str, pool_ns_len); pool_ns 1969 fs/ceph/addr.c perm->pool_ns[pool_ns_len] = 0; pool_ns 1982 fs/ceph/addr.c if (pool_ns) pool_ns 1984 fs/ceph/addr.c pool, (int)pool_ns->len, pool_ns->str, err); pool_ns 1993 fs/ceph/addr.c struct ceph_string *pool_ns; pool_ns 2029 fs/ceph/addr.c pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); pool_ns 2030 fs/ceph/addr.c ret = __ceph_pool_perm_get(ci, pool, pool_ns); pool_ns 2031 fs/ceph/addr.c ceph_put_string(pool_ns); pool_ns 2043 fs/ceph/addr.c pool_ns == rcu_dereference_raw(ci->i_layout.pool_ns)) { pool_ns 3070 fs/ceph/caps.c struct ceph_string *pool_ns; pool_ns 3224 fs/ceph/caps.c old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, pool_ns 3226 fs/ceph/caps.c rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); pool_ns 3229 fs/ceph/caps.c extra_info->pool_ns != old_ns) pool_ns 3232 fs/ceph/caps.c extra_info->pool_ns = old_ns; pool_ns 3888 fs/ceph/caps.c extra_info.pool_ns = pool_ns 4014 fs/ceph/caps.c ceph_put_string(extra_info.pool_ns); pool_ns 2051 fs/ceph/file.c src_oloc.pool_ns = ceph_try_get_string(src_ci->i_layout.pool_ns); pool_ns 2053 fs/ceph/file.c dst_oloc.pool_ns = ceph_try_get_string(dst_ci->i_layout.pool_ns); pool_ns 448 fs/ceph/inode.c RCU_INIT_POINTER(ci->i_layout.pool_ns, NULL); pool_ns 586 fs/ceph/inode.c ceph_put_string(rcu_dereference_raw(ci->i_layout.pool_ns)); pool_ns 742 fs/ceph/inode.c struct ceph_string *pool_ns = NULL; pool_ns 773 fs/ceph/inode.c pool_ns = ceph_find_or_create_string(iinfo->pool_ns_data, pool_ns 852 fs/ceph/inode.c old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, pool_ns 854 fs/ceph/inode.c rcu_assign_pointer(ci->i_layout.pool_ns, pool_ns); pool_ns 856 fs/ceph/inode.c if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) pool_ns 859 fs/ceph/inode.c pool_ns = old_ns; pool_ns 1035 fs/ceph/inode.c ceph_put_string(pool_ns); pool_ns 212 fs/ceph/ioctl.c oloc.pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); pool_ns 319 fs/ceph/mds_client.h char pool_ns[]; pool_ns 53 fs/ceph/xattr.c rcu_dereference_raw(fl->pool_ns) != NULL); pool_ns 61 fs/ceph/xattr.c struct ceph_string *pool_ns; pool_ns 69 fs/ceph/xattr.c pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); pool_ns 88 fs/ceph/xattr.c if (pool_ns) pool_ns 89 fs/ceph/xattr.c total_len += strlen(ns_field) + pool_ns->len; pool_ns 100 fs/ceph/xattr.c if (pool_ns) { pool_ns 104 fs/ceph/xattr.c memcpy(val + ret, pool_ns->str, pool_ns->len); pool_ns 105 fs/ceph/xattr.c ret += pool_ns->len; pool_ns 109 fs/ceph/xattr.c ceph_put_string(pool_ns); pool_ns 184 fs/ceph/xattr.c struct ceph_string *ns = ceph_try_get_string(ci->i_layout.pool_ns); pool_ns 67 include/linux/ceph/ceph_fs.h struct ceph_string __rcu *pool_ns; /* rados pool namespace */ pool_ns 77 include/linux/ceph/osdmap.h struct ceph_string *pool_ns; pool_ns 83 include/linux/ceph/osdmap.h oloc->pool_ns = NULL; pool_ns 194 net/ceph/debugfs.c if (t->target_oloc.pool_ns) { pool_ns 196 net/ceph/debugfs.c (int)t->target_oloc.pool_ns->len, pool_ns 197 net/ceph/debugfs.c t->target_oloc.pool_ns->str, pool_ns 609 net/ceph/osd_client.c return 8 + 4 + 4 + 4 + (oloc->pool_ns ? oloc->pool_ns->len : 0); pool_ns 1116 net/ceph/osd_client.c req->r_base_oloc.pool_ns = ceph_try_get_string(layout->pool_ns); pool_ns 1903 net/ceph/osd_client.c if (t->target_oloc.pool_ns) { pool_ns 1904 net/ceph/osd_client.c hoid->nspace = t->target_oloc.pool_ns->str; pool_ns 1905 net/ceph/osd_client.c hoid->nspace_len = t->target_oloc.pool_ns->len; pool_ns 2034 net/ceph/osd_client.c if (oloc->pool_ns) pool_ns 2035 net/ceph/osd_client.c ceph_encode_string(p, end, oloc->pool_ns->str, pool_ns 2036 net/ceph/osd_client.c oloc->pool_ns->len); pool_ns 3423 net/ceph/osd_client.c if (!oloc->pool_ns || pool_ns 3424 net/ceph/osd_client.c ceph_compare_string(oloc->pool_ns, *p, len)) pool_ns 3428 net/ceph/osd_client.c if (oloc->pool_ns) pool_ns 3619 net/ceph/osd_client.c m.redirect.oloc.pool_ns = req->r_t.target_oloc.pool_ns; pool_ns 3621 net/ceph/osd_client.c m.redirect.oloc.pool_ns = NULL; pool_ns 1910 net/ceph/osdmap.c if (src->pool_ns) pool_ns 1911 net/ceph/osdmap.c dest->pool_ns = ceph_get_string(src->pool_ns); pool_ns 1913 net/ceph/osdmap.c dest->pool_ns = NULL; pool_ns 1919 net/ceph/osdmap.c ceph_put_string(oloc->pool_ns); pool_ns 2186 net/ceph/osdmap.c if (!oloc->pool_ns) { pool_ns 2195 net/ceph/osdmap.c int nsl = oloc->pool_ns->len; pool_ns 2200 net/ceph/osdmap.c memcpy(buf, oloc->pool_ns->str, nsl); pool_ns 2208 net/ceph/osdmap.c oid->name, nsl, oloc->pool_ns->str,