Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/char/
Dps3flash.c124 static ssize_t ps3flash_read(char __user *userbuf, void *kernelbuf, in ps3flash_read() argument
136 __func__, __LINE__, count, *pos, userbuf, kernelbuf); in ps3flash_read()
165 __func__, __LINE__, n, src, userbuf, kernelbuf); in ps3flash_read()
173 if (kernelbuf) { in ps3flash_read()
174 memcpy(kernelbuf, src, n); in ps3flash_read()
175 kernelbuf += n; in ps3flash_read()
194 const void *kernelbuf, size_t count, loff_t *pos) in ps3flash_write() argument
205 __func__, __LINE__, count, *pos, userbuf, kernelbuf); in ps3flash_write()
237 __func__, __LINE__, n, userbuf, kernelbuf, dst); in ps3flash_write()
245 if (kernelbuf) { in ps3flash_write()
[all …]
/linux-2.6.39/sound/core/
Drawmidi.c939 unsigned char *kernelbuf, long count) in snd_rawmidi_kernel_read1() argument
952 if (kernelbuf) in snd_rawmidi_kernel_read1()
953 memcpy(kernelbuf + result, runtime->buffer + runtime->appl_ptr, count1); in snd_rawmidi_kernel_read1()
1163 const unsigned char *kernelbuf, in snd_rawmidi_kernel_write1() argument
1170 if (snd_BUG_ON(!kernelbuf && !userbuf)) in snd_rawmidi_kernel_write1()
1189 if (kernelbuf) in snd_rawmidi_kernel_write1()
1191 kernelbuf + result, count1); in snd_rawmidi_kernel_write1()