tag | line | file | source code |
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 | 129 | fs/ext/namei.c | if (ext_match(namelen,name,de)) { |
namelen | 188 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir) |
namelen | 200 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 203 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 204 | fs/ext/namei.c | namelen = EXT_NAME_LEN; |
namelen | 206 | fs/ext/namei.c | if (!namelen) |
namelen | 211 | fs/ext/namei.c | rec_len = ((8 + namelen + EXT_DIR_PAD - 1) / EXT_DIR_PAD) * EXT_DIR_PAD; |
namelen | 289 | fs/ext/namei.c | de->name_len = namelen; |
namelen | 290 | fs/ext/namei.c | for (i=0; i < namelen ; i++) |
namelen | 68 | fs/ext2/namei.c | const char * const name, int namelen, |
namelen | 83 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 86 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 87 | fs/ext2/namei.c | namelen = EXT2_NAME_LEN; |
namelen | 132 | fs/ext2/namei.c | if (de->inode != 0 && ext2_match (namelen, name, de)) { |
namelen | 217 | fs/ext2/namei.c | const char * name, int namelen, |
namelen | 233 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 236 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 237 | fs/ext2/namei.c | namelen = EXT2_NAME_LEN; |
namelen | 239 | fs/ext2/namei.c | if (!namelen) |
namelen | 252 | fs/ext2/namei.c | rec_len = EXT2_DIR_REC_LEN(namelen); |
namelen | 289 | fs/ext2/namei.c | if (de->inode != 0 && ext2_match (namelen, name, de)) { |
namelen | 306 | fs/ext2/namei.c | de->name_len = namelen; |
namelen | 307 | fs/ext2/namei.c | memcpy (de->name, name, namelen); |
namelen | 260 | fs/hpfs/hpfs.h | unsigned char namelen, name[1]; /* file name */ |
namelen | 452 | fs/hpfs/hpfs.h | unsigned char namelen; /* length of name, bytes */ |
namelen | 473 | fs/hpfs/hpfs.h | return (void *) ea + sizeof *ea + ea->namelen + 1; |
namelen | 479 | fs/hpfs/hpfs.h | return (void *) ea + sizeof *ea + ea->namelen + 1 + ea->valuelen; |
namelen | 252 | fs/hpfs/hpfs_fs.c | unsigned namelen, ino_t ino, int lowercase); |
namelen | 1257 | fs/hpfs/hpfs_fs.c | l = len < de->namelen ? len : de->namelen; |
namelen | 1264 | fs/hpfs/hpfs_fs.c | t = len - de->namelen; |
namelen | 1334 | fs/hpfs/hpfs_fs.c | int namelen, lc; |
namelen | 1366 | fs/hpfs/hpfs_fs.c | namelen = de->namelen; |
namelen | 1371 | fs/hpfs/hpfs_fs.c | write_one_dirent(dirent, de->name, namelen, ino, lc); |
namelen | 1374 | fs/hpfs/hpfs_fs.c | return ROUND_UP(NAME_OFFSET(dirent) + namelen + 1); |
namelen | 1387 | fs/hpfs/hpfs_fs.c | unsigned namelen, ino_t ino, int lowercase) |
namelen | 1392 | fs/hpfs/hpfs_fs.c | put_fs_word(namelen, &dirent->d_reclen); |
namelen | 1394 | fs/hpfs/hpfs_fs.c | for (n = namelen; n != 0;) { |
namelen | 1403 | fs/hpfs/hpfs_fs.c | put_fs_byte(0, &dirent->d_name[namelen]); |
namelen | 66 | fs/isofs/namei.c | const char * name, int namelen, unsigned long * ino, unsigned long * ino_back) |
namelen | 177 | fs/isofs/namei.c | if(dpnt[dlen-1] == '.' && namelen == dlen-1) |
namelen | 181 | fs/isofs/namei.c | match = isofs_match(namelen,name,dpnt,dlen); |
namelen | 69 | fs/minix/namei.c | const char * name, int namelen, struct minix_dir_entry ** res_dir) |
namelen | 79 | fs/minix/namei.c | if (namelen > info->s_namelen) { |
namelen | 83 | fs/minix/namei.c | namelen = info->s_namelen; |
namelen | 97 | fs/minix/namei.c | if (minix_match(namelen,name,bh,&offset,info)) |
namelen | 150 | fs/minix/namei.c | const char * name, int namelen, |
namelen | 165 | fs/minix/namei.c | if (namelen > info->s_namelen) { |
namelen | 169 | fs/minix/namei.c | namelen = info->s_namelen; |
namelen | 172 | fs/minix/namei.c | if (!namelen) |
namelen | 190 | fs/minix/namei.c | if (namecompare(namelen, info->s_namelen, name, de->name)) { |
namelen | 198 | fs/minix/namei.c | de->name[i] = (i < namelen) ? name[i] : 0; |
namelen | 215 | fs/namei.c | static int dir_namei(const char * pathname, int * namelen, const char ** name, |
namelen | 255 | fs/namei.c | *namelen = len; |
namelen | 264 | fs/namei.c | int namelen,error; |
namelen | 268 | fs/namei.c | error = dir_namei(pathname,&namelen,&basename,base,&base); |
namelen | 272 | fs/namei.c | error = lookup(base,basename,namelen,&inode); |
namelen | 337 | fs/namei.c | int namelen,error; |
namelen | 342 | fs/namei.c | error = dir_namei(pathname,&namelen,&basename,base,&dir); |
namelen | 345 | fs/namei.c | if (!namelen) { /* special case: '/usr/' etc */ |
namelen | 361 | fs/namei.c | error = lookup(dir,basename,namelen,&inode); |
namelen | 375 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
namelen | 382 | fs/namei.c | error = lookup(dir,basename,namelen,&inode); |
namelen | 444 | fs/namei.c | int namelen, error; |
namelen | 448 | fs/namei.c | error = dir_namei(filename,&namelen,&basename, NULL, &dir); |
namelen | 451 | fs/namei.c | if (!namelen) { |
namelen | 469 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
namelen | 502 | fs/namei.c | int namelen, error; |
namelen | 505 | fs/namei.c | error = dir_namei(pathname,&namelen,&basename,NULL,&dir); |
namelen | 508 | fs/namei.c | if (!namelen) { |
namelen | 526 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
namelen | 548 | fs/namei.c | int namelen, error; |
namelen | 551 | fs/namei.c | error = dir_namei(name,&namelen,&basename,NULL,&dir); |
namelen | 554 | fs/namei.c | if (!namelen) { |
namelen | 577 | fs/namei.c | return dir->i_op->rmdir(dir,basename,namelen); |
namelen | 596 | fs/namei.c | int namelen, error; |
namelen | 599 | fs/namei.c | error = dir_namei(name,&namelen,&basename,NULL,&dir); |
namelen | 602 | fs/namei.c | if (!namelen) { |
namelen | 625 | fs/namei.c | return dir->i_op->unlink(dir,basename,namelen); |
namelen | 645 | fs/namei.c | int namelen, error; |
namelen | 647 | fs/namei.c | error = dir_namei(newname,&namelen,&basename,NULL,&dir); |
namelen | 650 | fs/namei.c | if (!namelen) { |
namelen | 668 | fs/namei.c | error = dir->i_op->symlink(dir,basename,namelen,oldname); |
namelen | 695 | fs/namei.c | int namelen, error; |
namelen | 697 | fs/namei.c | error = dir_namei(newname,&namelen,&basename,NULL,&dir); |
namelen | 702 | fs/namei.c | if (!namelen) { |
namelen | 737 | fs/namei.c | error = dir->i_op->link(oldinode, dir, basename, namelen); |
namelen | 77 | fs/proc/base.c | if (de->namelen != len) |
namelen | 142 | fs/proc/base.c | i = de->namelen; |
namelen | 222 | fs/proc/net.c | i = de->namelen; |
namelen | 159 | fs/proc/root.c | i = de->namelen; |
namelen | 65 | fs/sysv/namei.c | const char * name, int namelen, struct sysv_dir_entry ** res_dir) |
namelen | 75 | fs/sysv/namei.c | if (namelen > SYSV_NAMELEN) |
namelen | 77 | fs/sysv/namei.c | namelen = SYSV_NAMELEN; |
namelen | 91 | fs/sysv/namei.c | if (sysv_match(namelen, name, |
namelen | 146 | fs/sysv/namei.c | const char * name, int namelen, |
namelen | 161 | fs/sysv/namei.c | if (namelen > SYSV_NAMELEN) |
namelen | 163 | fs/sysv/namei.c | namelen = SYSV_NAMELEN; |
namelen | 166 | fs/sysv/namei.c | if (!namelen) |
namelen | 185 | fs/sysv/namei.c | if (namecompare(namelen, SYSV_NAMELEN, name, de->name)) { |
namelen | 193 | fs/sysv/namei.c | de->name[i] = (i < namelen) ? name[i] : 0; |
namelen | 61 | fs/xiafs/namei.c | xiafs_find_entry(struct inode * inode, const char * name, int namelen, |
namelen | 71 | fs/xiafs/namei.c | if (namelen > _XIAFS_NAME_LEN) |
namelen | 100 | fs/xiafs/namei.c | if (xiafs_match(namelen, name, dep)) { |
namelen | 158 | fs/xiafs/namei.c | const char * name, int namelen, struct xiafs_direct ** res_dir, |
namelen | 166 | fs/xiafs/namei.c | if (!dir || !namelen || namelen > _XIAFS_NAME_LEN) |
namelen | 209 | fs/xiafs/namei.c | RNDUP4(de->d_name_len)+RNDUP4(namelen)+16<=de->d_rec_len) { |
namelen | 218 | fs/xiafs/namei.c | if (!de->d_ino && RNDUP4(namelen)+8 <= de->d_rec_len) { |
namelen | 225 | fs/xiafs/namei.c | memcpy(de->d_name, name, namelen); |
namelen | 226 | fs/xiafs/namei.c | de->d_name[namelen]=0; |
namelen | 227 | fs/xiafs/namei.c | de->d_name_len=namelen; |
namelen | 108 | include/linux/proc_fs.h | unsigned short namelen; |