/linux-6.6.21/lib/ |
D | test_hexdump.c | 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() [all …]
|
D | hexdump.c | 127 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 …]
|
D | seq_buf.c | 394 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/ |
D | ice_osdep.h | 42 #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/ |
D | tdx_guest_test.c | 115 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/ |
D | printk.h | 709 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
|
D | dynamic_debug.h | 284 #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); \
|
D | trace_seq.h | 96 int prefix_type, int rowsize, int groupsize,
|
D | seq_buf.h | 154 int prefix_type, int rowsize, int groupsize,
|
D | seq_file.h | 156 int rowsize, int groupsize, const void *buf, size_t len,
|
D | trace_events.h | 51 int prefix_type, int rowsize, int groupsize,
|
/linux-6.6.21/drivers/crypto/caam/ |
D | error.c | 17 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
|
D | error.h | 21 int rowsize, int groupsize, struct scatterlist *sg,
|
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ |
D | i915_selftest.c | 433 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/ |
D | seq_file.c | 865 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/ |
D | stage3_trace_output.h | 124 rowsize, groupsize, buf, len, ascii) \ argument 126 rowsize, groupsize, buf, len, ascii)
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramnv50.c | 508 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/ |
D | wil6210.h | 1161 #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
|
D | fw_inc.c | 13 #define wil_hex_dump_fw(prefix_str, prefix_type, rowsize, \ argument 16 prefix_type, rowsize, \
|
/linux-6.6.21/kernel/trace/ |
D | trace_seq.c | 379 int prefix_type, int rowsize, int groupsize, in trace_seq_hex_dump() argument 395 prefix_type, rowsize, groupsize, in trace_seq_hex_dump()
|
D | trace_output.c | 282 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/ |
D | kmemleak.c | 278 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/ |
D | intel_engine_cs.c | 2020 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()
|