taglinefilesource code
name80fs/ext/dir.cif (c = de->name[i])
name58fs/ext/namei.cstatic int ext_match(int len,const char * name,struct ext_dir_entry * de)
name65fs/ext/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
name75fs/ext/namei.c:"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len)
name92fs/ext/namei.cconst char * name, int namelen, struct ext_dir_entry ** res_dir,
name137fs/ext/namei.cif (ext_match(namelen,name,de)) {
name157fs/ext/namei.cint ext_lookup(struct inode * dir,const char * name, int len,
name171fs/ext/namei.cif (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) {
name196fs/ext/namei.cconst char * name, int namelen, struct ext_dir_entry ** res_dir)
name295fs/ext/namei.cde->name[i]=/*(i<namelen)?*/get_fs_byte(name+i)/*:0*/;
name307fs/ext/namei.cint ext_create(struct inode * dir,const char * name, int len, int mode,
name325fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
name341fs/ext/namei.cint ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
name349fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
name384fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
name400fs/ext/namei.cint ext_mkdir(struct inode * dir, const char * name, int len, int mode)
name406fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
name443fs/ext/namei.cstrcpy(de->name,".");
name449fs/ext/namei.cstrcpy(de->name,"..");
name455fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
name492fs/ext/namei.cstrcmp(".",de->name) || strcmp("..",de1->name)) {
name531fs/ext/namei.cint ext_rmdir(struct inode * dir, const char * name, int len)
name539fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
name584fs/ext/namei.cint ext_unlink(struct inode * dir, const char * name, int len)
name593fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
name625fs/ext/namei.cint ext_symlink(struct inode * dir, const char * name, int len, const char * symname)
name662fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
name671fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
name687fs/ext/namei.cint ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
name697fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
name704fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
name756fs/ext/namei.c((struct ext_dir_entry *) buffer)->rec_len))->name
name74fs/minix/dir.cif (c = de->name[i])
name32fs/minix/namei.cstatic int minix_match(int len,const char * name,struct minix_dir_entry * de)
name39fs/minix/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
name41fs/minix/namei.cif (len < MINIX_NAME_LEN && de->name[len])
name47fs/minix/namei.c:"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len)
name61fs/minix/namei.cconst char * name, int namelen, struct minix_dir_entry ** res_dir)
name96fs/minix/namei.cif (minix_match(namelen,name,de)) {
name107fs/minix/namei.cint minix_lookup(struct inode * dir,const char * name, int len,
name121fs/minix/namei.cif (!(bh = minix_find_entry(dir,name,len,&de))) {
name146fs/minix/namei.cconst char * name, int namelen, struct minix_dir_entry ** res_dir)
name192fs/minix/namei.cde->name[i]=(i<namelen)?get_fs_byte(name+i):0;
name204fs/minix/namei.cint minix_create(struct inode * dir,const char * name, int len, int mode,
name222fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
name238fs/minix/namei.cint minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev)
name246fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
name281fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
name297fs/minix/namei.cint minix_mkdir(struct inode * dir, const char * name, int len, int mode)
name303fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
name334fs/minix/namei.cstrcpy(de->name,".");
name337fs/minix/namei.cstrcpy(de->name,"..");
name343fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
name378fs/minix/namei.cstrcmp(".",de[0].name) || strcmp("..",de[1].name)) {
name407fs/minix/namei.cint minix_rmdir(struct inode * dir, const char * name, int len)
name415fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
name458fs/minix/namei.cint minix_unlink(struct inode * dir, const char * name, int len)
name467fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
name497fs/minix/namei.cint minix_symlink(struct inode * dir, const char * name, int len, const char * symname)
name534fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
name543fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
name559fs/minix/namei.cint minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len)
name569fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
name576fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
name625fs/minix/namei.c(((struct minix_dir_entry *) (buffer))[1].name)
name92fs/msdos/dir.cif (de->name[0] && ((unsigned char *) (de->name))[0] !=
name95fs/msdos/dir.cif (!(c = de->name[i])) break;
name113fs/msdos/dir.cif (!strcmp(de->name,MSDOS_DOT))
name115fs/msdos/dir.celse if (!strcmp(de->name,MSDOS_DOTDOT))
name239fs/msdos/misc.cint msdos_scan(struct inode *dir,char *name,struct buffer_head **res_bh,
name249fs/msdos/misc.cif (name) {
name250fs/msdos/misc.cif (de->name[0] && ((unsigned char *) (de->name))[0]
name252fs/msdos/misc.c!strncmp(de->name,name,MSDOS_NAME)) break;
name254fs/msdos/misc.celse if (!de->name[0] || ((unsigned char *) (de->name))[0] ==
name268fs/msdos/misc.creturn name ? -ENOENT : -ENOSPC;
name280fs/msdos/misc.cstatic int raw_found(struct super_block *sb,int sector,char *name,int number,
name289fs/msdos/misc.cif (name ? !strncmp(data[entry].name,name,MSDOS_NAME) :
name290fs/msdos/misc.c*(unsigned char *) data[entry].name != DELETED_FLAG &&
name302fs/msdos/misc.cstatic int raw_scan_root(struct super_block *sb,char *name,int number,int *ino)
name307fs/msdos/misc.cif ((cluster = raw_found(sb,MSDOS_SB(sb)->dir_start+count,name,
name314fs/msdos/misc.cstatic int raw_scan_nonroot(struct super_block *sb,int start,char *name,
name322fs/msdos/misc.ccluster_size+MSDOS_SB(sb)->data_start+count,name,
name332fs/msdos/misc.cstatic int raw_scan(struct super_block *sb,int start,char *name,int number,
name335fs/msdos/misc.cif (start) return raw_scan_nonroot(sb,start,name,number,ino);
name336fs/msdos/misc.celse return raw_scan_root(sb,name,number,ino);
name27fs/msdos/namei.cstatic int msdos_format_name(char conv,const char *name,int len,char *res)
name33fs/msdos/namei.cif (get_fs_byte(name) == DELETED_FLAG) return -EINVAL;
name34fs/msdos/namei.cif (get_fs_byte(name) == '.' && (len == 1 || (len == 2 &&
name35fs/msdos/namei.cget_fs_byte(name+1) == '.'))) {
name43fs/msdos/namei.cc = get_fs_byte(name++);
name57fs/msdos/namei.cc = get_fs_byte(name++);
name61fs/msdos/namei.cwhile (c != '.' && len--) c = get_fs_byte(name++);
name66fs/msdos/namei.cc = get_fs_byte(name++);
name90fs/msdos/namei.cstatic int msdos_find(struct inode *dir,const char *name,int len,
name96fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
name102fs/msdos/namei.cint msdos_lookup(struct inode *dir,const char *name,int len,
name116fs/msdos/namei.cif (len == 1 && get_fs_byte(name) == '.') {
name120fs/msdos/namei.cif (len == 2 && get_fs_byte(name) == '.' && get_fs_byte(name+1) == '.')
name128fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) {
name156fs/msdos/namei.cstatic int msdos_create_entry(struct inode *dir,char *name,int is_dir,
name168fs/msdos/namei.cmemcpy(de->name,name,MSDOS_NAME);
name184fs/msdos/namei.cint msdos_create(struct inode *dir,const char *name,int len,int mode,
name193fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
name212fs/msdos/namei.cint msdos_mkdir(struct inode *dir,const char *name,int len,int mode)
name220fs/msdos/namei.cif ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len,
name258fs/msdos/namei.cif (msdos_rmdir(dir,name,len) < 0) panic("rmdir in mkdir failed");
name264fs/msdos/namei.cint msdos_rmdir(struct inode *dir,const char *name,int len)
name274fs/msdos/namei.cif (len == 1 && get_fs_byte(name) == '.') goto rmdir_done;
name275fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done;
name288fs/msdos/namei.cif (dde->name[0] && ((unsigned char *) dde->name)[0] !=
name289fs/msdos/namei.cDELETED_FLAG && strncmp(dde->name,MSDOS_DOT,
name290fs/msdos/namei.cMSDOS_NAME) && strncmp(dde->name,MSDOS_DOTDOT,
name297fs/msdos/namei.cde->name[0] = DELETED_FLAG;
name308fs/msdos/namei.cint msdos_unlink(struct inode *dir,const char *name,int len)
name317fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0)
name330fs/msdos/namei.cde->name[0] = DELETED_FLAG;
name352fs/msdos/namei.cif (*(unsigned char *) old_de->name == DELETED_FLAG) {
name369fs/msdos/namei.cnew_de->name[0] = DELETED_FLAG;
name374fs/msdos/namei.cmemcpy(old_de->name,new_name,MSDOS_NAME);
name415fs/msdos/namei.cif (*(unsigned char *) old_de->name == DELETED_FLAG) {
name437fs/msdos/namei.cnew_de->name[0] = DELETED_FLAG;
name441fs/msdos/namei.cmemcpy(free_de->name,new_name,MSDOS_NAME);
name443fs/msdos/namei.cfree_de->name[0] = DELETED_FLAG;
name455fs/msdos/namei.cold_de->name[0] = DELETED_FLAG;
name61fs/namei.cint lookup(struct inode * dir,const char * name, int len,
name67fs/namei.cif (len==2 && get_fs_byte(name)=='.' && get_fs_byte(name+1)=='.') {
name91fs/namei.creturn dir->i_op->lookup(dir,name,len,result);
name115fs/namei.cint * namelen, const char ** name, struct inode * base)
name147fs/namei.c*name = thisname;
name350fs/namei.cint sys_rmdir(const char * name)
name356fs/namei.cif (!(dir = dir_namei(name,&namelen,&basename, NULL)))
name377fs/namei.cint sys_unlink(const char * name)
name383fs/namei.cif (!(dir = dir_namei(name,&namelen,&basename, NULL)))
name46fs/super.cstruct file_system_type *get_fs_type(char *name)
name51fs/super.cif (!strcmp(name,file_systems[a].name))
name115fs/super.cstatic struct super_block * read_super(int dev,char *name,int flags,void *data)
name125fs/super.cif (!(type=get_fs_type(name))) {
name126fs/super.cprintk("get fs type failed %s\n",name);
name328fs/super.cwhile (fs_type->read_super && fs_type->name) {
name329fs/super.cp = read_super(ROOT_DEV,fs_type->name,0,NULL);
name77include/linux/ext_fs.hchar name[EXT_NAME_LEN];
name82include/linux/ext_fs.hextern int ext_lookup(struct inode * dir,const char * name, int len,
name84include/linux/ext_fs.hextern int ext_create(struct inode * dir,const char * name, int len, int mode,
name86include/linux/ext_fs.hextern int ext_mkdir(struct inode * dir, const char * name, int len, int mode);
name87include/linux/ext_fs.hextern int ext_rmdir(struct inode * dir, const char * name, int len);
name88include/linux/ext_fs.hextern int ext_unlink(struct inode * dir, const char * name, int len);
name89include/linux/ext_fs.hextern int ext_symlink(struct inode * inode, const char * name, int len,
name91include/linux/ext_fs.hextern int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len);
name92include/linux/ext_fs.hextern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
name33include/linux/fd.hchar         * name; /* used only for predefined formats */
name215include/linux/fs.hchar *name;
name221include/linux/fs.hextern struct file_system_type *get_fs_type(char *name);
name44include/linux/minix_fs.hchar name[MINIX_NAME_LEN];
name49include/linux/minix_fs.hextern int minix_lookup(struct inode * dir,const char * name, int len,
name51include/linux/minix_fs.hextern int minix_create(struct inode * dir,const char * name, int len, int mode,
name53include/linux/minix_fs.hextern int minix_mkdir(struct inode * dir, const char * name, int len, int mode);
name54include/linux/minix_fs.hextern int minix_rmdir(struct inode * dir, const char * name, int len);
name55include/linux/minix_fs.hextern int minix_unlink(struct inode * dir, const char * name, int len);
name56include/linux/minix_fs.hextern int minix_symlink(struct inode * inode, const char * name, int len,
name58include/linux/minix_fs.hextern int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len);
name59include/linux/minix_fs.hextern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev);
name70include/linux/msdos_fs.hchar name[8],ext[3]; /* name and extension */
name121include/linux/msdos_fs.hextern int msdos_scan(struct inode *dir,char *name,struct buffer_head **res_bh,
name139include/linux/msdos_fs.hextern int msdos_lookup(struct inode *dir,const char *name,int len,
name141include/linux/msdos_fs.hextern int msdos_create(struct inode *dir,const char *name,int len,int mode,
name143include/linux/msdos_fs.hextern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode);
name144include/linux/msdos_fs.hextern int msdos_rmdir(struct inode *dir,const char *name,int len);
name145include/linux/msdos_fs.hextern int msdos_unlink(struct inode *dir,const char *name,int len);
name124include/linux/unistd.h#define _syscall0(type,name) \
name125include/linux/unistd.htype name(void) \
name130include/linux/unistd.h: "0" (__NR_##name)); \
name137include/linux/unistd.h#define _syscall1(type,name,atype,a) \
name138include/linux/unistd.htype name(atype a) \
name144include/linux/unistd.h: "0" (__NR_##name),"g" ((long)(a)):"bx"); \
name151include/linux/unistd.h#define _syscall2(type,name,atype,a,btype,b) \
name152include/linux/unistd.htype name(atype a,btype b) \
name158include/linux/unistd.h: "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)):"bx"); \
name165include/linux/unistd.h#define _syscall3(type,name,atype,a,btype,b,ctype,c) \
name166include/linux/unistd.htype name(atype a,btype b,ctype c) \
name172include/linux/unistd.h: "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)),"d" ((long)(c)):"bx"); \
name179include/linux/unistd.h#define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \
name180include/linux/unistd.htype name (atype a, btype b, ctype c, dtype d) \
name186include/linux/unistd.h: "0" (__NR_##name),"b" ((long)(a)),"c" ((long)(b)), \
name194include/linux/unistd.h#define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \
name195include/linux/unistd.htype name (atype a,btype b,ctype c,dtype d,etype e) \
name201include/linux/unistd.h: "0" (__NR_##name),"b" ((long)(a)),"c" ((long)(b)), \
name562kernel/blk_drv/floppy.cfloppy->name,drive);
name1114kernel/blk_drv/floppy.cprintk("fd%d is %s",drive,base->name);
name142kernel/blk_drv/scsi/hosts.ccount, scsi_hosts[i].name);
name57kernel/blk_drv/scsi/hosts.hchar *name;
name231kernel/blk_drv/scsi/scsi.c"tape" : "disk", scsi_hosts[host_nr].name,
name452kernel/sys.cint sys_newuname(struct new_utsname * name)
name454kernel/sys.cif (!name)
name456kernel/sys.cverify_area(name, sizeof *name);
name457kernel/sys.cmemcpy_tofs(name,&thisname,sizeof *name);
name461kernel/sys.cint sys_uname(struct old_utsname * name)
name463kernel/sys.cif (!name)
name465kernel/sys.cverify_area(name,sizeof *name);
name466kernel/sys.cmemcpy_tofs(&name->sysname,&thisname.sysname,__OLD_UTS_LEN);
name467kernel/sys.cput_fs_byte(0,name->sysname+__OLD_UTS_LEN);
name468kernel/sys.cmemcpy_tofs(&name->nodename,&thisname.nodename,__OLD_UTS_LEN);
name469kernel/sys.cput_fs_byte(0,name->nodename+__OLD_UTS_LEN);
name470kernel/sys.cmemcpy_tofs(&name->release,&thisname.release,__OLD_UTS_LEN);
name471kernel/sys.cput_fs_byte(0,name->release+__OLD_UTS_LEN);
name472kernel/sys.cmemcpy_tofs(&name->version,&thisname.version,__OLD_UTS_LEN);
name473kernel/sys.cput_fs_byte(0,name->version+__OLD_UTS_LEN);
name474kernel/sys.cmemcpy_tofs(&name->machine,&thisname.machine,__OLD_UTS_LEN);
name475kernel/sys.cput_fs_byte(0,name->machine+__OLD_UTS_LEN);
name482kernel/sys.cint sys_sethostname(char *name, int len)
name491kernel/sys.cif ((thisname.nodename[i] = get_fs_byte(name+i)) == 0)
name31mm/swap.c#define bitop(name,op) \
name32mm/swap.cstatic inline int name(char * addr,unsigned int nr) \
name22net/socket.cchar *name;
name36net/socket.creturn proto_table[i].name;
name753net/socket.cproto_table[i].family, proto_table[i].name);