Lines Matching refs:bufsz
2555 size_t bufsz; in iwl_dbgfs_tx_queue_read() local
2557 bufsz = sizeof(char) * 75 * in iwl_dbgfs_tx_queue_read()
2563 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_tx_queue_read()
2571 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_tx_queue_read()
2592 size_t bufsz = sizeof(buf); in iwl_dbgfs_rx_queue_read() local
2594 bufsz = sizeof(char) * 121 * trans->num_rx_queues; in iwl_dbgfs_rx_queue_read()
2599 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_rx_queue_read()
2603 for (i = 0; i < trans->num_rx_queues && pos < bufsz; i++) { in iwl_dbgfs_rx_queue_read()
2606 pos += scnprintf(buf + pos, bufsz - pos, "queue#: %2d\n", in iwl_dbgfs_rx_queue_read()
2608 pos += scnprintf(buf + pos, bufsz - pos, "\tread: %u\n", in iwl_dbgfs_rx_queue_read()
2610 pos += scnprintf(buf + pos, bufsz - pos, "\twrite: %u\n", in iwl_dbgfs_rx_queue_read()
2612 pos += scnprintf(buf + pos, bufsz - pos, "\twrite_actual: %u\n", in iwl_dbgfs_rx_queue_read()
2614 pos += scnprintf(buf + pos, bufsz - pos, "\tneed_update: %2d\n", in iwl_dbgfs_rx_queue_read()
2616 pos += scnprintf(buf + pos, bufsz - pos, "\tfree_count: %u\n", in iwl_dbgfs_rx_queue_read()
2621 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rx_queue_read()
2625 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rx_queue_read()
2645 int bufsz = 24 * 64; /* 24 items * 64 char per item */ in iwl_dbgfs_interrupt_read() local
2648 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_interrupt_read()
2652 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_interrupt_read()
2655 pos += scnprintf(buf + pos, bufsz - pos, "HW Error:\t\t\t %u\n", in iwl_dbgfs_interrupt_read()
2657 pos += scnprintf(buf + pos, bufsz - pos, "SW Error:\t\t\t %u\n", in iwl_dbgfs_interrupt_read()
2660 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_interrupt_read()
2665 pos += scnprintf(buf + pos, bufsz - pos, "Frame transmitted:\t\t %u\n", in iwl_dbgfs_interrupt_read()
2667 pos += scnprintf(buf + pos, bufsz - pos, "Alive interrupt:\t\t %u\n", in iwl_dbgfs_interrupt_read()
2670 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_interrupt_read()
2673 pos += scnprintf(buf + pos, bufsz - pos, "CT KILL:\t\t\t %u\n", in iwl_dbgfs_interrupt_read()
2676 pos += scnprintf(buf + pos, bufsz - pos, "Wakeup Interrupt:\t\t %u\n", in iwl_dbgfs_interrupt_read()
2679 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_interrupt_read()
2682 pos += scnprintf(buf + pos, bufsz - pos, "Tx/FH interrupt:\t\t %u\n", in iwl_dbgfs_interrupt_read()
2685 pos += scnprintf(buf + pos, bufsz - pos, "Unexpected INTA:\t\t %u\n", in iwl_dbgfs_interrupt_read()