Searched refs:kbuffer (Results 1 – 2 of 2) sorted by relevance
/drivers/char/ |
D | ppdev.c | 112 char * kbuffer; in pp_read() local 127 kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL); in pp_read() 128 if (!kbuffer) { in pp_read() 158 bytes_read = (*fn)(pport, kbuffer, need, flags); in pp_read() 160 bytes_read = parport_read (pport, kbuffer, need); in pp_read() 181 if (bytes_read > 0 && copy_to_user (buf, kbuffer, bytes_read)) in pp_read() 184 kfree (kbuffer); in pp_read() 194 char * kbuffer; in pp_write() local 206 kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL); in pp_write() 207 if (!kbuffer) { in pp_write() [all …]
|
/drivers/hv/ |
D | channel.c | 212 static int create_gpadl_header(void *kbuffer, u32 size, in create_gpadl_header() argument 256 kbuffer + PAGE_SIZE * i) >> PAGE_SHIFT; in create_gpadl_header() 310 kbuffer + PAGE_SIZE * (pfnsum + i)) >> in create_gpadl_header() 338 kbuffer + PAGE_SIZE * i) >> PAGE_SHIFT; in create_gpadl_header() 359 int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, in vmbus_establish_gpadl() argument 375 ret = create_gpadl_header(kbuffer, size, &msginfo, &msgcount); in vmbus_establish_gpadl()
|