Home
last modified time | relevance | path

Searched refs:rowsize (Results 1 – 22 of 22) sorted by relevance

/Linux-v6.1/lib/
Dtest_hexdump.c67 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()
[all …]
Dhexdump.c127 int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, int groupsize, in hex_dump_to_buffer() argument
137 if (rowsize != 16 && rowsize != 32) in hex_dump_to_buffer()
138 rowsize = 16; in hex_dump_to_buffer()
140 if (len > rowsize) /* limit to one line at a time */ in hex_dump_to_buffer()
141 len = rowsize; in hex_dump_to_buffer()
148 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer()
262 int rowsize, int groupsize, in print_hex_dump() argument
269 if (rowsize != 16 && rowsize != 32) in print_hex_dump()
270 rowsize = 16; in print_hex_dump()
272 for (i = 0; i < len; i += rowsize) { in print_hex_dump()
[all …]
Dseq_buf.c362 int rowsize, int groupsize, argument
370 if (rowsize != 16 && rowsize != 32)
371 rowsize = 16;
373 for (i = 0; i < len; i += rowsize) {
374 linelen = min(remaining, rowsize);
375 remaining -= rowsize;
377 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_osdep.h42 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
44 DUMP_PREFIX_OFFSET, rowsize, \
54 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
59 rowsize, groupsize, buf, \
63 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
/Linux-v6.1/include/linux/
Dprintk.h711 extern int hex_dump_to_buffer(const void *buf, size_t len, int rowsize,
716 int prefix_type, int rowsize, int groupsize,
720 int prefix_type, int rowsize, int groupsize, in print_hex_dump() argument
733 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument
735 dynamic_hex_dump(prefix_str, prefix_type, rowsize, \
738 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument
740 print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \
744 int rowsize, int groupsize, in print_hex_dump_debug() argument
Ddynamic_debug.h283 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument
288 rowsize, groupsize, buf, len, ascii)
333 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument
337 rowsize, groupsize, buf, len, ascii); \
Dtrace_seq.h96 int prefix_type, int rowsize, int groupsize,
Dseq_buf.h154 int prefix_type, int rowsize, int groupsize,
Dseq_file.h156 int rowsize, int groupsize, const void *buf, size_t len,
Dtrace_events.h51 int prefix_type, int rowsize, int groupsize,
/Linux-v6.1/drivers/crypto/caam/
Derror.c17 int rowsize, int groupsize, struct scatterlist *sg, in caam_dump_sg() argument
38 print_hex_dump_debug(prefix_str, prefix_type, rowsize, in caam_dump_sg()
47 int rowsize, int groupsize, struct scatterlist *sg, in caam_dump_sg() argument
Derror.h21 int rowsize, int groupsize, struct scatterlist *sg,
/Linux-v6.1/drivers/gpu/drm/i915/selftests/
Di915_selftest.c402 const size_t rowsize = 8 * sizeof(u32); in igt_hexdump() local
407 for (pos = 0; pos < len; pos += rowsize) { in igt_hexdump()
410 if (prev && !memcmp(prev, buf + pos, rowsize)) { in igt_hexdump()
419 rowsize, sizeof(u32), in igt_hexdump()
/Linux-v6.1/fs/
Dseq_file.c865 int rowsize, int groupsize, const void *buf, size_t len, in seq_hex_dump() argument
874 if (rowsize != 16 && rowsize != 32) in seq_hex_dump()
875 rowsize = 16; in seq_hex_dump()
877 for (i = 0; i < len && !seq_has_overflowed(m); i += rowsize) { in seq_hex_dump()
878 linelen = min(remaining, rowsize); in seq_hex_dump()
879 remaining -= rowsize; in seq_hex_dump()
894 ret = hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize, in seq_hex_dump()
/Linux-v6.1/include/trace/stages/
Dstage3_trace_output.h118 rowsize, groupsize, buf, len, ascii) \ argument
120 rowsize, groupsize, buf, len, ascii)
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv50.c508 u64 rowsize, predicted; in nv50_fb_vram_rblock() local
522 rowsize = ram->parts * banks * (1 << colbits) * 8; in nv50_fb_vram_rblock()
523 predicted = rowsize << rowbitsa; in nv50_fb_vram_rblock()
525 predicted += rowsize << rowbitsb; in nv50_fb_vram_rblock()
532 rblock_size = rowsize; in nv50_fb_vram_rblock()
/Linux-v6.1/drivers/net/wireless/ath/wil6210/
Dwil6210.h1161 #define wil_hex_dump_txrx(prefix_str, prefix_type, rowsize, \ argument
1164 prefix_type, rowsize, \
1167 #define wil_hex_dump_wmi(prefix_str, prefix_type, rowsize, \ argument
1170 prefix_type, rowsize, \
1173 #define wil_hex_dump_misc(prefix_str, prefix_type, rowsize, \ argument
1176 prefix_type, rowsize, \
1180 void wil_hex_dump_txrx(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_txrx() argument
1186 void wil_hex_dump_wmi(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_wmi() argument
1192 void wil_hex_dump_misc(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_misc() argument
Dfw_inc.c13 #define wil_hex_dump_fw(prefix_str, prefix_type, rowsize, \ argument
16 prefix_type, rowsize, \
/Linux-v6.1/kernel/trace/
Dtrace_seq.c378 int prefix_type, int rowsize, int groupsize, in trace_seq_hex_dump() argument
394 prefix_type, rowsize, groupsize, in trace_seq_hex_dump()
Dtrace_output.c280 int prefix_type, int rowsize, int groupsize, in trace_print_hex_dump_seq() argument
287 rowsize, groupsize, buf, len, ascii); in trace_print_hex_dump_seq()
/Linux-v6.1/mm/
Dkmemleak.c271 int rowsize, int groupsize, const void *buf, in warn_or_seq_hex_dump() argument
275 seq_hex_dump(seq, HEX_PREFIX, prefix_type, rowsize, groupsize, in warn_or_seq_hex_dump()
279 rowsize, groupsize, buf, len, ascii); in warn_or_seq_hex_dump()
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c1794 const size_t rowsize = 8 * sizeof(u32); in hexdump() local
1799 for (pos = 0; pos < len; pos += rowsize) { in hexdump()
1802 if (prev && !memcmp(prev, buf + pos, rowsize)) { in hexdump()
1811 rowsize, sizeof(u32), in hexdump()