Lines Matching full:bad
57 #define ceph_decode_need(p, end, n, bad) \ argument
60 goto bad; \
63 #define ceph_decode_64_safe(p, end, v, bad) \ argument
65 ceph_decode_need(p, end, sizeof(u64), bad); \
68 #define ceph_decode_32_safe(p, end, v, bad) \ argument
70 ceph_decode_need(p, end, sizeof(u32), bad); \
73 #define ceph_decode_16_safe(p, end, v, bad) \ argument
75 ceph_decode_need(p, end, sizeof(u16), bad); \
78 #define ceph_decode_8_safe(p, end, v, bad) \ argument
80 ceph_decode_need(p, end, sizeof(u8), bad); \
84 #define ceph_decode_copy_safe(p, end, pv, n, bad) \ argument
86 ceph_decode_need(p, end, n, bad); \
114 ceph_decode_32_safe(&sp, end, len, bad); in ceph_extract_encoded_string()
116 goto bad; in ceph_extract_encoded_string()
132 bad: in ceph_extract_encoded_string()
139 #define ceph_decode_skip_n(p, end, n, bad) \ argument
141 ceph_decode_need(p, end, n, bad); \
145 #define ceph_decode_skip_64(p, end, bad) \ argument
146 ceph_decode_skip_n(p, end, sizeof(u64), bad)
148 #define ceph_decode_skip_32(p, end, bad) \ argument
149 ceph_decode_skip_n(p, end, sizeof(u32), bad)
151 #define ceph_decode_skip_16(p, end, bad) \ argument
152 ceph_decode_skip_n(p, end, sizeof(u16), bad)
154 #define ceph_decode_skip_8(p, end, bad) \ argument
155 ceph_decode_skip_n(p, end, sizeof(u8), bad)
157 #define ceph_decode_skip_string(p, end, bad) \ argument
161 ceph_decode_32_safe(p, end, len, bad); \
162 ceph_decode_skip_n(p, end, len, bad); \
165 #define ceph_decode_skip_set(p, end, type, bad) \ argument
169 ceph_decode_32_safe(p, end, len, bad); \
171 ceph_decode_skip_##type(p, end, bad); \
174 #define ceph_decode_skip_map(p, end, ktype, vtype, bad) \ argument
178 ceph_decode_32_safe(p, end, len, bad); \
180 ceph_decode_skip_##ktype(p, end, bad); \
181 ceph_decode_skip_##vtype(p, end, bad); \
185 #define ceph_decode_skip_map_of_map(p, end, ktype1, ktype2, vtype2, bad) \ argument
189 ceph_decode_32_safe(p, end, len, bad); \
191 ceph_decode_skip_##ktype1(p, end, bad); \
192 ceph_decode_skip_map(p, end, ktype2, vtype2, 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()
347 bad: in ceph_start_decoding()
351 #define ceph_encode_need(p, end, n, bad) \ argument
354 goto bad; \
357 #define ceph_encode_64_safe(p, end, v, bad) \ argument
359 ceph_encode_need(p, end, sizeof(u64), bad); \
362 #define ceph_encode_32_safe(p, end, v, bad) \ argument
364 ceph_encode_need(p, end, sizeof(u32), bad); \
367 #define ceph_encode_16_safe(p, end, v, bad) \ argument
369 ceph_encode_need(p, end, sizeof(u16), bad); \
372 #define ceph_encode_8_safe(p, end, v, bad) \ argument
374 ceph_encode_need(p, end, sizeof(u8), bad); \
378 #define ceph_encode_copy_safe(p, end, pv, n, bad) \ argument
380 ceph_encode_need(p, end, n, bad); \
383 #define ceph_encode_string_safe(p, end, s, n, bad) \ argument
385 ceph_encode_need(p, end, n, bad); \