Home
last modified time | relevance | path

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

/linux-6.6.21/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.c394 int rowsize, int groupsize, argument
402 if (rowsize != 16 && rowsize != 32)
403 rowsize = 16;
405 for (i = 0; i < len; i += rowsize) {
406 linelen = min(remaining, rowsize);
407 remaining -= rowsize;
409 hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,
/linux-6.6.21/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-6.6.21/tools/testing/selftests/tdx/
Dtdx_guest_test.c115 int i, j, line_len, rowsize = HEX_DUMP_SIZE; in print_array_hex() local
120 for (j = 0; j < len; j += rowsize) { in print_array_hex()
121 line_len = rowsize < (len - j) ? rowsize : (len - j); in print_array_hex()
/linux-6.6.21/include/linux/
Dprintk.h709 extern int hex_dump_to_buffer(const void *buf, size_t len, int rowsize,
714 int prefix_type, int rowsize, int groupsize,
718 int prefix_type, int rowsize, int groupsize, in print_hex_dump() argument
731 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument
733 dynamic_hex_dump(prefix_str, prefix_type, rowsize, \
736 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument
738 print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \
742 int rowsize, int groupsize, in print_hex_dump_debug() argument
Ddynamic_debug.h284 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument
289 rowsize, groupsize, buf, len, ascii)
311 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument
315 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-6.6.21/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-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_selftest.c433 const size_t rowsize = 8 * sizeof(u32); in igt_hexdump() local
438 for (pos = 0; pos < len; pos += rowsize) { in igt_hexdump()
441 if (prev && !memcmp(prev, buf + pos, rowsize)) { in igt_hexdump()
450 rowsize, sizeof(u32), in igt_hexdump()
/linux-6.6.21/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-6.6.21/include/trace/stages/
Dstage3_trace_output.h124 rowsize, groupsize, buf, len, ascii) \ argument
126 rowsize, groupsize, buf, len, ascii)
/linux-6.6.21/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-6.6.21/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-6.6.21/kernel/trace/
Dtrace_seq.c379 int prefix_type, int rowsize, int groupsize, in trace_seq_hex_dump() argument
395 prefix_type, rowsize, groupsize, in trace_seq_hex_dump()
Dtrace_output.c282 int prefix_type, int rowsize, int groupsize, in trace_print_hex_dump_seq() argument
289 rowsize, groupsize, buf, len, ascii); in trace_print_hex_dump_seq()
/linux-6.6.21/mm/
Dkmemleak.c278 int rowsize, int groupsize, const void *buf, in warn_or_seq_hex_dump() argument
282 seq_hex_dump(seq, HEX_PREFIX, prefix_type, rowsize, groupsize, in warn_or_seq_hex_dump()
286 rowsize, groupsize, buf, len, ascii); in warn_or_seq_hex_dump()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c2020 const size_t rowsize = 8 * sizeof(u32); in hexdump() local
2025 for (pos = 0; pos < len; pos += rowsize) { in hexdump()
2028 if (prev && !memcmp(prev, buf + pos, rowsize)) { in hexdump()
2037 rowsize, sizeof(u32), in hexdump()