Lines Matching refs:pos
391 char *pos = content; in hns3_dbg_fill_content() local
397 strncpy(pos, result[i], strlen(result[i])); in hns3_dbg_fill_content()
399 strncpy(pos, items[i].name, strlen(items[i].name)); in hns3_dbg_fill_content()
401 pos += strlen(items[i].name) + items[i].interval; in hns3_dbg_fill_content()
404 *pos++ = '\n'; in hns3_dbg_fill_content()
405 *pos++ = '\0'; in hns3_dbg_fill_content()
419 int len, u32 ring_num, int *pos) in hns3_dbg_tx_spare_info() argument
428 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_tx_spare_info()
436 *pos += scnprintf(buf + *pos, len - *pos, "tx spare buffer info\n"); in hns3_dbg_tx_spare_info()
439 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dbg_tx_spare_info()
454 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dbg_tx_spare_info()
525 int pos = 0; in hns3_dbg_rx_queue_info() local
538 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info()
554 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info()
628 int pos = 0; in hns3_dbg_tx_queue_info() local
641 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info()
658 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info()
661 hns3_dbg_tx_spare_info(ring, buf, len, h->kinfo.num_tqps, &pos); in hns3_dbg_tx_queue_info()
678 int pos = 0; in hns3_dbg_queue_map() local
690 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_queue_map()
703 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_queue_map()
761 int pos = 0; in hns3_dbg_rx_bd_info() local
772 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_rx_bd_info()
776 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_bd_info()
786 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_bd_info()
835 int pos = 0; in hns3_dbg_tx_bd_info() local
846 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_tx_bd_info()
850 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_bd_info()
860 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_bd_info()
867 hns3_dbg_dev_caps(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_caps() argument
874 *pos += scnprintf(buf + *pos, len - *pos, "dev capability:\n"); in hns3_dbg_dev_caps()
878 *pos += scnprintf(buf + *pos, len - *pos, "%s: %s\n", in hns3_dbg_dev_caps()
882 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hns3_dbg_dev_caps()
886 hns3_dbg_dev_specs(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_specs() argument
892 *pos += scnprintf(buf + *pos, len - *pos, "dev_spec:\n"); in hns3_dbg_dev_specs()
893 *pos += scnprintf(buf + *pos, len - *pos, "MAC entry num: %u\n", in hns3_dbg_dev_specs()
895 *pos += scnprintf(buf + *pos, len - *pos, "MNG entry num: %u\n", in hns3_dbg_dev_specs()
897 *pos += scnprintf(buf + *pos, len - *pos, "MAX non tso bd num: %u\n", in hns3_dbg_dev_specs()
899 *pos += scnprintf(buf + *pos, len - *pos, "RSS ind tbl size: %u\n", in hns3_dbg_dev_specs()
901 *pos += scnprintf(buf + *pos, len - *pos, "RSS key size: %u\n", in hns3_dbg_dev_specs()
903 *pos += scnprintf(buf + *pos, len - *pos, "RSS size: %u\n", in hns3_dbg_dev_specs()
905 *pos += scnprintf(buf + *pos, len - *pos, "Allocated RSS size: %u\n", in hns3_dbg_dev_specs()
907 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
910 *pos += scnprintf(buf + *pos, len - *pos, "RX buffer length: %u\n", in hns3_dbg_dev_specs()
912 *pos += scnprintf(buf + *pos, len - *pos, "Desc num per TX queue: %u\n", in hns3_dbg_dev_specs()
914 *pos += scnprintf(buf + *pos, len - *pos, "Desc num per RX queue: %u\n", in hns3_dbg_dev_specs()
916 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
919 *pos += scnprintf(buf + *pos, len - *pos, "MAX INT QL: %u\n", in hns3_dbg_dev_specs()
921 *pos += scnprintf(buf + *pos, len - *pos, "MAX INT GL: %u\n", in hns3_dbg_dev_specs()
923 *pos += scnprintf(buf + *pos, len - *pos, "MAX TM RATE: %u\n", in hns3_dbg_dev_specs()
925 *pos += scnprintf(buf + *pos, len - *pos, "MAX QSET number: %u\n", in hns3_dbg_dev_specs()
931 int pos = 0; in hns3_dbg_dev_info() local
933 hns3_dbg_dev_caps(h, buf, len, &pos); in hns3_dbg_dev_info()
935 hns3_dbg_dev_specs(h, buf, len, &pos); in hns3_dbg_dev_info()