Lines Matching refs:pos

425 	char *pos = content;  in hns3_dbg_fill_content()  local
431 strncpy(pos, result[i], strlen(result[i])); in hns3_dbg_fill_content()
433 strncpy(pos, items[i].name, strlen(items[i].name)); in hns3_dbg_fill_content()
435 pos += strlen(items[i].name) + items[i].interval; in hns3_dbg_fill_content()
438 *pos++ = '\n'; in hns3_dbg_fill_content()
439 *pos++ = '\0'; in hns3_dbg_fill_content()
490 int *pos, bool is_tx) in hns3_dump_coal_info() argument
502 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dump_coal_info()
507 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dump_coal_info()
515 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dump_coal_info()
521 int pos = 0; in hns3_dbg_coal_info() local
523 hns3_dump_coal_info(h, buf, len, &pos, true); in hns3_dbg_coal_info()
524 pos += scnprintf(buf + pos, len - pos, "\n"); in hns3_dbg_coal_info()
525 hns3_dump_coal_info(h, buf, len, &pos, false); in hns3_dbg_coal_info()
541 int len, u32 ring_num, int *pos) in hns3_dbg_tx_spare_info() argument
550 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_tx_spare_info()
558 *pos += scnprintf(buf + *pos, len - *pos, "tx spare buffer info\n"); in hns3_dbg_tx_spare_info()
561 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dbg_tx_spare_info()
576 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dbg_tx_spare_info()
647 int pos = 0; in hns3_dbg_rx_queue_info() local
660 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info()
676 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info()
750 int pos = 0; in hns3_dbg_tx_queue_info() local
763 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info()
780 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info()
783 hns3_dbg_tx_spare_info(ring, buf, len, h->kinfo.num_tqps, &pos); in hns3_dbg_tx_queue_info()
800 int pos = 0; in hns3_dbg_queue_map() local
812 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_queue_map()
825 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_queue_map()
883 int pos = 0; in hns3_dbg_rx_bd_info() local
894 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_rx_bd_info()
898 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_bd_info()
908 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_bd_info()
957 int pos = 0; in hns3_dbg_tx_bd_info() local
968 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_tx_bd_info()
972 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_bd_info()
982 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_bd_info()
989 hns3_dbg_dev_caps(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_caps() argument
996 *pos += scnprintf(buf + *pos, len - *pos, "dev capability:\n"); in hns3_dbg_dev_caps()
1000 *pos += scnprintf(buf + *pos, len - *pos, "%s: %s\n", in hns3_dbg_dev_caps()
1004 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hns3_dbg_dev_caps()
1008 hns3_dbg_dev_specs(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_specs() argument
1014 *pos += scnprintf(buf + *pos, len - *pos, "dev_spec:\n"); in hns3_dbg_dev_specs()
1015 *pos += scnprintf(buf + *pos, len - *pos, "MAC entry num: %u\n", in hns3_dbg_dev_specs()
1017 *pos += scnprintf(buf + *pos, len - *pos, "MNG entry num: %u\n", in hns3_dbg_dev_specs()
1019 *pos += scnprintf(buf + *pos, len - *pos, "MAX non tso bd num: %u\n", in hns3_dbg_dev_specs()
1021 *pos += scnprintf(buf + *pos, len - *pos, "RSS ind tbl size: %u\n", in hns3_dbg_dev_specs()
1023 *pos += scnprintf(buf + *pos, len - *pos, "RSS key size: %u\n", in hns3_dbg_dev_specs()
1025 *pos += scnprintf(buf + *pos, len - *pos, "RSS size: %u\n", in hns3_dbg_dev_specs()
1027 *pos += scnprintf(buf + *pos, len - *pos, "Allocated RSS size: %u\n", in hns3_dbg_dev_specs()
1029 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
1032 *pos += scnprintf(buf + *pos, len - *pos, "RX buffer length: %u\n", in hns3_dbg_dev_specs()
1034 *pos += scnprintf(buf + *pos, len - *pos, "Desc num per TX queue: %u\n", in hns3_dbg_dev_specs()
1036 *pos += scnprintf(buf + *pos, len - *pos, "Desc num per RX queue: %u\n", in hns3_dbg_dev_specs()
1038 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
1041 *pos += scnprintf(buf + *pos, len - *pos, "MAX INT QL: %u\n", in hns3_dbg_dev_specs()
1043 *pos += scnprintf(buf + *pos, len - *pos, "MAX INT GL: %u\n", in hns3_dbg_dev_specs()
1045 *pos += scnprintf(buf + *pos, len - *pos, "MAX TM RATE: %u\n", in hns3_dbg_dev_specs()
1047 *pos += scnprintf(buf + *pos, len - *pos, "MAX QSET number: %u\n", in hns3_dbg_dev_specs()
1049 *pos += scnprintf(buf + *pos, len - *pos, "umv size: %u\n", in hns3_dbg_dev_specs()
1051 *pos += scnprintf(buf + *pos, len - *pos, "mc mac size: %u\n", in hns3_dbg_dev_specs()
1053 *pos += scnprintf(buf + *pos, len - *pos, "MAC statistics number: %u\n", in hns3_dbg_dev_specs()
1059 int pos = 0; in hns3_dbg_dev_info() local
1061 hns3_dbg_dev_caps(h, buf, len, &pos); in hns3_dbg_dev_info()
1063 hns3_dbg_dev_specs(h, buf, len, &pos); in hns3_dbg_dev_info()
1102 int pos = 0; in hns3_dbg_page_pool_info() local
1120 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_page_pool_info()
1131 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_page_pool_info()