tag | line | file | source code |
len | 284 | fs/exec.c | int len, offset = 0; |
len | 300 | fs/exec.c | len=0; /* remember zero-padding */ |
len | 302 | fs/exec.c | len++; |
len | 304 | fs/exec.c | if (p < len) { /* this shouldn't happen - 128kB */ |
len | 308 | fs/exec.c | while (len) { |
len | 309 | fs/exec.c | --p; --tmp; --len; |
len | 58 | fs/ext/namei.c | static int ext_match(int len,const char * name,struct ext_dir_entry * de) |
len | 62 | fs/ext/namei.c | if (!de || !de->inode || len > EXT_NAME_LEN) |
len | 65 | fs/ext/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 69 | fs/ext/namei.c | if (len < EXT_NAME_LEN && len != de->name_len) |
len | 75 | fs/ext/namei.c | :"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len) |
len | 157 | fs/ext/namei.c | int ext_lookup(struct inode * dir,const char * name, int len, |
len | 171 | fs/ext/namei.c | if (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) { |
len | 307 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
len | 325 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 341 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
len | 349 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 384 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 400 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 406 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 455 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 531 | fs/ext/namei.c | int ext_rmdir(struct inode * dir, const char * name, int len) |
len | 539 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,&pde,&nde); |
len | 584 | fs/ext/namei.c | int ext_unlink(struct inode * dir, const char * name, int len) |
len | 593 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,&pde,&nde); |
len | 625 | fs/ext/namei.c | int ext_symlink(struct inode * dir, const char * name, int len, const char * symname) |
len | 662 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 671 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 687 | fs/ext/namei.c | int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
len | 697 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
len | 704 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
len | 32 | fs/minix/namei.c | static int minix_match(int len,const char * name,struct minix_dir_entry * de) |
len | 36 | fs/minix/namei.c | if (!de || !de->inode || len > MINIX_NAME_LEN) |
len | 39 | fs/minix/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
len | 41 | fs/minix/namei.c | if (len < MINIX_NAME_LEN && de->name[len]) |
len | 47 | fs/minix/namei.c | :"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len) |
len | 107 | fs/minix/namei.c | int minix_lookup(struct inode * dir,const char * name, int len, |
len | 121 | fs/minix/namei.c | if (!(bh = minix_find_entry(dir,name,len,&de))) { |
len | 204 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
len | 222 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
len | 238 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
len | 246 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 281 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
len | 297 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
len | 303 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 343 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
len | 366 | fs/minix/namei.c | int len; |
len | 370 | fs/minix/namei.c | len = inode->i_size / sizeof (struct minix_dir_entry); |
len | 371 | fs/minix/namei.c | if (len<2 || !inode->i_data[0] || |
len | 384 | fs/minix/namei.c | while (nr<len) { |
len | 407 | fs/minix/namei.c | int minix_rmdir(struct inode * dir, const char * name, int len) |
len | 415 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 458 | fs/minix/namei.c | int minix_unlink(struct inode * dir, const char * name, int len) |
len | 467 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 497 | fs/minix/namei.c | int minix_symlink(struct inode * dir, const char * name, int len, const char * symname) |
len | 534 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 543 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
len | 559 | fs/minix/namei.c | int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
len | 569 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
len | 576 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
len | 27 | fs/msdos/namei.c | static int msdos_format_name(char conv,const char *name,int len,char *res) |
len | 34 | fs/msdos/namei.c | if (get_fs_byte(name) == '.' && (len == 1 || (len == 2 && |
len | 37 | fs/msdos/namei.c | while (len--) *res++ = '.'; |
len | 42 | fs/msdos/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
len | 44 | fs/msdos/namei.c | len--; |
len | 56 | fs/msdos/namei.c | if (conv == 's' && len && c != '.') { |
len | 58 | fs/msdos/namei.c | len--; |
len | 61 | fs/msdos/namei.c | while (c != '.' && len--) c = get_fs_byte(name++); |
len | 65 | fs/msdos/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
len | 67 | fs/msdos/namei.c | len--; |
len | 79 | fs/msdos/namei.c | if (conv == 's' && len) return -EINVAL; |
len | 90 | fs/msdos/namei.c | static int msdos_find(struct inode *dir,const char *name,int len, |
len | 96 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 102 | fs/msdos/namei.c | int msdos_lookup(struct inode *dir,const char *name,int len, |
len | 116 | fs/msdos/namei.c | if (len == 1 && get_fs_byte(name) == '.') { |
len | 120 | fs/msdos/namei.c | if (len == 2 && get_fs_byte(name) == '.' && get_fs_byte(name+1) == '.') |
len | 128 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) { |
len | 184 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
len | 193 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 212 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
len | 220 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
len | 258 | fs/msdos/namei.c | if (msdos_rmdir(dir,name,len) < 0) panic("rmdir in mkdir failed"); |
len | 264 | fs/msdos/namei.c | int msdos_rmdir(struct inode *dir,const char *name,int len) |
len | 274 | fs/msdos/namei.c | if (len == 1 && get_fs_byte(name) == '.') goto rmdir_done; |
len | 275 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done; |
len | 308 | fs/msdos/namei.c | int msdos_unlink(struct inode *dir,const char *name,int len) |
len | 317 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) |
len | 61 | fs/namei.c | int lookup(struct inode * dir,const char * name, int len, |
len | 67 | fs/namei.c | if (len==2 && get_fs_byte(name)=='.' && get_fs_byte(name+1)=='.') { |
len | 69 | fs/namei.c | len = 1; |
len | 83 | fs/namei.c | if (!len) { |
len | 91 | fs/namei.c | return dir->i_op->lookup(dir,name,len,result); |
len | 119 | fs/namei.c | int len,error; |
len | 134 | fs/namei.c | for(len=0;(c=get_fs_byte(pathname++))&&(c!='/');len++) |
len | 139 | fs/namei.c | error = lookup(base,thisname,len,&inode); |
len | 148 | fs/namei.c | *namelen = len; |
len | 82 | include/linux/ext_fs.h | extern int ext_lookup(struct inode * dir,const char * name, int len, |
len | 84 | include/linux/ext_fs.h | extern int ext_create(struct inode * dir,const char * name, int len, int mode, |
len | 86 | include/linux/ext_fs.h | extern int ext_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 87 | include/linux/ext_fs.h | extern int ext_rmdir(struct inode * dir, const char * name, int len); |
len | 88 | include/linux/ext_fs.h | extern int ext_unlink(struct inode * dir, const char * name, int len); |
len | 89 | include/linux/ext_fs.h | extern int ext_symlink(struct inode * inode, const char * name, int len, |
len | 91 | include/linux/ext_fs.h | extern int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
len | 92 | include/linux/ext_fs.h | extern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
len | 49 | include/linux/minix_fs.h | extern int minix_lookup(struct inode * dir,const char * name, int len, |
len | 51 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
len | 53 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
len | 54 | include/linux/minix_fs.h | extern int minix_rmdir(struct inode * dir, const char * name, int len); |
len | 55 | include/linux/minix_fs.h | extern int minix_unlink(struct inode * dir, const char * name, int len); |
len | 56 | include/linux/minix_fs.h | extern int minix_symlink(struct inode * inode, const char * name, int len, |
len | 58 | include/linux/minix_fs.h | extern int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
len | 59 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
len | 139 | include/linux/msdos_fs.h | extern int msdos_lookup(struct inode *dir,const char *name,int len, |
len | 141 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
len | 143 | include/linux/msdos_fs.h | extern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode); |
len | 144 | include/linux/msdos_fs.h | extern int msdos_rmdir(struct inode *dir,const char *name,int len); |
len | 145 | include/linux/msdos_fs.h | extern int msdos_unlink(struct inode *dir,const char *name,int len); |
len | 14 | include/sys/mman.h | extern caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, |
len | 16 | include/sys/mman.h | extern int munmap(caddr_t addr, size_t len); |
len | 27 | kernel/blk_drv/ramdisk.c | int len; |
len | 33 | kernel/blk_drv/ramdisk.c | len = CURRENT->nr_sectors << 9; |
len | 34 | kernel/blk_drv/ramdisk.c | if ((MINOR(CURRENT->dev) != 1) || (addr+len > rd_start+rd_length)) { |
len | 41 | kernel/blk_drv/ramdisk.c | len); |
len | 45 | kernel/blk_drv/ramdisk.c | len); |
len | 85 | kernel/blk_drv/scsi/7000fasst.c | static int wd7000fasst_out(unchar *cmdp, int len) |
len | 87 | kernel/blk_drv/scsi/7000fasst.c | while (len--) |
len | 94 | kernel/blk_drv/scsi/7000fasst.c | printk("wd7000fasst_out failed(%d): ", len+1); wd7000fasst_stat(); |
len | 197 | kernel/blk_drv/scsi/7000fasst.c | DEB(int len=sizeof (struct scb);) |
len | 231 | kernel/blk_drv/scsi/7000fasst.c | while (len-- >0){ |
len | 294 | kernel/blk_drv/scsi/7000fasst.c | { int len,k; |
len | 298 | kernel/blk_drv/scsi/7000fasst.c | len=sizeof(struct scb); |
len | 301 | kernel/blk_drv/scsi/7000fasst.c | while (len-- >0){ |
len | 62 | kernel/blk_drv/scsi/aha1542.c | static int aha1542_out(unchar *cmdp, int len) |
len | 64 | kernel/blk_drv/scsi/aha1542.c | while (len--) |
len | 71 | kernel/blk_drv/scsi/aha1542.c | printk("aha1542_out failed(%d): ", len+1); aha1542_stat(); |
len | 33 | kernel/blk_drv/scsi/scsi_ioctl.c | int len; |
len | 36 | kernel/blk_drv/scsi/scsi_ioctl.c | len = get_fs_long ((int *) buffer); |
len | 37 | kernel/blk_drv/scsi/scsi_ioctl.c | memcpy_tofs (buffer, scsi_hosts[dev].info(), len); |
len | 320 | kernel/blk_drv/scsi/seagate.c | int len; |
len | 341 | kernel/blk_drv/scsi/seagate.c | len=bufflen; |
len | 434 | kernel/blk_drv/scsi/seagate.c | len=current_bufflen; /* WDE add */ |
len | 721 | kernel/blk_drv/scsi/seagate.c | "=r" (data), "=r" (len) : |
len | 723 | kernel/blk_drv/scsi/seagate.c | "0" (data), "1" (len) : |
len | 785 | kernel/blk_drv/scsi/seagate.c | "=r" (data), "=r" (len) : |
len | 787 | kernel/blk_drv/scsi/seagate.c | "0" (data), "1" (len) : |
len | 837 | kernel/blk_drv/scsi/seagate.c | current_bufflen = len; /* WDE add */ |
len | 857 | kernel/blk_drv/scsi/seagate.c | current_bufflen = len; /* WDE add */ |
len | 902 | kernel/blk_drv/scsi/seagate.c | printk("Transfered %d bytes, allowed %d additional bytes\n", (bufflen - len), len); |
len | 26 | kernel/printk.c | int sys_syslog(int type, char * buf, int len) |
len | 51 | kernel/printk.c | if (!buf || len < 0) |
len | 53 | kernel/printk.c | if (!len) |
len | 55 | kernel/printk.c | verify_area(buf,len); |
len | 67 | kernel/printk.c | while (log_size && len) { |
len | 482 | kernel/sys.c | int sys_sethostname(char *name, int len) |
len | 488 | kernel/sys.c | if (len > __NEW_UTS_LEN) |
len | 490 | kernel/sys.c | for (i=0; i < len; i++) { |
len | 95 | kernel/vsprintf.c | int len; |
len | 172 | kernel/vsprintf.c | len = strlen(s); |
len | 174 | kernel/vsprintf.c | precision = len; |
len | 175 | kernel/vsprintf.c | else if (len > precision) |
len | 176 | kernel/vsprintf.c | len = precision; |
len | 179 | kernel/vsprintf.c | while (len < field_width--) |
len | 181 | kernel/vsprintf.c | for (i = 0; i < len; ++i) |
len | 183 | kernel/vsprintf.c | while (len < field_width--) |
len | 117 | lib/malloc.c | void *malloc(unsigned int len) |
len | 128 | lib/malloc.c | if (bdir->size >= len) |
len | 132 | lib/malloc.c | len); |
len | 44 | mm/mmap.c | mmap_chr(unsigned long addr, size_t len, int prot, int flags, |
len | 76 | mm/mmap.c | if (len > high_memory || off > high_memory - len) /* avoid overflow */ |
len | 79 | mm/mmap.c | if (remap_page_range(addr, off, len, PERMISS(flags, prot))) |
len | 89 | mm/mmap.c | unsigned long len, limit, off; |
len | 95 | mm/mmap.c | len = (size_t) get_fs_long(buffer+1); /* nbytes of mapping */ |
len | 103 | mm/mmap.c | if (addr > TASK_SIZE || (addr+(unsigned long) len) > TASK_SIZE) |
len | 148 | mm/mmap.c | if (addr + len > limit) |
len | 171 | mm/mmap.c | addr = (unsigned long)mmap_chr(base + addr, len, prot, flags, |
len | 181 | mm/mmap.c | int sys_munmap(unsigned long addr, size_t len) |
len | 189 | mm/mmap.c | addr + len > limit) |
len | 191 | mm/mmap.c | if (unmap_page_range(base + addr, len)) |
len | 357 | net/unix.c | int len; |
len | 371 | net/unix.c | if ((len = get_fs_long(usockaddr_len)) <= 0) |
len | 373 | net/unix.c | if (len > upd->sockaddr_len) |
len | 374 | net/unix.c | len = upd->sockaddr_len; |
len | 375 | net/unix.c | if (len) { |
len | 376 | net/unix.c | verify_area(usockaddr, len); |
len | 377 | net/unix.c | memcpy_tofs(usockaddr, &upd->sockaddr_un, len); |
len | 379 | net/unix.c | put_fs_long(len, usockaddr_len); |