Lines Matching full:bad
45 #define __decode_and_drop_type(p, end, type, bad) \ argument
48 goto bad; \
52 #define __decode_and_drop_set(p, end, type, bad) \ argument
56 ceph_decode_32_safe(p, end, n, bad); \
58 ceph_decode_need(p, end, need, bad); \
62 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument
66 ceph_decode_32_safe(p, end, n, bad); \
68 ceph_decode_need(p, end, need, bad); \
79 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set()
87 bad); in __decode_and_drop_compat_set()
90 ceph_decode_need(p, end, len, bad); in __decode_and_drop_compat_set()
95 bad: in __decode_and_drop_compat_set()
118 ceph_decode_need(p, end, 1 + 1, bad); in ceph_mdsmap_decode()
123 ceph_decode_32_safe(p, end, mdsmap_len, bad); in ceph_mdsmap_decode()
125 goto bad; in ceph_mdsmap_decode()
129 ceph_decode_need(p, end, 8*sizeof(u32) + sizeof(u64), bad); in ceph_mdsmap_decode()
159 ceph_decode_need(p, end, sizeof(u64) + 1, bad); in ceph_mdsmap_decode()
165 ceph_decode_need(p, end, 1 + sizeof(u32), bad); in ceph_mdsmap_decode()
170 goto bad; in ceph_mdsmap_decode()
173 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in ceph_mdsmap_decode()
181 bad); in ceph_mdsmap_decode()
191 ceph_decode_32_safe(p, end, namelen, bad); in ceph_mdsmap_decode()
194 ceph_decode_32_safe(p, end, num_export_targets, bad); in ceph_mdsmap_decode()
203 goto bad; in ceph_mdsmap_decode()
255 ceph_decode_32_safe(p, end, n, bad); in ceph_mdsmap_decode()
260 ceph_decode_need(p, end, sizeof(u64)*(n+1), bad); in ceph_mdsmap_decode()
369 bad: in ceph_mdsmap_decode()