Lines Matching refs:struct_len
77 u32 struct_len; in parse_reply_info_quota() local
85 ceph_decode_32_safe(p, end, struct_len, bad); in parse_reply_info_quota()
86 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_quota()
87 end = *p + struct_len; in parse_reply_info_quota()
107 u32 struct_len; in parse_reply_info_in() local
115 ceph_decode_32_safe(p, end, struct_len, bad); in parse_reply_info_in()
116 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_in()
117 end = *p + struct_len; in parse_reply_info_in()
240 u32 struct_len; in parse_reply_info_dir() local
247 ceph_decode_32_safe(p, end, struct_len, bad); in parse_reply_info_dir()
248 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_dir()
249 end = *p + struct_len; in parse_reply_info_dir()
270 u32 struct_len; in parse_reply_info_lease() local
277 ceph_decode_32_safe(p, end, struct_len, bad); in parse_reply_info_lease()
278 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_lease()
279 end = *p + struct_len; in parse_reply_info_lease()
3996 size_t struct_len, total_len = sizeof(u64); in reconnect_caps_cb() local
4037 struct_len = 2 * sizeof(u32) + in reconnect_caps_cb()
4040 rec.v2.flock_len = cpu_to_le32(struct_len); in reconnect_caps_cb()
4042 struct_len += sizeof(u32) + pathlen + sizeof(rec.v2); in reconnect_caps_cb()
4045 struct_len += sizeof(u64); /* snap_follows */ in reconnect_caps_cb()
4047 total_len += struct_len; in reconnect_caps_cb()
4064 ceph_pagelist_encode_32(pagelist, struct_len); in reconnect_caps_cb()