Home
last modified time | relevance | path

Searched refs:ceph_decode_need (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/fs/ceph/
Dmdsmap.c70 ceph_decode_need(p, end, need, bad); \
80 ceph_decode_need(p, end, need, bad); \
91 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set()
98 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), in __decode_and_drop_compat_set()
102 ceph_decode_need(p, end, len, bad); in __decode_and_drop_compat_set()
131 ceph_decode_need(p, end, 1 + 1, bad); in ceph_mdsmap_decode()
142 ceph_decode_need(p, end, 8*sizeof(u32) + sizeof(u64), bad); in ceph_mdsmap_decode()
187 ceph_decode_need(p, end, sizeof(u64) + 1, bad); in ceph_mdsmap_decode()
192 ceph_decode_need(p, end, 1 + sizeof(u32), bad); in ceph_mdsmap_decode()
200 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in ceph_mdsmap_decode()
[all …]
Dmds_client.c87 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_quota()
117 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_in()
121 ceph_decode_need(p, end, sizeof(struct ceph_mds_reply_inode), bad); in parse_reply_info_in()
128 ceph_decode_need(p, end, info->symlink_len, bad); in parse_reply_info_in()
135 ceph_decode_need(p, end, info->xattr_len, bad); in parse_reply_info_in()
143 ceph_decode_need(p, end, info->inline_len, bad); in parse_reply_info_in()
153 ceph_decode_need(p, end, info->pool_ns_len, bad); in parse_reply_info_in()
159 ceph_decode_need(p, end, sizeof(info->btime), bad); in parse_reply_info_in()
174 ceph_decode_need(p, end, sizeof(info->snap_btime), bad); in parse_reply_info_in()
239 ceph_decode_need(p, end, info->inline_len, bad); in parse_reply_info_in()
[all …]
Dsnap.c787 ceph_decode_need(&p, e, sizeof(*ri), bad); in ceph_update_snap_trace()
790 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace()
1052 ceph_decode_need(&p, e, sizeof(*ri), bad); in ceph_handle_snap()
Dcaps.c4183 ceph_decode_need(p, end, extra->fscrypt_auth_len, bad); in parse_fscrypt_fields()
4317 ceph_decode_need(&p, end, pool_ns_len, bad); in ceph_handle_caps()
/linux-6.6.21/include/linux/ceph/
Ddecode.h57 #define ceph_decode_need(p, end, n, bad) \ macro
65 ceph_decode_need(p, end, sizeof(u64), bad); \
70 ceph_decode_need(p, end, sizeof(u32), bad); \
75 ceph_decode_need(p, end, sizeof(u16), bad); \
80 ceph_decode_need(p, end, sizeof(u8), bad); \
86 ceph_decode_need(p, end, n, bad); \
141 ceph_decode_need(p, end, n, bad); \
342 ceph_decode_need(p, end, CEPH_ENCODING_START_BLK_LEN, bad); in ceph_start_decoding()
352 ceph_decode_need(p, end, *struct_len, bad); in ceph_start_decoding()
/linux-6.6.21/net/ceph/
Dbuffer.c48 ceph_decode_need(p, end, sizeof(u32), bad); in ceph_decode_buffer()
51 ceph_decode_need(p, end, len, bad); in ceph_decode_buffer()
Dosdmap.c75 ceph_decode_need(p, end, (1+b->h.size) * sizeof(u32), bad); in crush_decode_uniform_bucket()
93 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket()
112 ceph_decode_need(p, end, b->num_nodes * sizeof(u32), bad); in crush_decode_tree_bucket()
131 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_straw_bucket()
149 ceph_decode_need(p, end, b->h.size * sizeof(u32), bad); in crush_decode_straw2_bucket()
196 ceph_decode_need(p, end, name_len, e_inval); in DEFINE_RB_FUNCS()
293 ceph_decode_need(p, end, len * sizeof(u32), e_inval); in decode_array_32_alloc()
456 ceph_decode_need(p, end, 4*sizeof(u32), bad); in crush_decode()
512 ceph_decode_need(p, end, 4*sizeof(u32), bad); in crush_decode()
527 ceph_decode_need(p, end, b->size*sizeof(u32), bad); in crush_decode()
[all …]
Dauth.c139 ceph_decode_need(&p, end, 1 + sizeof(u32), bad); in ceph_auth_build_hello()
143 ceph_decode_need(&p, end, num * sizeof(u32), bad); in ceph_auth_build_hello()
150 ceph_decode_need(&p, end, sizeof(u64), bad); in ceph_auth_build_hello()
215 ceph_decode_need(&p, end, sizeof(u32) * 3 + sizeof(u64), bad); in ceph_handle_auth_reply()
222 ceph_decode_need(&p, end, sizeof(u32), bad); in ceph_handle_auth_reply()
Dauth_x.c103 ceph_decode_need(p, end, ciphertext_len, e_inval); in ceph_x_decrypt()
180 ceph_decode_need(p, end, sizeof(u32) + 1, bad); in process_one_ticket()
211 ceph_decode_need(&dp, dend, sizeof(struct ceph_timespec), bad); in process_one_ticket()
237 ceph_decode_need(ptp, tpend, 1 + sizeof(u64), bad); in process_one_ticket()
421 ceph_decode_need(p, end, 1 + sizeof(u64), bad); in ceph_x_encode_ticket()
578 ceph_decode_need(p, end, len, bad); in decode_con_secret()
Dcrypto.c93 ceph_decode_need(p, end, 2*sizeof(u16) + sizeof(key->created), bad); in ceph_crypto_key_decode()
97 ceph_decode_need(p, end, key->len, bad); in ceph_crypto_key_decode()
Dosd_client.c3567 ceph_decode_need(p, end, 1 + 1 + 4, e_inval); in ceph_oloc_decode()
3581 ceph_decode_need(p, end, len, e_inval); in ceph_oloc_decode()
3598 ceph_decode_need(p, end, len, e_inval); in ceph_oloc_decode()
3640 ceph_decode_need(p, end, 1 + 1 + 4, e_inval); in ceph_redirect_decode()
3649 ceph_decode_need(p, end, len, e_inval); in ceph_redirect_decode()
3698 ceph_decode_need(&p, end, len, e_inval); in decode_MOSDOpReply()
3707 ceph_decode_need(&p, end, sizeof(bad_replay_version), e_inval); in decode_MOSDOpReply()
3716 ceph_decode_need(&p, end, m->num_ops * sizeof(struct ceph_osd_op), in decode_MOSDOpReply()
3730 ceph_decode_need(&p, end, sizeof(m->replay_version), e_inval); in decode_MOSDOpReply()
4169 ceph_decode_need(&p, end, sizeof(fsid), bad); in ceph_osdc_handle_map()
[all …]
Dmon_client.c83 ceph_decode_need(p, end, blob_len, e_inval); in ceph_monmap_decode()
827 ceph_decode_need(&p, end, 2*sizeof(u64), bad); in handle_get_version_reply()
949 ceph_decode_need(&p, end, sizeof(struct ceph_mon_request_header) + in handle_command_ack()
Dmessenger_v2.c2363 ceph_decode_need(&p, end, payload_len, bad); in process_auth_reply_more()
2469 ceph_decode_need(&p, end, SHA256_DIGEST_SIZE, bad); in process_auth_signature()
2760 ceph_decode_need(&p, end, sizeof(struct ceph_timespec), bad); in process_keepalive2_ack()
/linux-6.6.21/drivers/block/
Drbd.c3784 ceph_decode_need(&p, end, 8 + 8, e_inval); in rbd_request_lock()