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