Lines Matching refs:pos

445 	char *pos = content;  in hns3_dbg_fill_content()  local
452 *pos++ = '\0'; in hns3_dbg_fill_content()
467 memcpy(pos, result[i], strlen(result[i])); in hns3_dbg_fill_content()
469 memcpy(pos, items[i].name, strlen(items[i].name)); in hns3_dbg_fill_content()
471 pos += item_len; in hns3_dbg_fill_content()
474 *pos++ = '\n'; in hns3_dbg_fill_content()
475 *pos++ = '\0'; in hns3_dbg_fill_content()
529 int *pos, bool is_tx) in hns3_dump_coal_info() argument
541 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dump_coal_info()
546 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dump_coal_info()
554 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dump_coal_info()
560 int pos = 0; in hns3_dbg_coal_info() local
562 hns3_dump_coal_info(h, buf, len, &pos, true); in hns3_dbg_coal_info()
563 pos += scnprintf(buf + pos, len - pos, "\n"); in hns3_dbg_coal_info()
564 hns3_dump_coal_info(h, buf, len, &pos, false); in hns3_dbg_coal_info()
580 int len, u32 ring_num, int *pos) in hns3_dbg_tx_spare_info() argument
589 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_tx_spare_info()
597 *pos += scnprintf(buf + *pos, len - *pos, "tx spare buffer info\n"); in hns3_dbg_tx_spare_info()
600 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dbg_tx_spare_info()
615 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hns3_dbg_tx_spare_info()
686 int pos = 0; in hns3_dbg_rx_queue_info() local
699 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info()
715 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_queue_info()
789 int pos = 0; in hns3_dbg_tx_queue_info() local
802 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info()
819 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_queue_info()
822 hns3_dbg_tx_spare_info(ring, buf, len, h->kinfo.num_tqps, &pos); in hns3_dbg_tx_queue_info()
839 int pos = 0; in hns3_dbg_queue_map() local
851 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_queue_map()
864 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_queue_map()
922 int pos = 0; in hns3_dbg_rx_bd_info() local
933 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_rx_bd_info()
937 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_bd_info()
947 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_rx_bd_info()
995 int pos = 0; in hns3_dbg_tx_bd_info() local
1006 pos += scnprintf(buf + pos, len - pos, in hns3_dbg_tx_bd_info()
1010 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_bd_info()
1020 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_tx_bd_info()
1027 hns3_dbg_dev_caps(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_caps() argument
1034 *pos += scnprintf(buf + *pos, len - *pos, "dev capability:\n"); in hns3_dbg_dev_caps()
1038 *pos += scnprintf(buf + *pos, len - *pos, "%s: %s\n", in hns3_dbg_dev_caps()
1042 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hns3_dbg_dev_caps()
1046 hns3_dbg_dev_specs(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_specs() argument
1053 *pos += scnprintf(buf + *pos, len - *pos, "dev_spec:\n"); in hns3_dbg_dev_specs()
1054 *pos += scnprintf(buf + *pos, len - *pos, "MAC entry num: %u\n", in hns3_dbg_dev_specs()
1056 *pos += scnprintf(buf + *pos, len - *pos, "MNG entry num: %u\n", in hns3_dbg_dev_specs()
1058 *pos += scnprintf(buf + *pos, len - *pos, "MAX non tso bd num: %u\n", in hns3_dbg_dev_specs()
1060 *pos += scnprintf(buf + *pos, len - *pos, "RSS ind tbl size: %u\n", in hns3_dbg_dev_specs()
1062 *pos += scnprintf(buf + *pos, len - *pos, "RSS key size: %u\n", in hns3_dbg_dev_specs()
1064 *pos += scnprintf(buf + *pos, len - *pos, "RSS size: %u\n", in hns3_dbg_dev_specs()
1066 *pos += scnprintf(buf + *pos, len - *pos, "Allocated RSS size: %u\n", in hns3_dbg_dev_specs()
1068 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
1071 *pos += scnprintf(buf + *pos, len - *pos, "RX buffer length: %u\n", in hns3_dbg_dev_specs()
1073 *pos += scnprintf(buf + *pos, len - *pos, "Desc num per TX queue: %u\n", in hns3_dbg_dev_specs()
1075 *pos += scnprintf(buf + *pos, len - *pos, "Desc num per RX queue: %u\n", in hns3_dbg_dev_specs()
1077 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
1080 *pos += scnprintf(buf + *pos, len - *pos, "MAX INT QL: %u\n", in hns3_dbg_dev_specs()
1082 *pos += scnprintf(buf + *pos, len - *pos, "MAX INT GL: %u\n", in hns3_dbg_dev_specs()
1084 *pos += scnprintf(buf + *pos, len - *pos, "MAX TM RATE: %u\n", in hns3_dbg_dev_specs()
1086 *pos += scnprintf(buf + *pos, len - *pos, "MAX QSET number: %u\n", in hns3_dbg_dev_specs()
1088 *pos += scnprintf(buf + *pos, len - *pos, "umv size: %u\n", in hns3_dbg_dev_specs()
1090 *pos += scnprintf(buf + *pos, len - *pos, "mc mac size: %u\n", in hns3_dbg_dev_specs()
1092 *pos += scnprintf(buf + *pos, len - *pos, "MAC statistics number: %u\n", in hns3_dbg_dev_specs()
1094 *pos += scnprintf(buf + *pos, len - *pos, in hns3_dbg_dev_specs()
1101 int pos = 0; in hns3_dbg_dev_info() local
1103 hns3_dbg_dev_caps(h, buf, len, &pos); in hns3_dbg_dev_info()
1105 hns3_dbg_dev_specs(h, buf, len, &pos); in hns3_dbg_dev_info()
1144 int pos = 0; in hns3_dbg_page_pool_info() local
1162 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_page_pool_info()
1173 pos += scnprintf(buf + pos, len - pos, "%s", content); in hns3_dbg_page_pool_info()