tag | line | file | source code |
namelen | 89 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir, |
namelen | 100 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 103 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 104 | fs/ext/namei.c | namelen = EXT_NAME_LEN; |
namelen | 138 | fs/ext/namei.c | if (ext_match(namelen,name,de)) { |
namelen | 197 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir) |
namelen | 209 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 212 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 213 | fs/ext/namei.c | namelen = EXT_NAME_LEN; |
namelen | 215 | fs/ext/namei.c | if (!namelen) |
namelen | 220 | fs/ext/namei.c | rec_len = ((8 + namelen + EXT_DIR_PAD - 1) / EXT_DIR_PAD) * EXT_DIR_PAD; |
namelen | 297 | fs/ext/namei.c | de->name_len = namelen; |
namelen | 298 | fs/ext/namei.c | for (i=0; i < namelen ; i++) |
namelen | 76 | fs/ext2/namei.c | const char * const name, int namelen, |
namelen | 91 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 94 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 95 | fs/ext2/namei.c | namelen = EXT2_NAME_LEN; |
namelen | 140 | fs/ext2/namei.c | if (de->inode != 0 && ext2_match (namelen, name, de)) { |
namelen | 219 | fs/ext2/namei.c | const char * name, int namelen, |
namelen | 235 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 238 | fs/ext2/namei.c | if (namelen > EXT2_NAME_LEN) |
namelen | 239 | fs/ext2/namei.c | namelen = EXT2_NAME_LEN; |
namelen | 241 | fs/ext2/namei.c | if (!namelen) |
namelen | 254 | fs/ext2/namei.c | rec_len = EXT2_DIR_REC_LEN(namelen); |
namelen | 291 | fs/ext2/namei.c | if (de->inode != 0 && ext2_match (namelen, name, de)) { |
namelen | 308 | fs/ext2/namei.c | de->name_len = namelen; |
namelen | 309 | 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 | 248 | 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 namelen; |
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 | 1395 | fs/hpfs/hpfs_fs.c | for (n = namelen; n != 0;) { |
namelen | 1402 | fs/hpfs/hpfs_fs.c | memcpy_tofs(dirent->d_name, name, namelen); |
namelen | 1404 | fs/hpfs/hpfs_fs.c | put_fs_byte(0, &dirent->d_name[namelen]); |
namelen | 67 | fs/isofs/namei.c | const char * name, int namelen, int * ino, int * ino_back) |
namelen | 176 | fs/isofs/namei.c | if(dpnt[dlen-1] == '.' && namelen == dlen-1) |
namelen | 180 | 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; |
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 | 303 | fs/namei.c | error = lookup(dir,basename,namelen,&inode); |
namelen | 317 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
namelen | 324 | fs/namei.c | error = lookup(dir,basename,namelen,&inode); |
namelen | 387 | fs/namei.c | int namelen, error; |
namelen | 391 | fs/namei.c | error = dir_namei(filename,&namelen,&basename, NULL, &dir); |
namelen | 394 | fs/namei.c | if (!namelen) { |
namelen | 412 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
namelen | 445 | fs/namei.c | int namelen, error; |
namelen | 448 | fs/namei.c | error = dir_namei(pathname,&namelen,&basename,NULL,&dir); |
namelen | 451 | fs/namei.c | if (!namelen) { |
namelen | 469 | fs/namei.c | error = dir->i_op->mkdir(dir,basename,namelen,mode); |
namelen | 491 | fs/namei.c | int namelen, error; |
namelen | 494 | fs/namei.c | error = dir_namei(name,&namelen,&basename,NULL,&dir); |
namelen | 497 | fs/namei.c | if (!namelen) { |
namelen | 513 | fs/namei.c | return dir->i_op->rmdir(dir,basename,namelen); |
namelen | 532 | fs/namei.c | int namelen, error; |
namelen | 535 | fs/namei.c | error = dir_namei(name,&namelen,&basename,NULL,&dir); |
namelen | 538 | fs/namei.c | if (!namelen) { |
namelen | 554 | fs/namei.c | return dir->i_op->unlink(dir,basename,namelen); |
namelen | 574 | fs/namei.c | int namelen, error; |
namelen | 576 | fs/namei.c | error = dir_namei(newname,&namelen,&basename,NULL,&dir); |
namelen | 579 | fs/namei.c | if (!namelen) { |
namelen | 597 | fs/namei.c | error = dir->i_op->symlink(dir,basename,namelen,oldname); |
namelen | 624 | fs/namei.c | int namelen, error; |
namelen | 626 | fs/namei.c | error = dir_namei(newname,&namelen,&basename,NULL,&dir); |
namelen | 631 | fs/namei.c | if (!namelen) { |
namelen | 658 | fs/namei.c | error = dir->i_op->link(oldinode, dir, basename, namelen); |
namelen | 80 | fs/proc/base.c | if (de->namelen != len) |
namelen | 152 | fs/proc/base.c | i = de->namelen; |
namelen | 179 | fs/proc/net.c | i = de->namelen; |
namelen | 149 | fs/proc/root.c | i = de->namelen; |
namelen | 66 | fs/sysv/namei.c | const char * name, int namelen, struct sysv_dir_entry ** res_dir) |
namelen | 77 | fs/sysv/namei.c | if (namelen > SYSV_NAMELEN) |
namelen | 79 | fs/sysv/namei.c | namelen = SYSV_NAMELEN; |
namelen | 93 | fs/sysv/namei.c | if (sysv_match(namelen, name, |
namelen | 148 | fs/sysv/namei.c | const char * name, int namelen, |
namelen | 164 | fs/sysv/namei.c | if (namelen > SYSV_NAMELEN) |
namelen | 166 | fs/sysv/namei.c | namelen = SYSV_NAMELEN; |
namelen | 169 | fs/sysv/namei.c | if (!namelen) |
namelen | 188 | fs/sysv/namei.c | if (namecompare(namelen, SYSV_NAMELEN, name, de->name)) { |
namelen | 195 | fs/sysv/namei.c | de->name[i] = (i < namelen) ? name[i] : 0; |
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; |