Home
last modified time | relevance | path

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

/Linux-v6.6/sound/soc/sof/
Dsof-client-ipc-kernel-injector.c23 void *kernel_buffer; member
45 struct sof_ipc_cmd_hdr *hdr = priv->kernel_buffer; in sof_kernel_msg_inject_dfs_write()
53 size = simple_write_to_buffer(priv->kernel_buffer, priv->max_msg_size, in sof_kernel_msg_inject_dfs_write()
66 sof_client_ipc_rx_message(cdev, hdr, priv->kernel_buffer); in sof_kernel_msg_inject_dfs_write()
107 priv->kernel_buffer = devm_kmalloc(dev, alloc_size, GFP_KERNEL); in sof_msg_inject_probe()
109 if (!priv->kernel_buffer) in sof_msg_inject_probe()
/Linux-v6.6/drivers/scsi/smartpqi/
Dsmartpqi_init.c6680 char *kernel_buffer = NULL; in pqi_passthru_ioctl() local
6717 kernel_buffer = kmalloc(iocommand.buf_size, GFP_KERNEL); in pqi_passthru_ioctl()
6718 if (!kernel_buffer) in pqi_passthru_ioctl()
6721 if (copy_from_user(kernel_buffer, iocommand.buf, in pqi_passthru_ioctl()
6727 memset(kernel_buffer, 0, iocommand.buf_size); in pqi_passthru_ioctl()
6762 &request.sg_descriptors[0], kernel_buffer, in pqi_passthru_ioctl()
6808 if (copy_to_user(iocommand.buf, kernel_buffer, in pqi_passthru_ioctl()
6815 kfree(kernel_buffer); in pqi_passthru_ioctl()