Home
last modified time | relevance | path

Searched refs:bufsiz (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/include/linux/
Dplatform_device.h187 #define early_platform_init_buffer(class_string, platdrv, buf, bufsiz) \ argument
191 .bufsize = bufsiz, \
201 #define early_platform_init_buffer(class_string, platdrv, buf, bufsiz) \ argument
204 return bufsiz ? buf : NULL; \
Dsyscalls.h519 char __user *buf, int bufsiz);
783 int bufsiz);
/linux-2.6.39/drivers/input/
Dmousedev.c106 unsigned char ready, buffer, bufsiz; member
616 client->bufsiz = 4; in mousedev_packet()
624 client->bufsiz = 4; in mousedev_packet()
632 client->bufsiz = 3; in mousedev_packet()
654 client->bufsiz++; /* account for leading ACK */ in mousedev_generate_response()
669 client->bufsiz = 2; in mousedev_generate_response()
674 client->bufsiz = 4; in mousedev_generate_response()
681 client->bufsiz = 3; in mousedev_generate_response()
685 client->bufsiz = 1; in mousedev_generate_response()
688 client->buffer = client->bufsiz; in mousedev_generate_response()
[all …]
/linux-2.6.39/drivers/spi/
Dspidev.c91 static unsigned bufsiz = 4096; variable
92 module_param(bufsiz, uint, S_IRUGO);
93 MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message");
169 if (count > bufsiz) in spidev_read()
200 if (count > bufsiz) in spidev_write()
244 if (total > bufsiz) { in spidev_message()
500 spidev->buffer = kmalloc(bufsiz, GFP_KERNEL); in spidev_open()
/linux-2.6.39/fs/
Dstat.c295 char __user *, buf, int, bufsiz) in SYSCALL_DEFINE4() argument
300 if (bufsiz <= 0) in SYSCALL_DEFINE4()
313 buf, bufsiz); in SYSCALL_DEFINE4()
322 int, bufsiz) in SYSCALL_DEFINE3() argument
324 return sys_readlinkat(AT_FDCWD, path, buf, bufsiz); in SYSCALL_DEFINE3()
/linux-2.6.39/arch/alpha/kernel/
Dosf_sys.c214 unsigned long bufsiz) in linux_to_osf_statfs() argument
228 if (bufsiz > sizeof(tmp_stat)) in linux_to_osf_statfs()
229 bufsiz = sizeof(tmp_stat); in linux_to_osf_statfs()
230 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs()
234 struct osf_statfs __user *, buffer, unsigned long, bufsiz) in SYSCALL_DEFINE3() argument
239 error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz); in SYSCALL_DEFINE3()
244 struct osf_statfs __user *, buffer, unsigned long, bufsiz) in SYSCALL_DEFINE3() argument
249 error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz); in SYSCALL_DEFINE3()
/linux-2.6.39/drivers/staging/tidspbridge/include/dspbridge/
Ddynamic_loader.h174 void *buffer, unsigned bufsiz);
/linux-2.6.39/include/linux/usb/
Dcomposite.h325 unsigned bufsiz; member
/linux-2.6.39/fs/ecryptfs/
Dinode.c608 size_t *bufsiz) in ecryptfs_readlink_lower() argument
630 rc = ecryptfs_decode_and_decrypt_filename(buf, bufsiz, dentry, in ecryptfs_readlink_lower()
638 ecryptfs_readlink(struct dentry *dentry, char __user *buf, int bufsiz) in ecryptfs_readlink() argument
647 copied = min_t(size_t, bufsiz, kbufsiz); in ecryptfs_readlink()
/linux-2.6.39/arch/powerpc/kernel/
Dsys_ppc32.c362 asmlinkage long compat_sys_readlink(const char __user * path, char __user * buf, u32 bufsiz) in compat_sys_readlink() argument
364 return sys_readlink(path, buf, (int)bufsiz); in compat_sys_readlink()
/linux-2.6.39/drivers/char/tpm/
Dtpm.c380 size_t bufsiz) in tpm_transmit() argument
390 if (count > bufsiz) { in tpm_transmit()
392 "invalid count value %x %zx \n", count, bufsiz); in tpm_transmit()
430 rc = chip->vendor.recv(chip, (u8 *) buf, bufsiz); in tpm_transmit()
/linux-2.6.39/kernel/
Dlockdep_proc.c400 static void snprint_time(char *buf, size_t bufsiz, s64 nr) in snprint_time() argument
407 snprintf(buf, bufsiz, "%lld.%02d", (long long)div, (int)rem/10); in snprint_time()
/linux-2.6.39/drivers/usb/gadget/
Dcomposite.c1094 cdev->bufsiz = USB_BUFSIZ; in composite_bind()