tag | line | file | source code |
name | 80 | fs/ext/dir.c | if (c = de->name[i]) |
name | 58 | fs/ext/namei.c | static int ext_match(int len,const char * name,struct ext_dir_entry * de) |
name | 65 | fs/ext/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
name | 75 | fs/ext/namei.c | :"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len) |
name | 92 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir, |
name | 137 | fs/ext/namei.c | if (ext_match(namelen,name,de)) { |
name | 157 | fs/ext/namei.c | int ext_lookup(struct inode * dir,const char * name, int len, |
name | 171 | fs/ext/namei.c | if (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) { |
name | 196 | fs/ext/namei.c | const char * name, int namelen, struct ext_dir_entry ** res_dir) |
name | 295 | fs/ext/namei.c | de->name[i]=/*(i<namelen)?*/get_fs_byte(name+i)/*:0*/; |
name | 307 | fs/ext/namei.c | int ext_create(struct inode * dir,const char * name, int len, int mode, |
name | 325 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
name | 341 | fs/ext/namei.c | int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
name | 349 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
name | 384 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
name | 400 | fs/ext/namei.c | int ext_mkdir(struct inode * dir, const char * name, int len, int mode) |
name | 406 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
name | 443 | fs/ext/namei.c | strcpy(de->name,"."); |
name | 449 | fs/ext/namei.c | strcpy(de->name,".."); |
name | 455 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
name | 492 | fs/ext/namei.c | strcmp(".",de->name) || strcmp("..",de1->name)) { |
name | 531 | fs/ext/namei.c | int ext_rmdir(struct inode * dir, const char * name, int len) |
name | 539 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,&pde,&nde); |
name | 584 | fs/ext/namei.c | int ext_unlink(struct inode * dir, const char * name, int len) |
name | 593 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,&pde,&nde); |
name | 625 | fs/ext/namei.c | int ext_symlink(struct inode * dir, const char * name, int len, const char * symname) |
name | 662 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
name | 671 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
name | 687 | fs/ext/namei.c | int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
name | 697 | fs/ext/namei.c | bh = ext_find_entry(dir,name,len,&de,NULL,NULL); |
name | 704 | fs/ext/namei.c | bh = ext_add_entry(dir,name,len,&de); |
name | 756 | fs/ext/namei.c | ((struct ext_dir_entry *) buffer)->rec_len))->name |
name | 74 | fs/minix/dir.c | if (c = de->name[i]) |
name | 32 | fs/minix/namei.c | static int minix_match(int len,const char * name,struct minix_dir_entry * de) |
name | 39 | fs/minix/namei.c | if (!len && (de->name[0]=='.') && (de->name[1]=='\0')) |
name | 41 | fs/minix/namei.c | if (len < MINIX_NAME_LEN && de->name[len]) |
name | 47 | fs/minix/namei.c | :"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len) |
name | 61 | fs/minix/namei.c | const char * name, int namelen, struct minix_dir_entry ** res_dir) |
name | 96 | fs/minix/namei.c | if (minix_match(namelen,name,de)) { |
name | 107 | fs/minix/namei.c | int minix_lookup(struct inode * dir,const char * name, int len, |
name | 121 | fs/minix/namei.c | if (!(bh = minix_find_entry(dir,name,len,&de))) { |
name | 146 | fs/minix/namei.c | const char * name, int namelen, struct minix_dir_entry ** res_dir) |
name | 192 | fs/minix/namei.c | de->name[i]=(i<namelen)?get_fs_byte(name+i):0; |
name | 204 | fs/minix/namei.c | int minix_create(struct inode * dir,const char * name, int len, int mode, |
name | 222 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
name | 238 | fs/minix/namei.c | int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev) |
name | 246 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
name | 281 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
name | 297 | fs/minix/namei.c | int minix_mkdir(struct inode * dir, const char * name, int len, int mode) |
name | 303 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
name | 334 | fs/minix/namei.c | strcpy(de->name,"."); |
name | 337 | fs/minix/namei.c | strcpy(de->name,".."); |
name | 343 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
name | 378 | fs/minix/namei.c | strcmp(".",de[0].name) || strcmp("..",de[1].name)) { |
name | 407 | fs/minix/namei.c | int minix_rmdir(struct inode * dir, const char * name, int len) |
name | 415 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
name | 458 | fs/minix/namei.c | int minix_unlink(struct inode * dir, const char * name, int len) |
name | 467 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
name | 497 | fs/minix/namei.c | int minix_symlink(struct inode * dir, const char * name, int len, const char * symname) |
name | 534 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
name | 543 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
name | 559 | fs/minix/namei.c | int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len) |
name | 569 | fs/minix/namei.c | bh = minix_find_entry(dir,name,len,&de); |
name | 576 | fs/minix/namei.c | bh = minix_add_entry(dir,name,len,&de); |
name | 625 | fs/minix/namei.c | (((struct minix_dir_entry *) (buffer))[1].name) |
name | 92 | fs/msdos/dir.c | if (de->name[0] && ((unsigned char *) (de->name))[0] != |
name | 95 | fs/msdos/dir.c | if (!(c = de->name[i])) break; |
name | 113 | fs/msdos/dir.c | if (!strcmp(de->name,MSDOS_DOT)) |
name | 115 | fs/msdos/dir.c | else if (!strcmp(de->name,MSDOS_DOTDOT)) |
name | 239 | fs/msdos/misc.c | int msdos_scan(struct inode *dir,char *name,struct buffer_head **res_bh, |
name | 249 | fs/msdos/misc.c | if (name) { |
name | 250 | fs/msdos/misc.c | if (de->name[0] && ((unsigned char *) (de->name))[0] |
name | 252 | fs/msdos/misc.c | !strncmp(de->name,name,MSDOS_NAME)) break; |
name | 254 | fs/msdos/misc.c | else if (!de->name[0] || ((unsigned char *) (de->name))[0] == |
name | 268 | fs/msdos/misc.c | return name ? -ENOENT : -ENOSPC; |
name | 280 | fs/msdos/misc.c | static int raw_found(struct super_block *sb,int sector,char *name,int number, |
name | 289 | fs/msdos/misc.c | if (name ? !strncmp(data[entry].name,name,MSDOS_NAME) : |
name | 290 | fs/msdos/misc.c | *(unsigned char *) data[entry].name != DELETED_FLAG && |
name | 302 | fs/msdos/misc.c | static int raw_scan_root(struct super_block *sb,char *name,int number,int *ino) |
name | 307 | fs/msdos/misc.c | if ((cluster = raw_found(sb,MSDOS_SB(sb)->dir_start+count,name, |
name | 314 | fs/msdos/misc.c | static int raw_scan_nonroot(struct super_block *sb,int start,char *name, |
name | 322 | fs/msdos/misc.c | cluster_size+MSDOS_SB(sb)->data_start+count,name, |
name | 332 | fs/msdos/misc.c | static int raw_scan(struct super_block *sb,int start,char *name,int number, |
name | 335 | fs/msdos/misc.c | if (start) return raw_scan_nonroot(sb,start,name,number,ino); |
name | 336 | fs/msdos/misc.c | else return raw_scan_root(sb,name,number,ino); |
name | 27 | fs/msdos/namei.c | static int msdos_format_name(char conv,const char *name,int len,char *res) |
name | 33 | fs/msdos/namei.c | if (get_fs_byte(name) == DELETED_FLAG) return -EINVAL; |
name | 34 | fs/msdos/namei.c | if (get_fs_byte(name) == '.' && (len == 1 || (len == 2 && |
name | 35 | fs/msdos/namei.c | get_fs_byte(name+1) == '.'))) { |
name | 43 | fs/msdos/namei.c | c = get_fs_byte(name++); |
name | 57 | fs/msdos/namei.c | c = get_fs_byte(name++); |
name | 61 | fs/msdos/namei.c | while (c != '.' && len--) c = get_fs_byte(name++); |
name | 66 | fs/msdos/namei.c | c = get_fs_byte(name++); |
name | 90 | fs/msdos/namei.c | static int msdos_find(struct inode *dir,const char *name,int len, |
name | 96 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
name | 102 | fs/msdos/namei.c | int msdos_lookup(struct inode *dir,const char *name,int len, |
name | 116 | fs/msdos/namei.c | if (len == 1 && get_fs_byte(name) == '.') { |
name | 120 | fs/msdos/namei.c | if (len == 2 && get_fs_byte(name) == '.' && get_fs_byte(name+1) == '.') |
name | 128 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) { |
name | 156 | fs/msdos/namei.c | static int msdos_create_entry(struct inode *dir,char *name,int is_dir, |
name | 168 | fs/msdos/namei.c | memcpy(de->name,name,MSDOS_NAME); |
name | 184 | fs/msdos/namei.c | int msdos_create(struct inode *dir,const char *name,int len,int mode, |
name | 193 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
name | 212 | fs/msdos/namei.c | int msdos_mkdir(struct inode *dir,const char *name,int len,int mode) |
name | 220 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
name | 258 | fs/msdos/namei.c | if (msdos_rmdir(dir,name,len) < 0) panic("rmdir in mkdir failed"); |
name | 264 | fs/msdos/namei.c | int msdos_rmdir(struct inode *dir,const char *name,int len) |
name | 274 | fs/msdos/namei.c | if (len == 1 && get_fs_byte(name) == '.') goto rmdir_done; |
name | 275 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done; |
name | 288 | fs/msdos/namei.c | if (dde->name[0] && ((unsigned char *) dde->name)[0] != |
name | 289 | fs/msdos/namei.c | DELETED_FLAG && strncmp(dde->name,MSDOS_DOT, |
name | 290 | fs/msdos/namei.c | MSDOS_NAME) && strncmp(dde->name,MSDOS_DOTDOT, |
name | 297 | fs/msdos/namei.c | de->name[0] = DELETED_FLAG; |
name | 308 | fs/msdos/namei.c | int msdos_unlink(struct inode *dir,const char *name,int len) |
name | 317 | fs/msdos/namei.c | if ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) |
name | 330 | fs/msdos/namei.c | de->name[0] = DELETED_FLAG; |
name | 352 | fs/msdos/namei.c | if (*(unsigned char *) old_de->name == DELETED_FLAG) { |
name | 369 | fs/msdos/namei.c | new_de->name[0] = DELETED_FLAG; |
name | 374 | fs/msdos/namei.c | memcpy(old_de->name,new_name,MSDOS_NAME); |
name | 415 | fs/msdos/namei.c | if (*(unsigned char *) old_de->name == DELETED_FLAG) { |
name | 437 | fs/msdos/namei.c | new_de->name[0] = DELETED_FLAG; |
name | 441 | fs/msdos/namei.c | memcpy(free_de->name,new_name,MSDOS_NAME); |
name | 443 | fs/msdos/namei.c | free_de->name[0] = DELETED_FLAG; |
name | 455 | fs/msdos/namei.c | old_de->name[0] = DELETED_FLAG; |
name | 61 | fs/namei.c | int lookup(struct inode * dir,const char * name, int len, |
name | 67 | fs/namei.c | if (len==2 && get_fs_byte(name)=='.' && get_fs_byte(name+1)=='.') { |
name | 91 | fs/namei.c | return dir->i_op->lookup(dir,name,len,result); |
name | 115 | fs/namei.c | int * namelen, const char ** name, struct inode * base) |
name | 147 | fs/namei.c | *name = thisname; |
name | 350 | fs/namei.c | int sys_rmdir(const char * name) |
name | 356 | fs/namei.c | if (!(dir = dir_namei(name,&namelen,&basename, NULL))) |
name | 377 | fs/namei.c | int sys_unlink(const char * name) |
name | 383 | fs/namei.c | if (!(dir = dir_namei(name,&namelen,&basename, NULL))) |
name | 46 | fs/super.c | struct file_system_type *get_fs_type(char *name) |
name | 51 | fs/super.c | if (!strcmp(name,file_systems[a].name)) |
name | 115 | fs/super.c | static struct super_block * read_super(int dev,char *name,int flags,void *data) |
name | 125 | fs/super.c | if (!(type=get_fs_type(name))) { |
name | 126 | fs/super.c | printk("get fs type failed %s\n",name); |
name | 328 | fs/super.c | while (fs_type->read_super && fs_type->name) { |
name | 329 | fs/super.c | p = read_super(ROOT_DEV,fs_type->name,0,NULL); |
name | 77 | include/linux/ext_fs.h | char name[EXT_NAME_LEN]; |
name | 82 | include/linux/ext_fs.h | extern int ext_lookup(struct inode * dir,const char * name, int len, |
name | 84 | include/linux/ext_fs.h | extern int ext_create(struct inode * dir,const char * name, int len, int mode, |
name | 86 | include/linux/ext_fs.h | extern int ext_mkdir(struct inode * dir, const char * name, int len, int mode); |
name | 87 | include/linux/ext_fs.h | extern int ext_rmdir(struct inode * dir, const char * name, int len); |
name | 88 | include/linux/ext_fs.h | extern int ext_unlink(struct inode * dir, const char * name, int len); |
name | 89 | include/linux/ext_fs.h | extern int ext_symlink(struct inode * inode, const char * name, int len, |
name | 91 | include/linux/ext_fs.h | extern int ext_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
name | 92 | include/linux/ext_fs.h | extern int ext_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
name | 33 | include/linux/fd.h | char * name; /* used only for predefined formats */ |
name | 215 | include/linux/fs.h | char *name; |
name | 221 | include/linux/fs.h | extern struct file_system_type *get_fs_type(char *name); |
name | 44 | include/linux/minix_fs.h | char name[MINIX_NAME_LEN]; |
name | 49 | include/linux/minix_fs.h | extern int minix_lookup(struct inode * dir,const char * name, int len, |
name | 51 | include/linux/minix_fs.h | extern int minix_create(struct inode * dir,const char * name, int len, int mode, |
name | 53 | include/linux/minix_fs.h | extern int minix_mkdir(struct inode * dir, const char * name, int len, int mode); |
name | 54 | include/linux/minix_fs.h | extern int minix_rmdir(struct inode * dir, const char * name, int len); |
name | 55 | include/linux/minix_fs.h | extern int minix_unlink(struct inode * dir, const char * name, int len); |
name | 56 | include/linux/minix_fs.h | extern int minix_symlink(struct inode * inode, const char * name, int len, |
name | 58 | include/linux/minix_fs.h | extern int minix_link(struct inode * oldinode, struct inode * dir, const char * name, int len); |
name | 59 | include/linux/minix_fs.h | extern int minix_mknod(struct inode * dir, const char * name, int len, int mode, int rdev); |
name | 70 | include/linux/msdos_fs.h | char name[8],ext[3]; /* name and extension */ |
name | 121 | include/linux/msdos_fs.h | extern int msdos_scan(struct inode *dir,char *name,struct buffer_head **res_bh, |
name | 139 | include/linux/msdos_fs.h | extern int msdos_lookup(struct inode *dir,const char *name,int len, |
name | 141 | include/linux/msdos_fs.h | extern int msdos_create(struct inode *dir,const char *name,int len,int mode, |
name | 143 | include/linux/msdos_fs.h | extern int msdos_mkdir(struct inode *dir,const char *name,int len,int mode); |
name | 144 | include/linux/msdos_fs.h | extern int msdos_rmdir(struct inode *dir,const char *name,int len); |
name | 145 | include/linux/msdos_fs.h | extern int msdos_unlink(struct inode *dir,const char *name,int len); |
name | 124 | include/linux/unistd.h | #define _syscall0(type,name) \ |
name | 125 | include/linux/unistd.h | type name(void) \ |
name | 130 | include/linux/unistd.h | : "0" (__NR_##name)); \ |
name | 137 | include/linux/unistd.h | #define _syscall1(type,name,atype,a) \ |
name | 138 | include/linux/unistd.h | type name(atype a) \ |
name | 144 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)):"bx"); \ |
name | 151 | include/linux/unistd.h | #define _syscall2(type,name,atype,a,btype,b) \ |
name | 152 | include/linux/unistd.h | type name(atype a,btype b) \ |
name | 158 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)):"bx"); \ |
name | 165 | include/linux/unistd.h | #define _syscall3(type,name,atype,a,btype,b,ctype,c) \ |
name | 166 | include/linux/unistd.h | type name(atype a,btype b,ctype c) \ |
name | 172 | include/linux/unistd.h | : "0" (__NR_##name),"g" ((long)(a)),"c" ((long)(b)),"d" ((long)(c)):"bx"); \ |
name | 179 | include/linux/unistd.h | #define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \ |
name | 180 | include/linux/unistd.h | type name (atype a, btype b, ctype c, dtype d) \ |
name | 186 | include/linux/unistd.h | : "0" (__NR_##name),"b" ((long)(a)),"c" ((long)(b)), \ |
name | 194 | include/linux/unistd.h | #define _syscall5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ |
name | 195 | include/linux/unistd.h | type name (atype a,btype b,ctype c,dtype d,etype e) \ |
name | 201 | include/linux/unistd.h | : "0" (__NR_##name),"b" ((long)(a)),"c" ((long)(b)), \ |
name | 562 | kernel/blk_drv/floppy.c | floppy->name,drive); |
name | 1114 | kernel/blk_drv/floppy.c | printk("fd%d is %s",drive,base->name); |
name | 142 | kernel/blk_drv/scsi/hosts.c | count, scsi_hosts[i].name); |
name | 57 | kernel/blk_drv/scsi/hosts.h | char *name; |
name | 231 | kernel/blk_drv/scsi/scsi.c | "tape" : "disk", scsi_hosts[host_nr].name, |
name | 452 | kernel/sys.c | int sys_newuname(struct new_utsname * name) |
name | 454 | kernel/sys.c | if (!name) |
name | 456 | kernel/sys.c | verify_area(name, sizeof *name); |
name | 457 | kernel/sys.c | memcpy_tofs(name,&thisname,sizeof *name); |
name | 461 | kernel/sys.c | int sys_uname(struct old_utsname * name) |
name | 463 | kernel/sys.c | if (!name) |
name | 465 | kernel/sys.c | verify_area(name,sizeof *name); |
name | 466 | kernel/sys.c | memcpy_tofs(&name->sysname,&thisname.sysname,__OLD_UTS_LEN); |
name | 467 | kernel/sys.c | put_fs_byte(0,name->sysname+__OLD_UTS_LEN); |
name | 468 | kernel/sys.c | memcpy_tofs(&name->nodename,&thisname.nodename,__OLD_UTS_LEN); |
name | 469 | kernel/sys.c | put_fs_byte(0,name->nodename+__OLD_UTS_LEN); |
name | 470 | kernel/sys.c | memcpy_tofs(&name->release,&thisname.release,__OLD_UTS_LEN); |
name | 471 | kernel/sys.c | put_fs_byte(0,name->release+__OLD_UTS_LEN); |
name | 472 | kernel/sys.c | memcpy_tofs(&name->version,&thisname.version,__OLD_UTS_LEN); |
name | 473 | kernel/sys.c | put_fs_byte(0,name->version+__OLD_UTS_LEN); |
name | 474 | kernel/sys.c | memcpy_tofs(&name->machine,&thisname.machine,__OLD_UTS_LEN); |
name | 475 | kernel/sys.c | put_fs_byte(0,name->machine+__OLD_UTS_LEN); |
name | 482 | kernel/sys.c | int sys_sethostname(char *name, int len) |
name | 491 | kernel/sys.c | if ((thisname.nodename[i] = get_fs_byte(name+i)) == 0) |
name | 31 | mm/swap.c | #define bitop(name,op) \ |
name | 32 | mm/swap.c | static inline int name(char * addr,unsigned int nr) \ |
name | 22 | net/socket.c | char *name; |
name | 36 | net/socket.c | return proto_table[i].name; |
name | 753 | net/socket.c | proto_table[i].family, proto_table[i].name); |