tag | line | file | source code |
new_dir | 766 | fs/ext/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 797 | fs/ext/namei.c | new_bh = ext_find_entry(new_dir,new_name,new_len,&new_de,NULL,NULL); |
new_dir | 799 | fs/ext/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode,0); /* don't cross mnt-points */ |
new_dir | 814 | fs/ext/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 816 | fs/ext/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 826 | fs/ext/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 836 | fs/ext/namei.c | new_bh = ext_add_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 859 | fs/ext/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 862 | fs/ext/namei.c | new_dir->i_nlink++; |
new_dir | 864 | fs/ext/namei.c | new_dir->i_dirt = 1; |
new_dir | 874 | fs/ext/namei.c | iput(new_dir); |
new_dir | 888 | fs/ext/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 898 | fs/ext/namei.c | new_dir, new_name, new_len); |
new_dir | 916 | fs/ext2/namei.c | int old_len, struct inode * new_dir, |
new_dir | 953 | fs/ext2/namei.c | new_bh = ext2_find_entry (new_dir, new_name, new_len, &new_de); |
new_dir | 955 | fs/ext2/namei.c | new_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */ |
new_dir | 970 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 980 | fs/ext2/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 982 | fs/ext2/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 989 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 997 | fs/ext2/namei.c | if (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX) |
new_dir | 1001 | fs/ext2/namei.c | new_bh = ext2_add_entry (new_dir, new_name, new_len, &new_de, |
new_dir | 1018 | fs/ext2/namei.c | new_dir->i_version = ++event; |
new_dir | 1019 | fs/ext2/namei.c | dcache_add(new_dir, new_de->name, new_de->name_len, new_de->inode); |
new_dir | 1034 | fs/ext2/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 1035 | fs/ext2/namei.c | dcache_add(old_inode, "..", 2, new_dir->i_ino); |
new_dir | 1043 | fs/ext2/namei.c | new_dir->i_nlink++; |
new_dir | 1044 | fs/ext2/namei.c | new_dir->i_dirt = 1; |
new_dir | 1053 | fs/ext2/namei.c | if (IS_SYNC(new_dir)) { |
new_dir | 1065 | fs/ext2/namei.c | iput (new_dir); |
new_dir | 1083 | fs/ext2/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 1090 | fs/ext2/namei.c | result = do_ext2_rename (old_dir, old_name, old_len, new_dir, |
new_dir | 673 | fs/minix/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 706 | fs/minix/namei.c | new_bh = minix_find_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 708 | fs/minix/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
new_dir | 723 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 733 | fs/minix/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 735 | fs/minix/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 742 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 751 | fs/minix/namei.c | if (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX) |
new_dir | 755 | fs/minix/namei.c | retval = minix_add_entry(new_dir,new_name,new_len,&new_bh,&new_de); |
new_dir | 771 | fs/minix/namei.c | new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME; |
new_dir | 772 | fs/minix/namei.c | new_dir->i_dirt = 1; |
new_dir | 781 | fs/minix/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 789 | fs/minix/namei.c | new_dir->i_nlink++; |
new_dir | 790 | fs/minix/namei.c | new_dir->i_dirt = 1; |
new_dir | 801 | fs/minix/namei.c | iput(new_dir); |
new_dir | 815 | fs/minix/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 825 | fs/minix/namei.c | new_dir, new_name, new_len); |
new_dir | 413 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 422 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino) >= 0; |
new_dir | 428 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 441 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 442 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 464 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 473 | fs/msdos/namei.c | if (old_dir->i_dev != new_dir->i_dev) return -EINVAL; |
new_dir | 474 | fs/msdos/namei.c | if (old_ino == new_dir->i_ino) return -EINVAL; |
new_dir | 475 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
new_dir | 481 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
new_dir | 484 | fs/msdos/namei.c | while ((error = msdos_scan(new_dir,NULL,&free_bh,&free_de,&free_ino)) < |
new_dir | 487 | fs/msdos/namei.c | error = msdos_add_cluster(new_dir); |
new_dir | 490 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino) >= 0; |
new_dir | 504 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 526 | fs/msdos/namei.c | if (!(free_inode = iget(new_dir->i_sb,free_ino))) { |
new_dir | 537 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 538 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 564 | fs/msdos/namei.c | MSDOS_I(new_dir)->i_start; |
new_dir | 568 | fs/msdos/namei.c | new_dir->i_nlink++; |
new_dir | 570 | fs/msdos/namei.c | dotdot_inode->i_nlink = new_dir->i_nlink; |
new_dir | 583 | fs/msdos/namei.c | struct inode *new_dir,const char *new_name,int new_len) |
new_dir | 592 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |
new_dir | 597 | fs/msdos/namei.c | if (old_dir == new_dir) |
new_dir | 598 | fs/msdos/namei.c | error = rename_same_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 600 | fs/msdos/namei.c | else error = rename_diff_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 606 | fs/msdos/namei.c | iput(new_dir); |
new_dir | 743 | fs/namei.c | struct inode * old_dir, * new_dir; |
new_dir | 760 | fs/namei.c | error = dir_namei(newname,&new_len,&new_base,NULL,&new_dir); |
new_dir | 765 | fs/namei.c | if (!permission(new_dir,MAY_WRITE | MAY_EXEC)) { |
new_dir | 767 | fs/namei.c | iput(new_dir); |
new_dir | 774 | fs/namei.c | iput(new_dir); |
new_dir | 777 | fs/namei.c | if (new_dir->i_dev != old_dir->i_dev) { |
new_dir | 779 | fs/namei.c | iput(new_dir); |
new_dir | 782 | fs/namei.c | if (IS_RDONLY(new_dir) || IS_RDONLY(old_dir)) { |
new_dir | 784 | fs/namei.c | iput(new_dir); |
new_dir | 792 | fs/namei.c | iput(new_dir); |
new_dir | 797 | fs/namei.c | iput(new_dir); |
new_dir | 800 | fs/namei.c | new_dir->i_count++; |
new_dir | 801 | fs/namei.c | down(&new_dir->i_sem); |
new_dir | 803 | fs/namei.c | new_dir, new_base, new_len); |
new_dir | 804 | fs/namei.c | up(&new_dir->i_sem); |
new_dir | 805 | fs/namei.c | iput(new_dir); |
new_dir | 38 | fs/nfs/dir.c | int old_len, struct inode *new_dir, const char *new_name, |
new_dir | 522 | fs/nfs/dir.c | struct inode *new_dir, const char *new_name, int new_len) |
new_dir | 529 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 532 | fs/nfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
new_dir | 535 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 540 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 545 | fs/nfs/dir.c | NFS_FH(new_dir), new_name); |
new_dir | 548 | fs/nfs/dir.c | nfs_lookup_cache_remove(new_dir, NULL, new_name); |
new_dir | 551 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 505 | fs/nfs/proc.c | struct nfs_fh *new_dir, const char *new_name) |
new_dir | 518 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, new_dir); |
new_dir | 682 | fs/sysv/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 714 | fs/sysv/namei.c | new_bh = sysv_find_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 716 | fs/sysv/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
new_dir | 731 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 741 | fs/sysv/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 743 | fs/sysv/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 750 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 759 | fs/sysv/namei.c | if (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max) |
new_dir | 763 | fs/sysv/namei.c | retval = sysv_add_entry(new_dir,new_name,new_len,&new_bh,&new_de); |
new_dir | 779 | fs/sysv/namei.c | new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME; |
new_dir | 780 | fs/sysv/namei.c | new_dir->i_dirt = 1; |
new_dir | 789 | fs/sysv/namei.c | PARENT_INO(dir_bh_data) = new_dir->i_ino; |
new_dir | 797 | fs/sysv/namei.c | new_dir->i_nlink++; |
new_dir | 798 | fs/sysv/namei.c | new_dir->i_dirt = 1; |
new_dir | 809 | fs/sysv/namei.c | iput(new_dir); |
new_dir | 823 | fs/sysv/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 833 | fs/sysv/namei.c | new_dir, new_name, new_len); |
new_dir | 312 | fs/umsdos/namei.c | struct inode * new_dir, |
new_dir | 326 | fs/umsdos/namei.c | umsdos_lockcreate2(old_dir,new_dir); |
new_dir | 335 | fs/umsdos/namei.c | ret = umsdos_newentry (new_dir,&new_info); |
new_dir | 341 | fs/umsdos/namei.c | new_dir->i_count++; /* Both inode are needed later */ |
new_dir | 344 | fs/umsdos/namei.c | ,new_dir |
new_dir | 349 | fs/umsdos/namei.c | umsdos_delentry (new_dir,&new_info |
new_dir | 366 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 368 | fs/umsdos/namei.c | ret = UMSDOS_lookup (new_dir,new_name,new_len |
new_dir | 379 | fs/umsdos/namei.c | umsdos_set_dirinfo (inode,new_dir,new_info.f_pos); |
new_dir | 388 | fs/umsdos/namei.c | umsdos_unlockcreate(new_dir); |
new_dir | 391 | fs/umsdos/namei.c | iput (new_dir); |
new_dir | 958 | fs/umsdos/namei.c | struct inode * new_dir, |
new_dir | 974 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(new_dir,new_name,new_len,-EEXIST); |
new_dir | 978 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 979 | fs/umsdos/namei.c | ret = umsdos_rename_f (old_dir,old_name,old_len,new_dir,new_name |
new_dir | 1016 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1017 | fs/umsdos/namei.c | ret = UMSDOS_unlink (new_dir,new_name,new_len); |
new_dir | 1021 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1022 | fs/umsdos/namei.c | ret = UMSDOS_rmdir (new_dir,new_name,new_len); |
new_dir | 1028 | fs/umsdos/namei.c | ,new_dir,new_name,new_len,0); |
new_dir | 1029 | fs/umsdos/namei.c | new_dir = old_dir = NULL; |
new_dir | 1033 | fs/umsdos/namei.c | iput (new_dir); |
new_dir | 713 | fs/xiafs/namei.c | int old_len, struct inode * new_dir, |
new_dir | 736 | fs/xiafs/namei.c | new_bh = xiafs_find_entry(new_dir, new_name, new_len, &new_de, NULL); |
new_dir | 738 | fs/xiafs/namei.c | new_inode = __iget(new_dir->i_sb, new_de->d_ino, 0); |
new_dir | 753 | fs/xiafs/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 755 | fs/xiafs/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 765 | fs/xiafs/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 774 | fs/xiafs/namei.c | if (new_dir->i_nlink > 64000) |
new_dir | 778 | fs/xiafs/namei.c | new_bh = xiafs_add_entry(new_dir, new_name, new_len, &new_de, &new_de_pre); |
new_dir | 805 | fs/xiafs/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 808 | fs/xiafs/namei.c | new_dir->i_nlink++; |
new_dir | 810 | fs/xiafs/namei.c | new_dir->i_dirt = 1; |
new_dir | 820 | fs/xiafs/namei.c | iput(new_dir); |
new_dir | 834 | fs/xiafs/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 844 | 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 | 92 | include/linux/minix_fs.h | struct inode * new_dir, const char * new_name, int new_len); |
new_dir | 166 | include/linux/msdos_fs.h | struct inode *new_dir,const char *new_name,int new_len); |
new_dir | 74 | include/linux/nfs_fs.h | struct nfs_fh *new_dir, const char *new_name); |
new_dir | 405 | include/linux/sysv_fs.h | struct inode * new_dir, const char * new_name, int new_len); |
new_dir | 79 | include/linux/xia_fs.h | int old_len, struct inode * new_dir, |