Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ceph/
Daddr.c2018 size_t pool_ns_len; in __ceph_pool_perm_get() local
2032 perm->pool_ns_len); in __ceph_pool_perm_get()
2066 perm->pool_ns_len); in __ceph_pool_perm_get()
2150 pool_ns_len = pool_ns ? pool_ns->len : 0; in __ceph_pool_perm_get()
2151 perm = kmalloc(struct_size(perm, pool_ns, pool_ns_len + 1), GFP_NOFS); in __ceph_pool_perm_get()
2159 perm->pool_ns_len = pool_ns_len; in __ceph_pool_perm_get()
2160 if (pool_ns_len > 0) in __ceph_pool_perm_get()
2161 memcpy(perm->pool_ns, pool_ns->str, pool_ns_len); in __ceph_pool_perm_get()
2162 perm->pool_ns[pool_ns_len] = 0; in __ceph_pool_perm_get()
Dmds_client.h108 u32 pool_ns_len; member
394 size_t pool_ns_len; member
Dmds_client.c152 ceph_decode_32_safe(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
153 if (info->pool_ns_len > 0) { in parse_reply_info_in()
154 ceph_decode_need(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
156 *p += info->pool_ns_len; in parse_reply_info_in()
255 info->pool_ns_len = 0; in parse_reply_info_in()
258 ceph_decode_32_safe(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
259 if (info->pool_ns_len > 0) { in parse_reply_info_in()
260 ceph_decode_need(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
262 *p += info->pool_ns_len; in parse_reply_info_in()
Dcaps.c4421 u32 pool_ns_len; in ceph_handle_caps() local
4429 ceph_decode_32_safe(&p, end, pool_ns_len, bad); in ceph_handle_caps()
4430 if (pool_ns_len > 0) { in ceph_handle_caps()
4431 ceph_decode_need(&p, end, pool_ns_len, bad); in ceph_handle_caps()
4433 ceph_find_or_create_string(p, pool_ns_len); in ceph_handle_caps()
4434 p += pool_ns_len; in ceph_handle_caps()
Dinode.c1010 if (iinfo->pool_ns_len > 0) in ceph_fill_inode()
1012 iinfo->pool_ns_len); in ceph_fill_inode()
Dfile.c726 iinfo.pool_ns_len = pool_ns->len; in ceph_finish_async_create()