Home
last modified time | relevance | path

Searched refs:pool_ns_len (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/ceph/
Daddr.c1906 size_t pool_ns_len; in __ceph_pool_perm_get() local
1920 perm->pool_ns_len); in __ceph_pool_perm_get()
1954 perm->pool_ns_len); in __ceph_pool_perm_get()
2040 pool_ns_len = pool_ns ? pool_ns->len : 0; in __ceph_pool_perm_get()
2041 perm = kmalloc(sizeof(*perm) + pool_ns_len + 1, GFP_NOFS); in __ceph_pool_perm_get()
2049 perm->pool_ns_len = pool_ns_len; in __ceph_pool_perm_get()
2050 if (pool_ns_len > 0) in __ceph_pool_perm_get()
2051 memcpy(perm->pool_ns, pool_ns->str, pool_ns_len); in __ceph_pool_perm_get()
2052 perm->pool_ns[pool_ns_len] = 0; in __ceph_pool_perm_get()
Dmds_client.h78 u32 pool_ns_len; member
342 size_t pool_ns_len; member
Dmds_client.c149 ceph_decode_32_safe(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
150 if (info->pool_ns_len > 0) { in parse_reply_info_in()
151 ceph_decode_need(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
153 *p += info->pool_ns_len; in parse_reply_info_in()
199 info->pool_ns_len = 0; in parse_reply_info_in()
202 ceph_decode_32_safe(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
203 if (info->pool_ns_len > 0) { in parse_reply_info_in()
204 ceph_decode_need(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
206 *p += info->pool_ns_len; in parse_reply_info_in()
Dcaps.c4160 u32 pool_ns_len; in ceph_handle_caps() local
4168 ceph_decode_32_safe(&p, end, pool_ns_len, bad); in ceph_handle_caps()
4169 if (pool_ns_len > 0) { in ceph_handle_caps()
4170 ceph_decode_need(&p, end, pool_ns_len, bad); in ceph_handle_caps()
4172 ceph_find_or_create_string(p, pool_ns_len); in ceph_handle_caps()
4173 p += pool_ns_len; in ceph_handle_caps()
Dinode.c790 if (iinfo->pool_ns_len > 0) in ceph_fill_inode()
792 iinfo->pool_ns_len); in ceph_fill_inode()
Dfile.c639 iinfo.pool_ns_len = pool_ns->len; in ceph_finish_async_create()