Home
last modified time | relevance | path

Searched refs:printf_buf (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A 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()
[all...]
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
H A Dprintk.c117 char printf_buf[256]; in efi_printk() local
144 printed = vsnprintf(printf_buf, sizeof(printf_buf), fmt, args); in efi_printk()
147 efi_puts(printf_buf); in efi_printk()
148 if (printed >= sizeof(printf_buf)) { in efi_printk()
/kernel/linux/linux-5.10/arch/x86/boot/
H A 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-6.6/arch/x86/boot/
H A 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/
H A 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/
H A 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-6.6/drivers/usb/mon/
H A 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/
H A 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 in hclge_dbg_dump_mng_table()
[all...]
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c124 void lwip_arp_show_internal(struct netif *netif, char *printf_buf, unsigned int buf_len);
1213 void lwip_arp_show_internal(struct netif *netif, char *printf_buf, unsigned int buf_len) argument
1217 char *tmp = printf_buf;

Completed in 12 milliseconds