Searched refs:printf_buf (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_debugfs.c | 242 char printf_buf[HNS3_DBG_BUF_LEN]; in hns3_dbg_help() local 265 memset(printf_buf, 0, HNS3_DBG_BUF_LEN); in hns3_dbg_help() 266 strncat(printf_buf, "dump reg [[bios common] [ssu <port_id>]", in hns3_dbg_help() 268 strncat(printf_buf + strlen(printf_buf), in hns3_dbg_help() 270 HNS3_DBG_BUF_LEN - strlen(printf_buf) - 1); in hns3_dbg_help() 271 strncat(printf_buf + strlen(printf_buf), in hns3_dbg_help() 273 HNS3_DBG_BUF_LEN - strlen(printf_buf) - 1); in hns3_dbg_help() 274 dev_info(&h->pdev->dev, "%s", printf_buf); in hns3_dbg_help() 276 memset(printf_buf, 0, HNS3_DBG_BUF_LEN); in hns3_dbg_help() 277 strncat(printf_buf, "dump reg dcb <port_id> <pri_id> <pg_id>", in hns3_dbg_help() [all …]
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_debugfs.c | 814 char printf_buf[HCLGE_DBG_BUF_LEN]; in hclge_dbg_dump_mng_table() local 819 memset(printf_buf, 0, HCLGE_DBG_BUF_LEN); in hclge_dbg_dump_mng_table() 820 strncat(printf_buf, in hclge_dbg_dump_mng_table() 823 strncat(printf_buf + strlen(printf_buf), in hclge_dbg_dump_mng_table() 825 HCLGE_DBG_BUF_LEN - strlen(printf_buf) - 1); in hclge_dbg_dump_mng_table() 827 dev_info(&hdev->pdev->dev, "%s", printf_buf); in hclge_dbg_dump_mng_table() 845 memset(printf_buf, 0, HCLGE_DBG_BUF_LEN); in hclge_dbg_dump_mng_table() 846 snprintf(printf_buf, HCLGE_DBG_BUF_LEN, in hclge_dbg_dump_mng_table() 852 snprintf(printf_buf + strlen(printf_buf), in hclge_dbg_dump_mng_table() 853 HCLGE_DBG_BUF_LEN - strlen(printf_buf), in hclge_dbg_dump_mng_table() [all …]
|
/Linux-v5.4/arch/x86/boot/ |
D | printf.c | 296 char printf_buf[1024]; in printf() local 301 printed = vsprintf(printf_buf, fmt, args); in printf() 304 puts(printf_buf); in printf()
|
/Linux-v5.4/drivers/usb/mon/ |
D | mon_text.c | 90 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()
|