tag | line | file | source code |
namelen | 466 | arch/alpha/kernel/osf_sys.c | asmlinkage int osf_getdomainname(char *name, int namelen) |
namelen | 471 | arch/alpha/kernel/osf_sys.c | error = verify_area(VERIFY_WRITE, name, namelen); |
namelen | 475 | arch/alpha/kernel/osf_sys.c | len = namelen; |
namelen | 476 | 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 | 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 | 443 | fs/namei.c | int namelen, error; |
namelen | 447 | fs/namei.c | error = dir_namei(filename, &namelen, &basename, NULL, &dir); |
namelen | 450 | fs/namei.c | if (!namelen) { |
namelen | 470 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
namelen | 503 | fs/namei.c | int namelen, error; |
namelen | 506 | fs/namei.c | error = dir_namei(pathname, &namelen, &basename, NULL, &dir); |
namelen | 509 | fs/namei.c | if (!namelen) { |
namelen | 529 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
namelen | 551 | fs/namei.c | int namelen, error; |
namelen | 554 | fs/namei.c | error = dir_namei(name, &namelen, &basename, NULL, &dir); |
namelen | 557 | fs/namei.c | if (!namelen) { |
namelen | 582 | fs/namei.c | return dir->i_op->rmdir(dir,basename,namelen); |
namelen | 601 | fs/namei.c | int namelen, error; |
namelen | 604 | fs/namei.c | error = dir_namei(name, &namelen, &basename, NULL, &dir); |
namelen | 607 | fs/namei.c | if (!namelen) { |
namelen | 632 | fs/namei.c | return dir->i_op->unlink(dir,basename,namelen); |
namelen | 652 | fs/namei.c | int namelen, error; |
namelen | 654 | fs/namei.c | error = dir_namei(newname, &namelen, &basename, NULL, &dir); |
namelen | 657 | fs/namei.c | if (!namelen) { |
namelen | 677 | fs/namei.c | error = dir->i_op->symlink(dir,basename,namelen,oldname); |
namelen | 704 | fs/namei.c | int namelen, error; |
namelen | 706 | fs/namei.c | error = dir_namei(newname, &namelen, &basename, NULL, &dir); |
namelen | 711 | fs/namei.c | if (!namelen) { |
namelen | 748 | fs/namei.c | error = dir->i_op->link(oldinode, dir, basename, namelen); |
namelen | 339 | fs/proc/root.c | if (de->namelen != len) |
namelen | 494 | 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 | 145 | include/linux/proc_fs.h | unsigned short namelen; |