/kernel/linux/linux-5.10/fs/ceph/ |
D | mdsmap.c | 70 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() 130 ceph_decode_need(p, end, 1 + 1, bad); in ceph_mdsmap_decode() 141 ceph_decode_need(p, end, 8*sizeof(u32) + sizeof(u64), bad); in ceph_mdsmap_decode() 186 ceph_decode_need(p, end, sizeof(u64) + 1, bad); in ceph_mdsmap_decode() 191 ceph_decode_need(p, end, 1 + sizeof(u32), bad); in ceph_mdsmap_decode() 199 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in ceph_mdsmap_decode() [all …]
|
D | mds_client.c | 85 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_quota() 115 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_in() 119 ceph_decode_need(p, end, sizeof(struct ceph_mds_reply_inode), bad); in parse_reply_info_in() 126 ceph_decode_need(p, end, info->symlink_len, bad); in parse_reply_info_in() 133 ceph_decode_need(p, end, info->xattr_len, bad); in parse_reply_info_in() 141 ceph_decode_need(p, end, info->inline_len, bad); in parse_reply_info_in() 151 ceph_decode_need(p, end, info->pool_ns_len, bad); in parse_reply_info_in() 157 ceph_decode_need(p, end, sizeof(info->btime), bad); in parse_reply_info_in() 172 ceph_decode_need(p, end, sizeof(info->snap_btime), bad); in parse_reply_info_in() 184 ceph_decode_need(p, end, info->inline_len, bad); in parse_reply_info_in() [all …]
|
D | snap.c | 710 ceph_decode_need(&p, e, sizeof(*ri), bad); in ceph_update_snap_trace() 713 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace() 914 ceph_decode_need(&p, e, sizeof(*ri), bad); in ceph_handle_snap()
|
D | caps.c | 4090 ceph_decode_need(&p, end, pool_ns_len, bad); in ceph_handle_caps()
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
D | decode.h | 57 #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); \ 334 ceph_decode_need(p, end, CEPH_ENCODING_START_BLK_LEN, bad); in ceph_start_decoding() 344 ceph_decode_need(p, end, *struct_len, bad); in ceph_start_decoding()
|
/kernel/linux/linux-5.10/net/ceph/ |
D | buffer.c | 48 ceph_decode_need(p, end, sizeof(u32), bad); in ceph_decode_buffer() 51 ceph_decode_need(p, end, len, bad); in ceph_decode_buffer()
|
D | auth.c | 123 ceph_decode_need(&p, end, 1 + sizeof(u32), bad); in ceph_auth_build_hello() 127 ceph_decode_need(&p, end, num * sizeof(u32), bad); in ceph_auth_build_hello() 134 ceph_decode_need(&p, end, sizeof(u64), bad); in ceph_auth_build_hello() 195 ceph_decode_need(&p, end, sizeof(u32) * 3 + sizeof(u64), bad); in ceph_handle_auth_reply() 202 ceph_decode_need(&p, end, sizeof(u32), bad); in ceph_handle_auth_reply()
|
D | osdmap.c | 59 ceph_decode_need(p, end, (1+b->h.size) * sizeof(u32), bad); in crush_decode_uniform_bucket() 77 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket() 96 ceph_decode_need(p, end, b->num_nodes * sizeof(u32), bad); in crush_decode_tree_bucket() 115 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_straw_bucket() 133 ceph_decode_need(p, end, b->h.size * sizeof(u32), bad); in crush_decode_straw2_bucket() 180 ceph_decode_need(p, end, name_len, e_inval); in DEFINE_RB_FUNCS() 277 ceph_decode_need(p, end, len * sizeof(u32), e_inval); in decode_array_32_alloc() 440 ceph_decode_need(p, end, 4*sizeof(u32), bad); in crush_decode() 496 ceph_decode_need(p, end, 4*sizeof(u32), bad); in crush_decode() 511 ceph_decode_need(p, end, b->size*sizeof(u32), bad); in crush_decode() [all …]
|
D | crypto.c | 93 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()
|
D | auth_x.c | 100 ceph_decode_need(p, end, ciphertext_len, e_inval); in ceph_x_decrypt() 177 ceph_decode_need(p, end, sizeof(u32) + 1, bad); in process_one_ticket() 233 ceph_decode_need(ptp, tpend, 1 + sizeof(u64), bad); in process_one_ticket() 417 ceph_decode_need(p, end, 1 + sizeof(u64), bad); in ceph_x_encode_ticket()
|
D | mon_client.c | 51 ceph_decode_need(&p, end, len, bad); in ceph_monmap_decode() 56 ceph_decode_need(&p, end, sizeof(fsid) + 2*sizeof(u32), bad); in ceph_monmap_decode() 754 ceph_decode_need(&p, end, 2*sizeof(u64), bad); in handle_get_version_reply() 876 ceph_decode_need(&p, end, sizeof(struct ceph_mon_request_header) + in handle_command_ack()
|
D | osd_client.c | 3452 ceph_decode_need(p, end, 1 + 1 + 4, e_inval); in ceph_oloc_decode() 3466 ceph_decode_need(p, end, len, e_inval); in ceph_oloc_decode() 3483 ceph_decode_need(p, end, len, e_inval); in ceph_oloc_decode() 3525 ceph_decode_need(p, end, 1 + 1 + 4, e_inval); in ceph_redirect_decode() 3534 ceph_decode_need(p, end, len, e_inval); in ceph_redirect_decode() 3583 ceph_decode_need(&p, end, len, e_inval); in decode_MOSDOpReply() 3592 ceph_decode_need(&p, end, sizeof(bad_replay_version), e_inval); in decode_MOSDOpReply() 3601 ceph_decode_need(&p, end, m->num_ops * sizeof(struct ceph_osd_op), in decode_MOSDOpReply() 3615 ceph_decode_need(&p, end, sizeof(m->replay_version), e_inval); in decode_MOSDOpReply() 4051 ceph_decode_need(&p, end, sizeof(fsid), bad); in ceph_osdc_handle_map() [all …]
|
/kernel/linux/linux-5.10/drivers/block/ |
D | rbd.c | 3823 ceph_decode_need(&p, end, 8 + 8, e_inval); in rbd_request_lock()
|