tag | line | file | source code |
namelen | 88 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir, |
namelen | 99 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 102 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 103 | fs/ext/namei.c | namelen = EXT_NAME_LEN; |
namelen | 137 | fs/ext/namei.c | if (ext_match(namelen,name,de)) { |
namelen | 196 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir) |
namelen | 208 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 211 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 212 | fs/ext/namei.c | namelen = EXT_NAME_LEN; |
namelen | 214 | fs/ext/namei.c | if (!namelen) |
namelen | 219 | fs/ext/namei.c | rec_len = ((8 + namelen + EXT_DIR_PAD - 1) / EXT_DIR_PAD) * EXT_DIR_PAD; |
namelen | 296 | fs/ext/namei.c | de->name_len = namelen; |
namelen | 297 | fs/ext/namei.c | for (i=0; i < namelen ; i++) |
namelen | 66 | fs/ext2/namei.c | const char * const name, int namelen, |
namelen | 80 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 83 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 84 | fs/ext2/namei.c | namelen = EXT2_NAME_LEN; |
namelen | 106 | fs/ext2/namei.c | if (de->inode != 0 && ext2_match (namelen, name, de)) { |
namelen | 166 | fs/ext2/namei.c | const char * name, int namelen, |
namelen | 182 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 185 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 186 | fs/ext2/namei.c | namelen = EXT2_NAME_LEN; |
namelen | 188 | fs/ext2/namei.c | if (!namelen) |
namelen | 200 | fs/ext2/namei.c | rec_len = EXT2_DIR_REC_LEN(namelen); |
namelen | 240 | fs/ext2/namei.c | if (de->inode != 0 && ext2_match (namelen, name, de)) { |
namelen | 257 | fs/ext2/namei.c | de->name_len = namelen; |
namelen | 258 | fs/ext2/namei.c | memcpy (de->name, name, namelen); |
namelen | 256 | fs/hpfs/hpfs.h | unsigned char namelen, name[1]; /* file name */ |
namelen | 448 | fs/hpfs/hpfs.h | unsigned char namelen; /* length of name, bytes */ |
namelen | 469 | fs/hpfs/hpfs.h | return (void *) ea + sizeof *ea + ea->namelen + 1; |
namelen | 475 | fs/hpfs/hpfs.h | return (void *) ea + sizeof *ea + ea->namelen + 1 + ea->valuelen; |
namelen | 247 | fs/hpfs/hpfs_fs.c | unsigned namelen, ino_t ino, int lowercase); |
namelen | 1256 | fs/hpfs/hpfs_fs.c | l = len < de->namelen ? len : de->namelen; |
namelen | 1263 | fs/hpfs/hpfs_fs.c | t = len - de->namelen; |
namelen | 1333 | fs/hpfs/hpfs_fs.c | int namelen, lc; |
namelen | 1365 | fs/hpfs/hpfs_fs.c | namelen = de->namelen; |
namelen | 1370 | fs/hpfs/hpfs_fs.c | write_one_dirent(dirent, de->name, namelen, ino, lc); |
namelen | 1373 | fs/hpfs/hpfs_fs.c | return namelen; |
namelen | 1386 | fs/hpfs/hpfs_fs.c | unsigned namelen, ino_t ino, int lowercase) |
namelen | 1391 | 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 | 1401 | fs/hpfs/hpfs_fs.c | memcpy_tofs(dirent->d_name, name, namelen); |
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, int * ino, int * ino_back) |
namelen | 173 | fs/isofs/namei.c | if(dpnt[dlen-1] == '.' && namelen == dlen-1) |
namelen | 177 | 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 | 197 | fs/minix/namei.c | de->name[i] = (i < namelen) ? name[i] : 0; |
namelen | 156 | fs/namei.c | static int dir_namei(const char * pathname, int * namelen, const char ** name, |
namelen | 196 | fs/namei.c | *namelen = len; |
namelen | 205 | fs/namei.c | int namelen,error; |
namelen | 209 | fs/namei.c | error = dir_namei(pathname,&namelen,&basename,base,&base); |
namelen | 213 | fs/namei.c | error = lookup(base,basename,namelen,&inode); |
namelen | 278 | fs/namei.c | int namelen,error,i; |
namelen | 284 | fs/namei.c | error = dir_namei(pathname,&namelen,&basename,base,&dir); |
namelen | 287 | fs/namei.c | if (!namelen) { /* special case: '/usr/' etc */ |
namelen | 302 | fs/namei.c | error = lookup(dir,basename,namelen,&inode); |
namelen | 322 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
namelen | 395 | fs/namei.c | int namelen, error; |
namelen | 399 | fs/namei.c | error = dir_namei(filename,&namelen,&basename, NULL, &dir); |
namelen | 402 | fs/namei.c | if (!namelen) { |
namelen | 418 | fs/namei.c | return dir->i_op->mknod(dir,basename,namelen,mode,dev); |
namelen | 448 | fs/namei.c | int namelen, error; |
namelen | 451 | fs/namei.c | error = dir_namei(pathname,&namelen,&basename,NULL,&dir); |
namelen | 454 | fs/namei.c | if (!namelen) { |
namelen | 470 | fs/namei.c | return dir->i_op->mkdir(dir,basename,namelen,mode); |
namelen | 489 | fs/namei.c | int namelen, error; |
namelen | 492 | fs/namei.c | error = dir_namei(name,&namelen,&basename,NULL,&dir); |
namelen | 495 | fs/namei.c | if (!namelen) { |
namelen | 511 | fs/namei.c | return dir->i_op->rmdir(dir,basename,namelen); |
namelen | 530 | fs/namei.c | int namelen, error; |
namelen | 533 | fs/namei.c | error = dir_namei(name,&namelen,&basename,NULL,&dir); |
namelen | 536 | fs/namei.c | if (!namelen) { |
namelen | 552 | fs/namei.c | return dir->i_op->unlink(dir,basename,namelen); |
namelen | 572 | fs/namei.c | int namelen, error; |
namelen | 574 | fs/namei.c | error = dir_namei(newname,&namelen,&basename,NULL,&dir); |
namelen | 577 | fs/namei.c | if (!namelen) { |
namelen | 593 | fs/namei.c | return dir->i_op->symlink(dir,basename,namelen,oldname); |
namelen | 617 | fs/namei.c | int namelen, error; |
namelen | 619 | fs/namei.c | error = dir_namei(newname,&namelen,&basename,NULL,&dir); |
namelen | 624 | fs/namei.c | if (!namelen) { |
namelen | 649 | fs/namei.c | return dir->i_op->link(oldinode, dir, basename, namelen); |
namelen | 80 | fs/proc/base.c | if (de->namelen != len) |
namelen | 151 | fs/proc/base.c | i = de->namelen; |
namelen | 143 | fs/proc/net.c | i = de->namelen; |
namelen | 144 | fs/proc/root.c | i = de->namelen; |
namelen | 57 | fs/xiafs/namei.c | xiafs_find_entry(struct inode * inode, const char * name, int namelen, |
namelen | 67 | fs/xiafs/namei.c | if (namelen > _XIAFS_NAME_LEN) |
namelen | 96 | fs/xiafs/namei.c | if (xiafs_match(namelen, name, dep)) { |
namelen | 154 | fs/xiafs/namei.c | const char * name, int namelen, struct xiafs_direct ** res_dir, |
namelen | 162 | fs/xiafs/namei.c | if (!dir || !namelen || namelen > _XIAFS_NAME_LEN) |
namelen | 205 | fs/xiafs/namei.c | RNDUP4(de->d_name_len)+RNDUP4(namelen)+16<=de->d_rec_len) { |
namelen | 214 | fs/xiafs/namei.c | if (!de->d_ino && RNDUP4(namelen)+8 <= de->d_rec_len) { |
namelen | 221 | fs/xiafs/namei.c | memcpy(de->d_name, name, namelen); |
namelen | 222 | fs/xiafs/namei.c | de->d_name[namelen]=0; |
namelen | 223 | fs/xiafs/namei.c | de->d_name_len=namelen; |
namelen | 14 | include/linux/proc_fs.h | unsigned short namelen; |