tag | line | file | source code |
namelen | 477 | arch/alpha/kernel/osf_sys.c | asmlinkage int osf_getdomainname(char *name, int namelen) |
namelen | 482 | arch/alpha/kernel/osf_sys.c | error = verify_area(VERIFY_WRITE, name, namelen); |
namelen | 486 | arch/alpha/kernel/osf_sys.c | len = namelen; |
namelen | 487 | arch/alpha/kernel/osf_sys.c | if (namelen > 32) |
namelen | 120 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.namelen = sprintf(scsi_hba_dir->name,"%d", |
namelen | 73 | fs/affs/namei.c | const char *name, int namelen, int *ino) |
namelen | 85 | fs/affs/namei.c | if (affs_match (namelen, name, ".", 1)) { |
namelen | 89 | fs/affs/namei.c | if (affs_match (namelen, name, "..", 2)) { |
namelen | 94 | fs/affs/namei.c | affs_hash_name (name, namelen)); |
namelen | 108 | fs/affs/namei.c | if (affs_match (namelen, name, cname, cnamelen)) |
namelen | 80 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir, |
namelen | 91 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 94 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 95 | fs/ext/namei.c | namelen = EXT_NAME_LEN; |
namelen | 131 | fs/ext/namei.c | if (ext_match(namelen,name,de)) { |
namelen | 190 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir) |
namelen | 202 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 205 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 206 | fs/ext/namei.c | namelen = EXT_NAME_LEN; |
namelen | 208 | fs/ext/namei.c | if (!namelen) |
namelen | 213 | fs/ext/namei.c | rec_len = ((8 + namelen + EXT_DIR_PAD - 1) / EXT_DIR_PAD) * EXT_DIR_PAD; |
namelen | 293 | fs/ext/namei.c | de->name_len = namelen; |
namelen | 294 | fs/ext/namei.c | for (i=0; i < namelen ; i++) |
namelen | 69 | fs/ext2/namei.c | const char * const name, int namelen, |
namelen | 84 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 87 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 88 | fs/ext2/namei.c | namelen = EXT2_NAME_LEN; |
namelen | 135 | fs/ext2/namei.c | if (de->inode != 0 && ext2_match (namelen, name, de)) { |
namelen | 220 | fs/ext2/namei.c | const char * name, int namelen, |
namelen | 236 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 239 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 240 | fs/ext2/namei.c | namelen = EXT2_NAME_LEN; |
namelen | 242 | fs/ext2/namei.c | if (!namelen) |
namelen | 255 | fs/ext2/namei.c | rec_len = EXT2_DIR_REC_LEN(namelen); |
namelen | 292 | fs/ext2/namei.c | if (de->inode != 0 && ext2_match (namelen, name, de)) { |
namelen | 309 | fs/ext2/namei.c | de->name_len = namelen; |
namelen | 310 | fs/ext2/namei.c | memcpy (de->name, name, namelen); |
namelen | 262 | fs/hpfs/hpfs.h | unsigned char namelen, name[1]; /* file name */ |
namelen | 454 | fs/hpfs/hpfs.h | unsigned char namelen; /* length of name, bytes */ |
namelen | 475 | fs/hpfs/hpfs.h | return (void *) ea + sizeof *ea + ea->namelen + 1; |
namelen | 481 | fs/hpfs/hpfs.h | return (void *) ea + sizeof *ea + ea->namelen + 1 + ea->valuelen; |
namelen | 1271 | fs/hpfs/hpfs_fs.c | l = len < de->namelen ? len : de->namelen; |
namelen | 1278 | fs/hpfs/hpfs_fs.c | t = len - de->namelen; |
namelen | 1372 | fs/hpfs/hpfs_fs.c | int namelen, lc; |
namelen | 1411 | fs/hpfs/hpfs_fs.c | namelen = de->namelen; |
namelen | 1412 | fs/hpfs/hpfs_fs.c | translate_hpfs_name(de->name, namelen, tempname, lc); |
namelen | 1418 | fs/hpfs/hpfs_fs.c | if (filldir(dirent, tempname, namelen, old_pos, ino) < 0) { |
namelen | 62 | fs/isofs/namei.c | const char * name, int namelen, unsigned long * ino, unsigned long * ino_back) |
namelen | 173 | fs/isofs/namei.c | if(dpnt[dlen-1] == '.' && namelen == dlen-1) |
namelen | 184 | fs/isofs/namei.c | match = isofs_match(namelen,name,dpnt,dlen); |
namelen | 65 | fs/minix/namei.c | const char * name, int namelen, struct minix_dir_entry ** res_dir) |
namelen | 75 | fs/minix/namei.c | if (namelen > info->s_namelen) { |
namelen | 79 | fs/minix/namei.c | namelen = info->s_namelen; |
namelen | 93 | fs/minix/namei.c | if (minix_match(namelen,name,bh,&offset,info)) |
namelen | 146 | fs/minix/namei.c | const char * name, int namelen, |
namelen | 161 | fs/minix/namei.c | if (namelen > info->s_namelen) { |
namelen | 165 | fs/minix/namei.c | namelen = info->s_namelen; |
namelen | 168 | fs/minix/namei.c | if (!namelen) |
namelen | 186 | fs/minix/namei.c | if (namecompare(namelen, info->s_namelen, name, de->name)) { |
namelen | 194 | fs/minix/namei.c | de->name[i] = (i < namelen) ? name[i] : 0; |
namelen | 214 | fs/namei.c | static int dir_namei(const char *pathname, int *namelen, const char **name, |
namelen | 254 | fs/namei.c | *namelen = len; |
namelen | 263 | fs/namei.c | int namelen,error; |
namelen | 267 | fs/namei.c | error = dir_namei(pathname, &namelen, &basename, base, &base); |
namelen | 271 | fs/namei.c | error = lookup(base, basename, namelen, &inode); |
namelen | 336 | fs/namei.c | int namelen,error; |
namelen | 341 | fs/namei.c | error = dir_namei(pathname, &namelen, &basename, base, &dir); |
namelen | 344 | fs/namei.c | if (!namelen) { /* special case: '/usr/' etc */ |
namelen | 360 | fs/namei.c | error = lookup(dir, basename, namelen, &inode); |
namelen | 376 | fs/namei.c | error = dir->i_op->create(dir, basename, namelen, mode, res_inode); |
namelen | 383 | fs/namei.c | error = lookup(dir, basename, namelen, &inode); |
namelen | 461 | fs/namei.c | int namelen, error; |
namelen | 465 | fs/namei.c | error = dir_namei(filename, &namelen, &basename, NULL, &dir); |
namelen | 468 | fs/namei.c | if (!namelen) { |
namelen | 488 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
namelen | 521 | fs/namei.c | int namelen, error; |
namelen | 524 | fs/namei.c | error = dir_namei(pathname, &namelen, &basename, NULL, &dir); |
namelen | 527 | fs/namei.c | if (!namelen) { |
namelen | 547 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
namelen | 569 | fs/namei.c | int namelen, error; |
namelen | 572 | fs/namei.c | error = dir_namei(name, &namelen, &basename, NULL, &dir); |
namelen | 575 | fs/namei.c | if (!namelen) { |
namelen | 600 | fs/namei.c | return dir->i_op->rmdir(dir,basename,namelen); |
namelen | 619 | fs/namei.c | int namelen, error; |
namelen | 622 | fs/namei.c | error = dir_namei(name, &namelen, &basename, NULL, &dir); |
namelen | 625 | fs/namei.c | if (!namelen) { |
namelen | 650 | fs/namei.c | return dir->i_op->unlink(dir,basename,namelen); |
namelen | 670 | fs/namei.c | int namelen, error; |
namelen | 672 | fs/namei.c | error = dir_namei(newname, &namelen, &basename, NULL, &dir); |
namelen | 675 | fs/namei.c | if (!namelen) { |
namelen | 695 | fs/namei.c | error = dir->i_op->symlink(dir,basename,namelen,oldname); |
namelen | 722 | fs/namei.c | int namelen, error; |
namelen | 724 | fs/namei.c | error = dir_namei(newname, &namelen, &basename, NULL, &dir); |
namelen | 729 | fs/namei.c | if (!namelen) { |
namelen | 766 | fs/namei.c | error = dir->i_op->link(oldinode, dir, basename, namelen); |
namelen | 381 | fs/proc/root.c | if (de->namelen != len) |
namelen | 536 | fs/proc/root.c | if (filldir(dirent, de->name, de->namelen, filp->f_pos, ino | de->low_ino) < 0) |
namelen | 1111 | fs/smbfs/proc.c | int namelen; |
namelen | 1126 | fs/smbfs/proc.c | namelen = min(DVAL(p,0), SMB_MAXNAMELEN); |
namelen | 1131 | fs/smbfs/proc.c | strncpy(finfo->path,p,namelen); |
namelen | 1132 | fs/smbfs/proc.c | finfo->len = namelen; |
namelen | 61 | fs/sysv/namei.c | const char * name, int namelen, struct sysv_dir_entry ** res_dir) |
namelen | 71 | fs/sysv/namei.c | if (namelen > SYSV_NAMELEN) |
namelen | 73 | fs/sysv/namei.c | namelen = SYSV_NAMELEN; |
namelen | 87 | fs/sysv/namei.c | if (sysv_match(namelen, name, |
namelen | 142 | fs/sysv/namei.c | const char * name, int namelen, |
namelen | 157 | fs/sysv/namei.c | if (namelen > SYSV_NAMELEN) |
namelen | 159 | fs/sysv/namei.c | namelen = SYSV_NAMELEN; |
namelen | 162 | fs/sysv/namei.c | if (!namelen) |
namelen | 181 | fs/sysv/namei.c | if (namecompare(namelen, SYSV_NAMELEN, name, de->name)) { |
namelen | 189 | fs/sysv/namei.c | de->name[i] = (i < namelen) ? name[i] : 0; |
namelen | 58 | fs/xiafs/namei.c | xiafs_find_entry(struct inode * inode, const char * name, int namelen, |
namelen | 68 | fs/xiafs/namei.c | if (namelen > _XIAFS_NAME_LEN) |
namelen | 97 | fs/xiafs/namei.c | if (xiafs_match(namelen, name, dep)) { |
namelen | 155 | fs/xiafs/namei.c | const char * name, int namelen, struct xiafs_direct ** res_dir, |
namelen | 163 | fs/xiafs/namei.c | if (!dir || !namelen || namelen > _XIAFS_NAME_LEN) |
namelen | 206 | fs/xiafs/namei.c | RNDUP4(de->d_name_len)+RNDUP4(namelen)+16<=de->d_rec_len) { |
namelen | 215 | fs/xiafs/namei.c | if (!de->d_ino && RNDUP4(namelen)+8 <= de->d_rec_len) { |
namelen | 222 | fs/xiafs/namei.c | memcpy(de->d_name, name, namelen); |
namelen | 223 | fs/xiafs/namei.c | de->d_name[namelen]=0; |
namelen | 224 | fs/xiafs/namei.c | de->d_name_len=namelen; |
namelen | 164 | include/linux/proc_fs.h | unsigned short namelen; |
namelen | 402 | kernel/sysctl.c | de->namelen = strlen(table->procname); |