tag | line | file | source code |
namelen | 92 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir, |
namelen | 105 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 108 | fs/ext/namei.c | if (namelen > EXT_NAME_LEN) |
namelen | 109 | 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 | 220 | 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 | 61 | fs/minix/namei.c | const char * name, int namelen, struct minix_dir_entry ** res_dir) |
namelen | 72 | fs/minix/namei.c | if (namelen > MINIX_NAME_LEN) |
namelen | 75 | fs/minix/namei.c | if (namelen > MINIX_NAME_LEN) |
namelen | 76 | fs/minix/namei.c | namelen = MINIX_NAME_LEN; |
namelen | 96 | fs/minix/namei.c | if (minix_match(namelen,name,de)) { |
namelen | 146 | fs/minix/namei.c | const char * name, int namelen, struct minix_dir_entry ** res_dir) |
namelen | 156 | fs/minix/namei.c | if (namelen > MINIX_NAME_LEN) |
namelen | 159 | fs/minix/namei.c | if (namelen > MINIX_NAME_LEN) |
namelen | 160 | fs/minix/namei.c | namelen = MINIX_NAME_LEN; |
namelen | 162 | fs/minix/namei.c | if (!namelen) |
namelen | 192 | fs/minix/namei.c | de->name[i]=(i<namelen)?get_fs_byte(name+i):0; |
namelen | 115 | fs/namei.c | int * namelen, const char ** name, struct inode * base) |
namelen | 148 | fs/namei.c | *namelen = len; |
namelen | 156 | fs/namei.c | int namelen,error; |
namelen | 159 | fs/namei.c | if (!(base = dir_namei(pathname,&namelen,&basename,base))) |
namelen | 162 | fs/namei.c | error = lookup(base,basename,namelen,&inode); |
namelen | 200 | fs/namei.c | int namelen,error,i; |
namelen | 208 | fs/namei.c | if (!(dir = dir_namei(pathname,&namelen,&basename,NULL))) |
namelen | 210 | fs/namei.c | if (!namelen) { /* special case: '/usr/' etc */ |
namelen | 219 | fs/namei.c | error = lookup(dir,basename,namelen,&inode); |
namelen | 237 | fs/namei.c | return dir->i_op->create(dir,basename,namelen,mode,res_inode); |
namelen | 292 | fs/namei.c | int namelen; |
namelen | 295 | fs/namei.c | if (!(dir = dir_namei(filename,&namelen,&basename, NULL))) |
namelen | 297 | fs/namei.c | if (!namelen) { |
namelen | 313 | fs/namei.c | return dir->i_op->mknod(dir,basename,namelen,mode,dev); |
namelen | 326 | fs/namei.c | int namelen; |
namelen | 329 | fs/namei.c | if (!(dir = dir_namei(pathname,&namelen,&basename, NULL))) |
namelen | 331 | fs/namei.c | if (!namelen) { |
namelen | 347 | fs/namei.c | return dir->i_op->mkdir(dir,basename,namelen,mode); |
namelen | 353 | fs/namei.c | int namelen; |
namelen | 356 | fs/namei.c | if (!(dir = dir_namei(name,&namelen,&basename, NULL))) |
namelen | 358 | fs/namei.c | if (!namelen) { |
namelen | 374 | fs/namei.c | return dir->i_op->rmdir(dir,basename,namelen); |
namelen | 380 | fs/namei.c | int namelen; |
namelen | 383 | fs/namei.c | if (!(dir = dir_namei(name,&namelen,&basename, NULL))) |
namelen | 385 | fs/namei.c | if (!namelen) { |
namelen | 401 | fs/namei.c | return dir->i_op->unlink(dir,basename,namelen); |
namelen | 408 | fs/namei.c | int namelen; |
namelen | 410 | fs/namei.c | dir = dir_namei(newname,&namelen,&basename, NULL); |
namelen | 413 | fs/namei.c | if (!namelen) { |
namelen | 429 | fs/namei.c | return dir->i_op->symlink(dir,basename,namelen,oldname); |
namelen | 436 | fs/namei.c | int namelen; |
namelen | 441 | fs/namei.c | dir = dir_namei(newname,&namelen,&basename, NULL); |
namelen | 446 | fs/namei.c | if (!namelen) { |
namelen | 471 | fs/namei.c | return dir->i_op->link(oldinode, dir, basename, namelen); |