Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/input/
Dmousedev.c68 unsigned char ready, buffer, bufsiz; member
260 list->bufsiz = off + 3; in mousedev_packet()
266 list->bufsiz++; in mousedev_packet()
272 list->bufsiz++; in mousedev_packet()
276 list->buffer = list->bufsiz; in mousedev_packet()
306 list->bufsiz = 1; in mousedev_write()
321 list->bufsiz = 2; in mousedev_write()
326 list->bufsiz = 4; in mousedev_write()
330 list->buffer = list->bufsiz; in mousedev_write()
378 if (copy_to_user(buffer, list->ps2 + list->bufsiz - list->buffer, count)) in mousedev_read()
/linux-2.4.37.9/net/sunrpc/
Dclnt.c468 unsigned int bufsiz; in call_allocate() local
478 bufsiz = rpcproc_bufsiz(clnt, task->tk_msg.rpc_proc) + RPC_SLACK_SPACE; in call_allocate()
480 if ((task->tk_buffer = rpc_malloc(task, bufsiz << 1)) != NULL) in call_allocate()
504 unsigned int bufsiz; in call_encode() local
515 bufsiz = rpcproc_bufsiz(clnt, task->tk_msg.rpc_proc)+RPC_SLACK_SPACE; in call_encode()
517 sndbuf->head[0].iov_len = bufsiz; in call_encode()
521 rcvbuf->head[0].iov_base = (void *)((char *)task->tk_buffer + bufsiz); in call_encode()
522 rcvbuf->head[0].iov_len = bufsiz; in call_encode()
525 rcvbuf->len = bufsiz; in call_encode()
528 memset(task->tk_buffer, 0, bufsiz); in call_encode()
/linux-2.4.37.9/arch/alpha/kernel/
Dosf_sys.c271 …t linux_to_osf_statfs(struct statfs *linux_stat, struct osf_statfs *osf_stat, unsigned long bufsiz) in linux_to_osf_statfs() argument
286 if (bufsiz > sizeof(tmp_stat)) in linux_to_osf_statfs()
287 bufsiz = sizeof(tmp_stat); in linux_to_osf_statfs()
288 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs()
291 static int do_osf_statfs(struct dentry * dentry, struct osf_statfs *buffer, unsigned long bufsiz) in do_osf_statfs() argument
296 error = linux_to_osf_statfs(&linux_stat, buffer, bufsiz); in do_osf_statfs()
300 asmlinkage int osf_statfs(char *path, struct osf_statfs *buffer, unsigned long bufsiz) in osf_statfs() argument
307 retval = do_osf_statfs(nd.dentry, buffer, bufsiz); in osf_statfs()
313 asmlinkage int osf_fstatfs(unsigned long fd, struct osf_statfs *buffer, unsigned long bufsiz) in osf_fstatfs() argument
321 retval = do_osf_statfs(file->f_dentry, buffer, bufsiz); in osf_fstatfs()
/linux-2.4.37.9/fs/
Dstat.c252 asmlinkage long sys_readlink(const char * path, char * buf, int bufsiz) in sys_readlink() argument
257 if (bufsiz <= 0) in sys_readlink()
268 error = inode->i_op->readlink(nd.dentry, buf, bufsiz); in sys_readlink()
/linux-2.4.37.9/include/linux/
Dfat_cvf.h27 int (*cvf_statfs) (struct super_block *sb,struct statfs *buf, int bufsiz);
Dumsdos_fs.p68 int bufsiz);
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_glue.c377 #define bus_map_single(pdev, bufptr, bufsiz, dir) \ argument
378 pci_map_single(pdev, bufptr, bufsiz, dir)
386 #define bus_dma_sync_single(pdev, mapping, bufsiz, dir) \ argument
387 pci_dma_sync_single(pdev, mapping, bufsiz, dir)
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c4405 extern asmlinkage long sys_readlink(const char * path, char * buf, int bufsiz);
4412 asmlinkage long sys32_readlink(const char * path, char * buf, u32 bufsiz) in sys32_readlink() argument
4414 return sys_readlink(path, buf, (int)bufsiz); in sys32_readlink()