26 #include <linux/kernel.h> 44 #define CHAR_MIN (-(CHAR_MAX) - 1) 46 #define UCHAR_MAX (~0) 48 #define SHRT_MIN SHORT_MIN 51 #define SHRT_MAX SHORT_MAX 54 #define USHRT_MAX USHORT_MAX 119 unsigned long long ull,
201 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
204 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
207 -1, 1, -1, 1, -1, 1, -1, 1, -1, 1);
210 42, 42, 42, 42, 42, 42, 42, 42, 42, 42);
213 INT_MIN, 0, LONG_MIN, 0,
218 INT_MAX, UINT_MAX, LONG_MAX, ULONG_MAX,
#define M0_BUFVEC_INIT_BUF(addr_ptr, count_ptr)
m0_bcount_t m0_net_test_serialize(enum m0_net_test_serialize_op op, void *obj, const struct m0_net_test_descr descr[], size_t descr_nr, struct m0_bufvec *bv, m0_bcount_t bv_offset)
static void simple_struct_test(char c, unsigned char uc, short s, unsigned short us, int i, unsigned int ui, long l, unsigned long ul, long long ll, unsigned long long ull, int8_t i8, uint8_t u8, int16_t i16, uint16_t u16, int32_t i32, uint32_t u32, int64_t i64, uint64_t u64)
TYPE_DESCR(simple_struct)
static struct m0_addb2_callback c
unsigned long long ss_ull
#define FIELD_DESCR(type, field)
void m0_net_test_serialize_ut(void)
static struct m0_clink l[NR]
static struct m0_addb2_source * s
#define USE_TYPE_DESCR(type_name)
static m0_bcount_t simple_struct_serialize(enum m0_net_test_serialize_op op, struct simple_struct *ss, struct m0_bufvec *bv, m0_bcount_t bv_offset)