Lines Matching refs:rowsize
67 static void __init test_hexdump_prepare_test(size_t len, int rowsize, in test_hexdump_prepare_test() argument
74 int gs = groupsize, rs = rowsize; in test_hexdump_prepare_test()
125 static void __init test_hexdump(size_t len, int rowsize, int groupsize, in test_hexdump() argument
134 hex_dump_to_buffer(data_b, len, rowsize, groupsize, real, sizeof(real), in test_hexdump()
138 test_hexdump_prepare_test(len, rowsize, groupsize, test, sizeof(test), in test_hexdump()
142 pr_err("Len: %zu row: %d group: %d\n", len, rowsize, groupsize); in test_hexdump()
149 static void __init test_hexdump_set(int rowsize, bool ascii) in test_hexdump_set() argument
151 size_t d = min_t(size_t, sizeof(data_b), rowsize); in test_hexdump_set()
154 test_hexdump(len, rowsize, 4, ascii); in test_hexdump_set()
155 test_hexdump(len, rowsize, 2, ascii); in test_hexdump_set()
156 test_hexdump(len, rowsize, 8, ascii); in test_hexdump_set()
157 test_hexdump(len, rowsize, 1, ascii); in test_hexdump_set()
161 int rowsize, int groupsize, in test_hexdump_overflow() argument
166 int rs = rowsize, gs = groupsize; in test_hexdump_overflow()
224 int rowsize; in test_hexdump_init() local
226 rowsize = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_init()
228 test_hexdump_set(rowsize, false); in test_hexdump_init()
230 rowsize = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_init()
232 test_hexdump_set(rowsize, true); in test_hexdump_init()