/linux-2.4.37.9/drivers/sbus/char/ |
D | openprom.c | 71 unsigned int bufsize; in copyin() local 76 if (get_user(bufsize, &info->oprom_size)) in copyin() 79 if (bufsize == 0) in copyin() 85 if (bufsize > OPROMMAXPARAM) in copyin() 86 bufsize = OPROMMAXPARAM; in copyin() 88 if (!(*opp_p = kmalloc(sizeof(int) + bufsize + 1, GFP_KERNEL))) in copyin() 90 memset(*opp_p, 0, sizeof(int) + bufsize + 1); in copyin() 93 &info->oprom_array, bufsize)) { in copyin() 97 return bufsize; in copyin() 102 int n, bufsize; in getstrings() local [all …]
|
/linux-2.4.37.9/drivers/i2c/ |
D | i2c-proc.c | 42 static int i2c_parse_reals(int *nrels, char *buffer, int bufsize, 44 static int i2c_write_reals(int nrels, char *buffer, size_t *bufsize, 453 static int i2c_parse_reals(int *nrels, char *buffer, int bufsize, in i2c_parse_reals() argument 463 while (bufsize && (*nrels < maxels)) { in i2c_parse_reals() 466 while (bufsize && in i2c_parse_reals() 469 bufsize--; in i2c_parse_reals() 476 if (!bufsize) in i2c_parse_reals() 488 bufsize--; in i2c_parse_reals() 495 while (bufsize && in i2c_parse_reals() 499 bufsize--; in i2c_parse_reals() [all …]
|
/linux-2.4.37.9/fs/ncpfs/ |
D | file.c | 110 size_t bufsize; in ncp_file_read() local 144 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_read() 147 freelen = ncp_read_bounce_size(bufsize); in ncp_file_read() 156 bufsize - (pos % bufsize), in ncp_file_read() 198 size_t bufsize; in ncp_file_write() local 226 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_write() 230 bouncebuffer = vmalloc(bufsize); in ncp_file_write() 238 bufsize - (pos % bufsize), in ncp_file_write()
|
D | mmap.c | 38 int bufsize; in ncp_file_mmap_nopage() local 51 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_mmap_nopage() 59 to_read = bufsize - (pos % bufsize); in ncp_file_mmap_nopage()
|
/linux-2.4.37.9/kernel/ |
D | module.c | 687 qm_modules(char *buf, size_t bufsize, size_t *ret) in qm_modules() argument 696 if (len > bufsize) in qm_modules() 701 bufsize -= len; in qm_modules() 722 qm_deps(struct module *mod, char *buf, size_t bufsize, size_t *ret) in qm_deps() argument 739 if (len > bufsize) in qm_deps() 744 bufsize -= len; in qm_deps() 765 qm_refs(struct module *mod, char *buf, size_t bufsize, size_t *ret) in qm_refs() argument 783 if (len > bufsize) in qm_refs() 788 bufsize -= len; in qm_refs() 809 qm_symbols(struct module *mod, char *buf, size_t bufsize, size_t *ret) in qm_symbols() argument [all …]
|
/linux-2.4.37.9/fs/befs/ |
D | attribute.c | 32 befs_small_data * sdata, void *buf, size_t bufsize); 64 const char *name, void *buf, size_t bufsize) in read_small_data() argument 71 else if (sdata->data_size > bufsize) in read_small_data()
|
D | btree.h | 10 loff_t key_no, size_t bufsize, char *keybuf,
|
/linux-2.4.37.9/fs/isofs/ |
D | dir.c | 106 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in do_isofs_readdir() local 118 offset = filp->f_pos & (bufsize - 1); in do_isofs_readdir() 153 if (offset >= bufsize) { in do_isofs_readdir() 154 int slop = bufsize - offset + de_len; in do_isofs_readdir() 156 offset &= bufsize - 1; in do_isofs_readdir()
|
D | namei.c | 63 unsigned long bufsize = ISOFS_BUFFER_SIZE(dir); in isofs_find_entry() local 103 if (offset >= bufsize) { in isofs_find_entry() 104 int slop = bufsize - offset + de_len; in isofs_find_entry() 106 offset &= bufsize - 1; in isofs_find_entry()
|
D | compress.c | 70 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in zisofs_readpage() local 72 unsigned long bufmask = bufsize - 1; in zisofs_readpage() 212 stream.avail_in = min(bufsize-(cstart & bufmask), csize); in zisofs_readpage() 254 stream.avail_in = min(csize,bufsize); in zisofs_readpage()
|
D | inode.c | 1015 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in isofs_read_level3_size() local 1027 offset = f_pos & (bufsize-1); in isofs_read_level3_size() 1053 if (offset >= bufsize) { in isofs_read_level3_size() 1054 int slop = bufsize - offset + de_len; in isofs_read_level3_size() 1061 offset &= bufsize - 1; in isofs_read_level3_size() 1114 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in isofs_read_inode() local 1128 offset = (inode->i_ino & (bufsize - 1)); in isofs_read_inode() 1132 if (offset + de_len > bufsize) { in isofs_read_inode() 1133 int frag1 = bufsize - offset; in isofs_read_inode()
|
D | rock.c | 520 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in rock_ridge_symlink_readpage() local 542 pnt = (unsigned char *) bh->b_data + (inode->i_ino & (bufsize - 1)); in rock_ridge_symlink_readpage() 549 if ((inode->i_ino & (bufsize - 1)) + *pnt > bufsize) in rock_ridge_symlink_readpage()
|
/linux-2.4.37.9/drivers/usb/ |
D | auerbuf.c | 83 unsigned int bufsize) in auerbuf_setup() argument 88 numElements, bufsize); in auerbuf_setup() 100 bep->bufp = (char *) kmalloc(bufsize, GFP_KERNEL); in auerbuf_setup()
|
D | auerbuf.h | 63 unsigned int bufsize);
|
/linux-2.4.37.9/fs/udf/ |
D | udfdecl.h | 200 extern struct fileIdentDesc * udf_get_fileident(void * buffer, int bufsize, int * offset); 201 extern extent_ad * udf_get_fileextent(void * buffer, int bufsize, int * offset); 202 extern long_ad * udf_get_filelongad(void * buffer, int bufsize, int * offset, int); 203 extern short_ad * udf_get_fileshortad(void * buffer, int bufsize, int * offset, int);
|
D | directory.c | 199 udf_get_fileident(void * buffer, int bufsize, int * offset) in udf_get_fileident() argument 213 if ( (*offset > 0) && (*offset < bufsize) ) { in udf_get_fileident() 222 *offset, (unsigned long)sizeof(struct fileIdentDesc), bufsize); in udf_get_fileident() 225 if ( (*offset + sizeof(struct fileIdentDesc)) > bufsize ) in udf_get_fileident() 243 udf_get_fileextent(void * buffer, int bufsize, int * offset) in udf_get_fileextent() argument
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | hermes.c | 496 int hermes_read_ltv(hermes_t *hw, int bap, u16 rid, unsigned bufsize, in hermes_read_ltv() argument 504 if ( (bufsize < 0) || (bufsize % 2) ) in hermes_read_ltv() 525 if (HERMES_RECLEN_TO_BYTES(rlength) > bufsize) in hermes_read_ltv() 530 HERMES_RECLEN_TO_BYTES(rlength), bufsize, rid, rlength); in hermes_read_ltv() 532 nwords = min((unsigned)rlength - 1, bufsize / 2); in hermes_read_ltv()
|
/linux-2.4.37.9/arch/ia64/kernel/ |
D | salinfo.c | 453 u64 bufsize; in salinfo_log_read() local 458 bufsize = data->log_size; in salinfo_log_read() 461 bufsize = data->oemdata_size; in salinfo_log_read() 464 bufsize = 0; in salinfo_log_read() 466 if (pos != (unsigned)pos || pos >= bufsize) in salinfo_log_read() 470 size = bufsize - pos; in salinfo_log_read()
|
/linux-2.4.37.9/include/linux/ |
D | scc.h | 130 unsigned int bufsize; /* used buffersize */ member 165 unsigned int bufsize; member
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | sys_parisc32.c | 1312 qm_modules(char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_modules() argument 1321 if (len > bufsize) in qm_modules() 1326 bufsize -= len; in qm_modules() 1347 qm_deps(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_deps() argument 1361 if (len > bufsize) in qm_deps() 1366 bufsize -= len; in qm_deps() 1384 qm_refs(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_refs() argument 1402 if (len > bufsize) in qm_refs() 1407 bufsize -= len; in qm_refs() 1428 qm_symbols(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_symbols() argument [all …]
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | sys_ia32.c | 2701 qm_modules(char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_modules() argument 2710 if (len > bufsize) in qm_modules() 2715 bufsize -= len; in qm_modules() 2736 qm_deps(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_deps() argument 2750 if (len > bufsize) in qm_deps() 2755 bufsize -= len; in qm_deps() 2773 qm_refs(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_refs() argument 2791 if (len > bufsize) in qm_refs() 2796 bufsize -= len; in qm_refs() 2817 qm_symbols(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_symbols() argument [all …]
|
/linux-2.4.37.9/net/sunrpc/ |
D | svc.c | 30 svc_create(struct svc_program *prog, unsigned int bufsize, unsigned int xdrsize) in svc_create() argument 41 serv->sv_bufsz = bufsize? bufsize : 4096; in svc_create()
|
/linux-2.4.37.9/drivers/block/ |
D | cciss_scsi.c | 863 unsigned char *buf, int bufsize, in cciss_scsi_do_simple_cmd() argument 890 (unsigned char *) buf, bufsize, in cciss_scsi_do_simple_cmd() 905 cciss_unmap_one(c->pdev, cp, bufsize, in cciss_scsi_do_simple_cmd() 1028 ReportLunData_struct *buf, int bufsize) in cciss_scsi_do_report_phys_luns() argument 1049 cdb[6] = (bufsize >> 24) & 0xFF; //MSB in cciss_scsi_do_report_phys_luns() 1050 cdb[7] = (bufsize >> 16) & 0xFF; in cciss_scsi_do_report_phys_luns() 1051 cdb[8] = (bufsize >> 8) & 0xFF; in cciss_scsi_do_report_phys_luns() 1052 cdb[9] = bufsize & 0xFF; in cciss_scsi_do_report_phys_luns() 1059 bufsize, XFER_READ); in cciss_scsi_do_report_phys_luns()
|
/linux-2.4.37.9/arch/sparc/prom/ |
D | tree.c | 107 int prom_getproperty(int node, char *prop, char *buffer, int bufsize) in prom_getproperty() argument 113 if((plen > bufsize) || (plen == 0) || (plen == -1)) in prom_getproperty()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | linux32.c | 3192 qm_modules(char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_modules() argument 3201 if (len > bufsize) in qm_modules() 3206 bufsize -= len; in qm_modules() 3227 qm_deps(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_deps() argument 3241 if (len > bufsize) in qm_deps() 3246 bufsize -= len; in qm_deps() 3264 qm_refs(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_refs() argument 3282 if (len > bufsize) in qm_refs() 3287 bufsize -= len; in qm_refs() 3308 qm_symbols(struct module *mod, char *buf, size_t bufsize, __kernel_size_t32 *ret) in qm_symbols() argument [all …]
|