Home
last modified time | relevance | path

Searched refs:new_msg (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/auxdisplay/
Dimg-ascii-lcd.c271 char *new_msg; in img_ascii_lcd_display() local
293 new_msg = devm_kmalloc(&ctx->pdev->dev, count + 1, GFP_KERNEL); in img_ascii_lcd_display()
294 if (!new_msg) in img_ascii_lcd_display()
297 memcpy(new_msg, msg, count); in img_ascii_lcd_display()
298 new_msg[count] = 0; in img_ascii_lcd_display()
303 ctx->message = new_msg; in img_ascii_lcd_display()
/kernel/linux/linux-5.10/drivers/atm/
Datmtcp.c49 struct atmtcp_control *new_msg; in atmtcp_send_control() local
64 new_msg = skb_put(skb, sizeof(*new_msg)); in atmtcp_send_control()
65 *new_msg = *msg; in atmtcp_send_control()
66 new_msg->hdr.length = ATMTCP_HDR_MAGIC; in atmtcp_send_control()
67 new_msg->type = type; in atmtcp_send_control()
68 memset(&new_msg->vcc,0,sizeof(atm_kptr_t)); in atmtcp_send_control()
69 *(struct atm_vcc **) &new_msg->vcc = vcc; in atmtcp_send_control()