Home
last modified time | relevance | path

Searched refs:printf_buf (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_debugfs.c259 char printf_buf[HNS3_DBG_BUF_LEN]; in hns3_dbg_help() local
289 memset(printf_buf, 0, HNS3_DBG_BUF_LEN); in hns3_dbg_help()
290 strncat(printf_buf, "dump reg [[bios common] [ssu <port_id>]", in hns3_dbg_help()
292 strncat(printf_buf + strlen(printf_buf), in hns3_dbg_help()
294 HNS3_DBG_BUF_LEN - strlen(printf_buf) - 1); in hns3_dbg_help()
295 strncat(printf_buf + strlen(printf_buf), in hns3_dbg_help()
297 HNS3_DBG_BUF_LEN - strlen(printf_buf) - 1); in hns3_dbg_help()
298 dev_info(&h->pdev->dev, "%s", printf_buf); in hns3_dbg_help()
300 memset(printf_buf, 0, HNS3_DBG_BUF_LEN); in hns3_dbg_help()
301 strncat(printf_buf, "dump reg dcb <port_id> <pri_id> <pg_id>", in hns3_dbg_help()
[all …]
/kernel/linux/linux-5.10/arch/x86/boot/
Dprintf.c296 char printf_buf[1024]; in printf() local
301 printed = vsprintf(printf_buf, fmt, args); in printf()
304 puts(printf_buf); in printf()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Defi-stub-helper.c136 char printf_buf[256]; in efi_printk() local
163 printed = vsnprintf(printf_buf, sizeof(printf_buf), fmt, args); in efi_printk()
166 efi_puts(printf_buf); in efi_printk()
167 if (printed >= sizeof(printf_buf)) { in efi_printk()
/kernel/linux/linux-5.10/drivers/usb/mon/
Dmon_text.c90 char *printf_buf; member
343 rp->printf_buf = kmalloc(rp->printf_size, GFP_KERNEL); in mon_text_open()
344 if (rp->printf_buf == NULL) { in mon_text_open()
373 kfree(rp->printf_buf); in mon_text_open()
386 if (copy_to_user(buf, &rp->printf_buf[rp->printf_offset], togo)) in mon_text_copy_to_user()
412 ptr.pbuf = rp->printf_buf; in mon_text_read_t()
451 ptr.pbuf = rp->printf_buf; in mon_text_read_u()
678 kfree(rp->printf_buf); in mon_text_release()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c946 char printf_buf[HCLGE_DBG_BUF_LEN]; in hclge_dbg_dump_mng_table() local
952 memset(printf_buf, 0, HCLGE_DBG_BUF_LEN); in hclge_dbg_dump_mng_table()
953 strncat(printf_buf, in hclge_dbg_dump_mng_table()
956 strncat(printf_buf + strlen(printf_buf), in hclge_dbg_dump_mng_table()
958 HCLGE_DBG_BUF_LEN - strlen(printf_buf) - 1); in hclge_dbg_dump_mng_table()
960 dev_info(&hdev->pdev->dev, "%s", printf_buf); in hclge_dbg_dump_mng_table()
978 memset(printf_buf, 0, HCLGE_DBG_BUF_LEN); in hclge_dbg_dump_mng_table()
979 snprintf(printf_buf, HCLGE_DBG_BUF_LEN, in hclge_dbg_dump_mng_table()
986 snprintf(printf_buf + strlen(printf_buf), in hclge_dbg_dump_mng_table()
987 HCLGE_DBG_BUF_LEN - strlen(printf_buf), in hclge_dbg_dump_mng_table()
[all …]
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Dapi_shell.c124 void lwip_arp_show_internal(struct netif *netif, char *printf_buf, unsigned int buf_len);
1173 void lwip_arp_show_internal(struct netif *netif, char *printf_buf, unsigned int buf_len) in lwip_arp_show_internal() argument
1177 char *tmp = printf_buf; in lwip_arp_show_internal()