/linux/lib/ |
A D | test_hexdump.c | 74 int gs = groupsize, rs = rowsize; in test_hexdump_prepare_test() 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_int() % 2 + 1) * 16; in test_hexdump_init() 228 test_hexdump_set(rowsize, false); in test_hexdump_init() [all …]
|
A D | hexdump.c | 116 if (rowsize != 16 && rowsize != 32) in hex_dump_to_buffer() 117 rowsize = 16; in hex_dump_to_buffer() 119 if (len > rowsize) /* limit to one line at a time */ in hex_dump_to_buffer() 120 len = rowsize; in hex_dump_to_buffer() 127 ascii_column = rowsize * 2 + rowsize / groupsize + 1; in hex_dump_to_buffer() 241 int rowsize, int groupsize, in print_hex_dump() argument 248 if (rowsize != 16 && rowsize != 32) in print_hex_dump() 249 rowsize = 16; in print_hex_dump() 251 for (i = 0; i < len; i += rowsize) { in print_hex_dump() 252 linelen = min(remaining, rowsize); in print_hex_dump() [all …]
|
A D | seq_buf.c | 362 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/drivers/net/ethernet/intel/ice/ |
A D | ice_osdep.h | 34 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument 36 DUMP_PREFIX_OFFSET, rowsize, \ 46 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument 51 rowsize, groupsize, buf, \ 55 #define ice_debug_array(hw, type, rowsize, groupsize, buf, len) \ argument
|
/linux/include/linux/ |
A D | printk.h | 704 extern int hex_dump_to_buffer(const void *buf, size_t len, int rowsize, 709 int prefix_type, int rowsize, int groupsize, 713 int prefix_type, int rowsize, int groupsize, in print_hex_dump() argument 726 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument 728 dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ 731 #define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \ argument 733 print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \ 737 int rowsize, int groupsize, in print_hex_dump_debug() argument
|
A D | dynamic_debug.h | 177 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument 182 rowsize, groupsize, buf, len, ascii) 217 #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ argument 221 rowsize, groupsize, buf, len, ascii); \
|
A D | trace_seq.h | 96 int prefix_type, int rowsize, int groupsize,
|
A D | seq_buf.h | 154 int prefix_type, int rowsize, int groupsize,
|
A D | seq_file.h | 156 int rowsize, int groupsize, const void *buf, size_t len,
|
A D | trace_events.h | 50 int prefix_type, int rowsize, int groupsize,
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_selftest.c | 401 const size_t rowsize = 8 * sizeof(u32); in igt_hexdump() local 406 for (pos = 0; pos < len; pos += rowsize) { in igt_hexdump() 409 if (prev && !memcmp(prev, buf + pos, rowsize)) { in igt_hexdump() 418 rowsize, sizeof(u32), in igt_hexdump()
|
/linux/drivers/crypto/caam/ |
A 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
|
A D | error.h | 21 int rowsize, int groupsize, struct scatterlist *sg,
|
/linux/fs/ |
A 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/drivers/net/wireless/ath/wil6210/ |
A D | wil6210.h | 1162 #define wil_hex_dump_txrx(prefix_str, prefix_type, rowsize, \ argument 1165 prefix_type, rowsize, \ 1168 #define wil_hex_dump_wmi(prefix_str, prefix_type, rowsize, \ argument 1171 prefix_type, rowsize, \ 1174 #define wil_hex_dump_misc(prefix_str, prefix_type, rowsize, \ argument 1177 prefix_type, rowsize, \ 1181 void wil_hex_dump_txrx(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_txrx() argument 1187 void wil_hex_dump_wmi(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_wmi() argument 1193 void wil_hex_dump_misc(const char *prefix_str, int prefix_type, int rowsize, in wil_hex_dump_misc() argument
|
A D | fw_inc.c | 13 #define wil_hex_dump_fw(prefix_str, prefix_type, rowsize, \ argument 16 prefix_type, rowsize, \
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
A 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/kernel/trace/ |
A D | trace_seq.c | 378 int prefix_type, int rowsize, int groupsize, in trace_seq_hex_dump() argument 394 prefix_type, rowsize, groupsize, in trace_seq_hex_dump()
|
A D | trace_output.c | 280 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/mm/ |
A D | kmemleak.c | 265 int rowsize, int groupsize, const void *buf, in warn_or_seq_hex_dump() argument 269 seq_hex_dump(seq, HEX_PREFIX, prefix_type, rowsize, groupsize, in warn_or_seq_hex_dump() 273 rowsize, groupsize, buf, len, ascii); in warn_or_seq_hex_dump()
|
/linux/include/trace/ |
A D | trace_events.h | 363 rowsize, groupsize, buf, len, ascii) \ argument 365 rowsize, groupsize, buf, len, ascii)
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_engine_cs.c | 1495 const size_t rowsize = 8 * sizeof(u32); in hexdump() local 1500 for (pos = 0; pos < len; pos += rowsize) { in hexdump() 1503 if (prev && !memcmp(prev, buf + pos, rowsize)) { in hexdump() 1512 rowsize, sizeof(u32), in hexdump()
|