tag | line | file | source code |
namelen | 465 | arch/alpha/kernel/osf_sys.c | asmlinkage int osf_getdomainname(char *name, int namelen) |
namelen | 470 | arch/alpha/kernel/osf_sys.c | error = verify_area(VERIFY_WRITE, name, namelen); |
namelen | 474 | arch/alpha/kernel/osf_sys.c | len = namelen; |
namelen | 475 | arch/alpha/kernel/osf_sys.c | if (namelen > 32) |
namelen | 163 | drivers/scsi/scsi_proc.c | scsi_hba_dir[x].namelen = 1; |
namelen | 166 | drivers/scsi/scsi_proc.c | scsi_hba_dir[x].namelen = 2; |
namelen | 173 | drivers/scsi/scsi_proc.c | scsi_hba_dir[x].namelen = sprintf(names[y],"%d",hpnt->host_no); |
namelen | 182 | drivers/scsi/scsi_proc.c | scsi_hba_dir[x].namelen = 0; |
namelen | 198 | drivers/scsi/scsi_proc.c | scsi_dir[0].namelen = 1; |
namelen | 201 | drivers/scsi/scsi_proc.c | scsi_dir[1].namelen = 2; |
namelen | 204 | drivers/scsi/scsi_proc.c | scsi_dir[2].namelen = 4; |
namelen | 209 | drivers/scsi/scsi_proc.c | scsi_dir[x].namelen = strlen(tpnt->procname); |
namelen | 214 | drivers/scsi/scsi_proc.c | scsi_dir[x].namelen = 0; |
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 | 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 | 1268 | fs/hpfs/hpfs_fs.c | l = len < de->namelen ? len : de->namelen; |
namelen | 1275 | fs/hpfs/hpfs_fs.c | t = len - de->namelen; |
namelen | 1369 | fs/hpfs/hpfs_fs.c | int namelen, lc; |
namelen | 1408 | fs/hpfs/hpfs_fs.c | namelen = de->namelen; |
namelen | 1409 | fs/hpfs/hpfs_fs.c | translate_hpfs_name(de->name, namelen, tempname, lc); |
namelen | 1415 | fs/hpfs/hpfs_fs.c | if (filldir(dirent, tempname, namelen, old_pos, ino) < 0) { |
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 | 188 | 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 | 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 | 374 | fs/namei.c | error = dir->i_op->create(dir,basename,namelen,mode,res_inode); |
namelen | 381 | 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 | 468 | fs/namei.c | error = dir->i_op->mknod(dir,basename,namelen,mode,dev); |
namelen | 501 | fs/namei.c | int namelen, error; |
namelen | 504 | fs/namei.c | error = dir_namei(pathname,&namelen,&basename,NULL,&dir); |
namelen | 507 | fs/namei.c | if (!namelen) { |
namelen | 525 | fs/namei.c | error = dir->i_op->mkdir(dir, basename, namelen, mode & 0777 & ~current->fs->umask); |
namelen | 547 | fs/namei.c | int namelen, error; |
namelen | 550 | fs/namei.c | error = dir_namei(name,&namelen,&basename,NULL,&dir); |
namelen | 553 | fs/namei.c | if (!namelen) { |
namelen | 576 | fs/namei.c | return dir->i_op->rmdir(dir,basename,namelen); |
namelen | 595 | fs/namei.c | int namelen, error; |
namelen | 598 | fs/namei.c | error = dir_namei(name,&namelen,&basename,NULL,&dir); |
namelen | 601 | fs/namei.c | if (!namelen) { |
namelen | 624 | fs/namei.c | return dir->i_op->unlink(dir,basename,namelen); |
namelen | 644 | fs/namei.c | int namelen, error; |
namelen | 646 | fs/namei.c | error = dir_namei(newname,&namelen,&basename,NULL,&dir); |
namelen | 649 | fs/namei.c | if (!namelen) { |
namelen | 667 | fs/namei.c | error = dir->i_op->symlink(dir,basename,namelen,oldname); |
namelen | 694 | fs/namei.c | int namelen, error; |
namelen | 696 | fs/namei.c | error = dir_namei(newname,&namelen,&basename,NULL,&dir); |
namelen | 701 | fs/namei.c | if (!namelen) { |
namelen | 736 | fs/namei.c | error = dir->i_op->link(oldinode, dir, basename, namelen); |
namelen | 312 | fs/proc/root.c | if (de->namelen != len) |
namelen | 460 | fs/proc/root.c | if (filldir(dirent, de->name, de->namelen, filp->f_pos, ino | de->low_ino) < 0) |
namelen | 1113 | fs/smbfs/proc.c | int namelen; |
namelen | 1128 | fs/smbfs/proc.c | namelen = min(DVAL(p,0), SMB_MAXNAMELEN); |
namelen | 1133 | fs/smbfs/proc.c | strncpy(finfo->path,p,namelen); |
namelen | 1134 | fs/smbfs/proc.c | finfo->len = 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 | 136 | include/linux/proc_fs.h | unsigned short namelen; |