tag | line | file | source code |
new_dir | 758 | fs/ext/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 789 | fs/ext/namei.c | new_bh = ext_find_entry(new_dir,new_name,new_len,&new_de,NULL,NULL); |
new_dir | 791 | fs/ext/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode,0); /* don't cross mnt-points */ |
new_dir | 806 | fs/ext/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 808 | fs/ext/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 817 | fs/ext/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 827 | fs/ext/namei.c | new_bh = ext_add_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 850 | fs/ext/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 853 | fs/ext/namei.c | new_dir->i_nlink++; |
new_dir | 855 | fs/ext/namei.c | new_dir->i_dirt = 1; |
new_dir | 865 | fs/ext/namei.c | iput(new_dir); |
new_dir | 879 | fs/ext/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 889 | fs/ext/namei.c | new_dir, new_name, new_len); |
new_dir | 917 | fs/ext2/namei.c | int old_len, struct inode * new_dir, |
new_dir | 929 | fs/ext2/namei.c | new_dir->i_version = ++event; |
new_dir | 956 | fs/ext2/namei.c | new_bh = ext2_find_entry (new_dir, new_name, new_len, &new_de); |
new_dir | 958 | fs/ext2/namei.c | new_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */ |
new_dir | 973 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 983 | fs/ext2/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 985 | fs/ext2/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 992 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 1000 | fs/ext2/namei.c | if (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX) |
new_dir | 1004 | fs/ext2/namei.c | new_bh = ext2_add_entry (new_dir, new_name, new_len, &new_de, |
new_dir | 1008 | fs/ext2/namei.c | new_dir->i_version = ++event; |
new_dir | 1022 | fs/ext2/namei.c | dcache_add(new_dir, new_de->name, new_de->name_len, new_de->inode); |
new_dir | 1037 | fs/ext2/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 1038 | fs/ext2/namei.c | dcache_add(old_inode, "..", 2, new_dir->i_ino); |
new_dir | 1046 | fs/ext2/namei.c | new_dir->i_nlink++; |
new_dir | 1047 | fs/ext2/namei.c | new_dir->i_dirt = 1; |
new_dir | 1056 | fs/ext2/namei.c | if (IS_SYNC(new_dir)) { |
new_dir | 1068 | fs/ext2/namei.c | iput (new_dir); |
new_dir | 1086 | fs/ext2/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 1093 | fs/ext2/namei.c | result = do_ext2_rename (old_dir, old_name, old_len, new_dir, |
new_dir | 677 | fs/minix/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 710 | fs/minix/namei.c | new_bh = minix_find_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 712 | fs/minix/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
new_dir | 727 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 737 | fs/minix/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 739 | fs/minix/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 746 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 755 | fs/minix/namei.c | if (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX) |
new_dir | 759 | fs/minix/namei.c | retval = minix_add_entry(new_dir,new_name,new_len,&new_bh,&new_de); |
new_dir | 776 | fs/minix/namei.c | new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME; |
new_dir | 777 | fs/minix/namei.c | new_dir->i_dirt = 1; |
new_dir | 778 | fs/minix/namei.c | new_dir->i_version = ++event; |
new_dir | 787 | fs/minix/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 795 | fs/minix/namei.c | new_dir->i_nlink++; |
new_dir | 796 | fs/minix/namei.c | new_dir->i_dirt = 1; |
new_dir | 807 | fs/minix/namei.c | iput(new_dir); |
new_dir | 821 | fs/minix/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 831 | fs/minix/namei.c | new_dir, new_name, new_len); |
new_dir | 438 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 448 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino) >= 0; |
new_dir | 454 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 467 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 468 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 490 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 500 | fs/msdos/namei.c | if (old_dir->i_dev != new_dir->i_dev) return -EINVAL; |
new_dir | 501 | fs/msdos/namei.c | if (old_ino == new_dir->i_ino) return -EINVAL; |
new_dir | 502 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
new_dir | 508 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
new_dir | 511 | fs/msdos/namei.c | while ((error = msdos_scan(new_dir,NULL,&free_bh,&free_de,&free_ino)) < |
new_dir | 514 | fs/msdos/namei.c | error = msdos_add_cluster(new_dir); |
new_dir | 517 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino) >= 0; |
new_dir | 531 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 553 | fs/msdos/namei.c | if (!(free_inode = iget(new_dir->i_sb,free_ino))) { |
new_dir | 564 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 565 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 591 | fs/msdos/namei.c | MSDOS_I(new_dir)->i_start; |
new_dir | 595 | fs/msdos/namei.c | new_dir->i_nlink++; |
new_dir | 597 | fs/msdos/namei.c | dotdot_inode->i_nlink = new_dir->i_nlink; |
new_dir | 610 | fs/msdos/namei.c | struct inode *new_dir,const char *new_name,int new_len) |
new_dir | 620 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |
new_dir | 625 | fs/msdos/namei.c | if (old_dir == new_dir) |
new_dir | 626 | fs/msdos/namei.c | error = rename_same_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 628 | fs/msdos/namei.c | else error = rename_diff_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 634 | fs/msdos/namei.c | iput(new_dir); |
new_dir | 764 | fs/namei.c | struct inode * old_dir, * new_dir; |
new_dir | 781 | fs/namei.c | error = dir_namei(newname,&new_len,&new_base,NULL,&new_dir); |
new_dir | 786 | fs/namei.c | if ((error = permission(new_dir,MAY_WRITE | MAY_EXEC)) != 0){ |
new_dir | 788 | fs/namei.c | iput(new_dir); |
new_dir | 795 | fs/namei.c | iput(new_dir); |
new_dir | 798 | fs/namei.c | if (new_dir->i_dev != old_dir->i_dev) { |
new_dir | 800 | fs/namei.c | iput(new_dir); |
new_dir | 803 | fs/namei.c | if (IS_RDONLY(new_dir) || IS_RDONLY(old_dir)) { |
new_dir | 805 | fs/namei.c | iput(new_dir); |
new_dir | 813 | fs/namei.c | iput(new_dir); |
new_dir | 818 | fs/namei.c | iput(new_dir); |
new_dir | 821 | fs/namei.c | new_dir->i_count++; |
new_dir | 822 | fs/namei.c | down(&new_dir->i_sem); |
new_dir | 824 | fs/namei.c | new_dir, new_base, new_len); |
new_dir | 825 | fs/namei.c | up(&new_dir->i_sem); |
new_dir | 826 | fs/namei.c | iput(new_dir); |
new_dir | 45 | fs/nfs/dir.c | int old_len, struct inode *new_dir, const char *new_name, |
new_dir | 529 | fs/nfs/dir.c | struct inode *new_dir, const char *new_name, int new_len) |
new_dir | 536 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 539 | fs/nfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
new_dir | 542 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 547 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 552 | fs/nfs/dir.c | NFS_FH(new_dir), new_name); |
new_dir | 555 | fs/nfs/dir.c | nfs_lookup_cache_remove(new_dir, NULL, new_name); |
new_dir | 558 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 542 | fs/nfs/proc.c | struct nfs_fh *new_dir, const char *new_name) |
new_dir | 555 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, new_dir); |
new_dir | 673 | fs/sysv/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 704 | fs/sysv/namei.c | new_bh = sysv_find_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 706 | fs/sysv/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
new_dir | 721 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 731 | fs/sysv/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 733 | fs/sysv/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 740 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 749 | fs/sysv/namei.c | if (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max) |
new_dir | 753 | fs/sysv/namei.c | retval = sysv_add_entry(new_dir,new_name,new_len,&new_bh,&new_de); |
new_dir | 769 | fs/sysv/namei.c | new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME; |
new_dir | 770 | fs/sysv/namei.c | new_dir->i_dirt = 1; |
new_dir | 779 | fs/sysv/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 787 | fs/sysv/namei.c | new_dir->i_nlink++; |
new_dir | 788 | fs/sysv/namei.c | new_dir->i_dirt = 1; |
new_dir | 799 | fs/sysv/namei.c | iput(new_dir); |
new_dir | 813 | fs/sysv/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 823 | fs/sysv/namei.c | new_dir, new_name, new_len); |
new_dir | 316 | fs/umsdos/namei.c | struct inode * new_dir, |
new_dir | 330 | fs/umsdos/namei.c | umsdos_lockcreate2(old_dir,new_dir); |
new_dir | 343 | fs/umsdos/namei.c | ret = umsdos_findentry(new_dir,&new_info,0); |
new_dir | 345 | fs/umsdos/namei.c | !(new_dir->i_mode & S_ISVTX) || fsuser() || |
new_dir | 347 | fs/umsdos/namei.c | current->fsuid == new_dir->i_uid ) { |
new_dir | 350 | fs/umsdos/namei.c | ret = umsdos_newentry (new_dir,&new_info); |
new_dir | 356 | fs/umsdos/namei.c | new_dir->i_count++; /* Both inode are needed later */ |
new_dir | 359 | fs/umsdos/namei.c | ,new_dir |
new_dir | 364 | fs/umsdos/namei.c | umsdos_delentry (new_dir,&new_info |
new_dir | 381 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 383 | fs/umsdos/namei.c | ret = UMSDOS_lookup (new_dir,new_name,new_len |
new_dir | 394 | fs/umsdos/namei.c | umsdos_set_dirinfo (inode,new_dir,new_info.f_pos); |
new_dir | 413 | fs/umsdos/namei.c | umsdos_unlockcreate(new_dir); |
new_dir | 416 | fs/umsdos/namei.c | iput (new_dir); |
new_dir | 1019 | fs/umsdos/namei.c | struct inode * new_dir, |
new_dir | 1035 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(new_dir,new_name,new_len,-EEXIST); |
new_dir | 1039 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1040 | fs/umsdos/namei.c | ret = umsdos_rename_f (old_dir,old_name,old_len,new_dir,new_name |
new_dir | 1077 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1078 | fs/umsdos/namei.c | ret = UMSDOS_unlink (new_dir,new_name,new_len); |
new_dir | 1082 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1083 | fs/umsdos/namei.c | ret = UMSDOS_rmdir (new_dir,new_name,new_len); |
new_dir | 1089 | fs/umsdos/namei.c | ,new_dir,new_name,new_len,0); |
new_dir | 1090 | fs/umsdos/namei.c | new_dir = old_dir = NULL; |
new_dir | 1094 | fs/umsdos/namei.c | iput (new_dir); |
new_dir | 718 | fs/xiafs/namei.c | int old_len, struct inode * new_dir, |
new_dir | 741 | fs/xiafs/namei.c | new_bh = xiafs_find_entry(new_dir, new_name, new_len, &new_de, NULL); |
new_dir | 743 | fs/xiafs/namei.c | new_inode = __iget(new_dir->i_sb, new_de->d_ino, 0); |
new_dir | 758 | fs/xiafs/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 760 | fs/xiafs/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 769 | fs/xiafs/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 778 | fs/xiafs/namei.c | if (new_dir->i_nlink > 64000) |
new_dir | 782 | fs/xiafs/namei.c | new_bh = xiafs_add_entry(new_dir, new_name, new_len, &new_de, &new_de_pre); |
new_dir | 809 | fs/xiafs/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 812 | fs/xiafs/namei.c | new_dir->i_nlink++; |
new_dir | 814 | fs/xiafs/namei.c | new_dir->i_dirt = 1; |
new_dir | 824 | fs/xiafs/namei.c | iput(new_dir); |
new_dir | 838 | fs/xiafs/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 848 | fs/xiafs/namei.c | new_dir, new_name, new_len); |
new_dir | 77 | include/linux/ext_fs.h | struct inode * new_dir, const char * new_name, int new_len); |
new_dir | 96 | include/linux/minix_fs.h | struct inode * new_dir, const char * new_name, int new_len); |
new_dir | 155 | include/linux/msdos_fs.h | struct inode *new_dir,const char *new_name,int new_len); |
new_dir | 75 | include/linux/nfs_fs.h | struct nfs_fh *new_dir, const char *new_name); |
new_dir | 376 | include/linux/sysv_fs.h | struct inode * new_dir, const char * new_name, int new_len); |
new_dir | 81 | include/linux/xia_fs.h | int old_len, struct inode * new_dir, |