Searched refs:kernelbuf (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/char/ |
D | ps3flash.c | 105 static ssize_t ps3flash_read(char __user *userbuf, void *kernelbuf, in ps3flash_read() argument 117 __func__, __LINE__, count, *pos, userbuf, kernelbuf); in ps3flash_read() 146 __func__, __LINE__, n, src, userbuf, kernelbuf); in ps3flash_read() 154 if (kernelbuf) { in ps3flash_read() 155 memcpy(kernelbuf, src, n); in ps3flash_read() 156 kernelbuf += n; in ps3flash_read() 175 const void *kernelbuf, size_t count, loff_t *pos) in ps3flash_write() argument 186 __func__, __LINE__, count, *pos, userbuf, kernelbuf); in ps3flash_write() 218 __func__, __LINE__, n, userbuf, kernelbuf, dst); in ps3flash_write() 226 if (kernelbuf) { in ps3flash_write() [all …]
|
/Linux-v4.19/sound/core/ |
D | rawmidi.c | 955 unsigned char *kernelbuf, long count) in snd_rawmidi_kernel_read1() argument 976 if (kernelbuf) in snd_rawmidi_kernel_read1() 977 memcpy(kernelbuf + result, runtime->buffer + appl_ptr, count1); in snd_rawmidi_kernel_read1() 1241 const unsigned char *kernelbuf, in snd_rawmidi_kernel_write1() argument 1249 if (!kernelbuf && !userbuf) in snd_rawmidi_kernel_write1() 1275 if (kernelbuf) in snd_rawmidi_kernel_write1() 1277 kernelbuf + result, count1); in snd_rawmidi_kernel_write1()
|