tag | line | file | source code |
new_dir | 767 | fs/ext/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 798 | fs/ext/namei.c | new_bh = ext_find_entry(new_dir,new_name,new_len,&new_de,NULL,NULL); |
new_dir | 800 | fs/ext/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode,0); /* don't cross mnt-points */ |
new_dir | 815 | fs/ext/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 817 | 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 | 930 | fs/ext2/namei.c | int old_len, struct inode * new_dir, |
new_dir | 942 | fs/ext2/namei.c | new_dir->i_version = ++event; |
new_dir | 969 | fs/ext2/namei.c | new_bh = ext2_find_entry (new_dir, new_name, new_len, &new_de); |
new_dir | 971 | fs/ext2/namei.c | new_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */ |
new_dir | 989 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 999 | fs/ext2/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 1001 | fs/ext2/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 1008 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 1016 | fs/ext2/namei.c | if (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX) |
new_dir | 1020 | fs/ext2/namei.c | new_bh = ext2_add_entry (new_dir, new_name, new_len, &new_de, |
new_dir | 1024 | fs/ext2/namei.c | new_dir->i_version = ++event; |
new_dir | 1038 | fs/ext2/namei.c | dcache_add(new_dir, new_de->name, new_de->name_len, new_de->inode); |
new_dir | 1053 | fs/ext2/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 1054 | fs/ext2/namei.c | dcache_add(old_inode, "..", 2, new_dir->i_ino); |
new_dir | 1062 | fs/ext2/namei.c | new_dir->i_nlink++; |
new_dir | 1063 | fs/ext2/namei.c | new_dir->i_dirt = 1; |
new_dir | 1072 | fs/ext2/namei.c | if (IS_SYNC(new_dir)) { |
new_dir | 1084 | fs/ext2/namei.c | iput (new_dir); |
new_dir | 1102 | fs/ext2/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 1109 | fs/ext2/namei.c | result = do_ext2_rename (old_dir, old_name, old_len, new_dir, |
new_dir | 675 | fs/minix/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 708 | fs/minix/namei.c | new_bh = minix_find_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 710 | fs/minix/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
new_dir | 725 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 735 | fs/minix/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 737 | fs/minix/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 744 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 753 | fs/minix/namei.c | if (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX) |
new_dir | 757 | fs/minix/namei.c | retval = minix_add_entry(new_dir,new_name,new_len,&new_bh,&new_de); |
new_dir | 774 | fs/minix/namei.c | new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME; |
new_dir | 775 | fs/minix/namei.c | new_dir->i_dirt = 1; |
new_dir | 776 | fs/minix/namei.c | new_dir->i_version = ++event; |
new_dir | 785 | fs/minix/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 793 | fs/minix/namei.c | new_dir->i_nlink++; |
new_dir | 794 | fs/minix/namei.c | new_dir->i_dirt = 1; |
new_dir | 805 | fs/minix/namei.c | iput(new_dir); |
new_dir | 819 | fs/minix/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 829 | fs/minix/namei.c | new_dir, new_name, new_len); |
new_dir | 486 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 496 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino,SCAN_ANY) >= 0; |
new_dir | 502 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 520 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 521 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 550 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 560 | fs/msdos/namei.c | if (old_dir->i_dev != new_dir->i_dev) return -EINVAL; |
new_dir | 561 | fs/msdos/namei.c | if (old_ino == new_dir->i_ino) return -EINVAL; |
new_dir | 562 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
new_dir | 569 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
new_dir | 573 | fs/msdos/namei.c | while ((error = msdos_scan(new_dir,NULL,&free_bh,&free_de,&free_ino, |
new_dir | 576 | fs/msdos/namei.c | error = msdos_add_cluster(new_dir); |
new_dir | 579 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino,SCAN_ANY) >= 0; |
new_dir | 593 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 623 | fs/msdos/namei.c | if (!(free_inode = iget(new_dir->i_sb,free_ino))) { |
new_dir | 634 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 635 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 661 | fs/msdos/namei.c | MSDOS_I(new_dir)->i_start; |
new_dir | 665 | fs/msdos/namei.c | new_dir->i_nlink++; |
new_dir | 667 | fs/msdos/namei.c | dotdot_inode->i_nlink = new_dir->i_nlink; |
new_dir | 680 | fs/msdos/namei.c | struct inode *new_dir,const char *new_name,int new_len) |
new_dir | 692 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |
new_dir | 693 | fs/msdos/namei.c | new_name,new_len,new_msdos_name,0,MSDOS_SB(new_dir->i_sb)->dotsOK)) |
new_dir | 700 | fs/msdos/namei.c | if (old_dir == new_dir) |
new_dir | 701 | fs/msdos/namei.c | error = rename_same_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 703 | fs/msdos/namei.c | else error = rename_diff_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 709 | fs/msdos/namei.c | iput(new_dir); |
new_dir | 775 | fs/namei.c | struct inode * old_dir, * new_dir; |
new_dir | 792 | fs/namei.c | error = dir_namei(newname, &new_len, &new_base, NULL, &new_dir); |
new_dir | 797 | fs/namei.c | if ((error = permission(new_dir,MAY_WRITE | MAY_EXEC)) != 0){ |
new_dir | 799 | fs/namei.c | iput(new_dir); |
new_dir | 806 | fs/namei.c | iput(new_dir); |
new_dir | 809 | fs/namei.c | if (new_dir->i_dev != old_dir->i_dev) { |
new_dir | 811 | fs/namei.c | iput(new_dir); |
new_dir | 814 | fs/namei.c | if (IS_RDONLY(new_dir) || IS_RDONLY(old_dir)) { |
new_dir | 816 | fs/namei.c | iput(new_dir); |
new_dir | 824 | fs/namei.c | iput(new_dir); |
new_dir | 829 | fs/namei.c | iput(new_dir); |
new_dir | 832 | fs/namei.c | new_dir->i_count++; |
new_dir | 833 | fs/namei.c | if (new_dir->i_sb && new_dir->i_sb->dq_op) |
new_dir | 834 | fs/namei.c | new_dir->i_sb->dq_op->initialize(new_dir, -1); |
new_dir | 835 | fs/namei.c | down(&new_dir->i_sem); |
new_dir | 837 | fs/namei.c | new_dir, new_base, new_len); |
new_dir | 838 | fs/namei.c | up(&new_dir->i_sem); |
new_dir | 839 | 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 | 564 | fs/nfs/dir.c | struct inode *new_dir, const char *new_name, int new_len) |
new_dir | 571 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 574 | fs/nfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
new_dir | 577 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 582 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 587 | fs/nfs/dir.c | NFS_FH(new_dir), new_name); |
new_dir | 590 | fs/nfs/dir.c | nfs_lookup_cache_remove(new_dir, NULL, new_name); |
new_dir | 593 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 538 | fs/nfs/proc.c | struct nfs_fh *new_dir, const char *new_name) |
new_dir | 551 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, new_dir); |
new_dir | 64 | fs/smbfs/dir.c | struct inode *new_dir, const char *new_name, int new_len); |
new_dir | 885 | fs/smbfs/dir.c | struct inode *new_dir, const char *new_name, int new_len) |
new_dir | 896 | fs/smbfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
new_dir | 907 | fs/smbfs/dir.c | res = get_pname_static(new_dir, new_name, new_len, new_path, &new_len); |
new_dir | 913 | fs/smbfs/dir.c | || (smb_find_inode(SMB_SERVER(new_dir), new_path) != NULL)) { |
new_dir | 932 | fs/smbfs/dir.c | smb_invalid_dir_cache(new_dir->i_ino); |
new_dir | 937 | fs/smbfs/dir.c | iput(new_dir); |
new_dir | 671 | fs/sysv/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 702 | fs/sysv/namei.c | new_bh = sysv_find_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 704 | fs/sysv/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
new_dir | 719 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 729 | fs/sysv/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 731 | fs/sysv/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 738 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 747 | fs/sysv/namei.c | if (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max) |
new_dir | 751 | fs/sysv/namei.c | retval = sysv_add_entry(new_dir,new_name,new_len,&new_bh,&new_de); |
new_dir | 767 | fs/sysv/namei.c | new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME; |
new_dir | 768 | fs/sysv/namei.c | new_dir->i_dirt = 1; |
new_dir | 777 | fs/sysv/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 785 | fs/sysv/namei.c | new_dir->i_nlink++; |
new_dir | 786 | fs/sysv/namei.c | new_dir->i_dirt = 1; |
new_dir | 797 | fs/sysv/namei.c | iput(new_dir); |
new_dir | 811 | fs/sysv/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 821 | 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 | 339 | fs/umsdos/namei.c | ret = umsdos_findentry(new_dir,&new_info,0); |
new_dir | 341 | fs/umsdos/namei.c | !(new_dir->i_mode & S_ISVTX) || fsuser() || |
new_dir | 343 | fs/umsdos/namei.c | current->fsuid == new_dir->i_uid ) { |
new_dir | 346 | fs/umsdos/namei.c | ret = umsdos_newentry (new_dir,&new_info); |
new_dir | 352 | fs/umsdos/namei.c | new_dir->i_count++; /* Both inode are needed later */ |
new_dir | 355 | fs/umsdos/namei.c | ,new_dir |
new_dir | 360 | fs/umsdos/namei.c | umsdos_delentry (new_dir,&new_info |
new_dir | 377 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 379 | fs/umsdos/namei.c | ret = UMSDOS_lookup (new_dir,new_name,new_len |
new_dir | 390 | fs/umsdos/namei.c | umsdos_set_dirinfo (inode,new_dir,new_info.f_pos); |
new_dir | 409 | fs/umsdos/namei.c | umsdos_unlockcreate(new_dir); |
new_dir | 412 | fs/umsdos/namei.c | iput (new_dir); |
new_dir | 1015 | fs/umsdos/namei.c | struct inode * new_dir, |
new_dir | 1031 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(new_dir,new_name,new_len,-EEXIST); |
new_dir | 1035 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1036 | fs/umsdos/namei.c | ret = umsdos_rename_f (old_dir,old_name,old_len,new_dir,new_name |
new_dir | 1073 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1074 | fs/umsdos/namei.c | ret = UMSDOS_unlink (new_dir,new_name,new_len); |
new_dir | 1078 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1079 | fs/umsdos/namei.c | ret = UMSDOS_rmdir (new_dir,new_name,new_len); |
new_dir | 1085 | fs/umsdos/namei.c | ,new_dir,new_name,new_len,0); |
new_dir | 1086 | fs/umsdos/namei.c | new_dir = old_dir = NULL; |
new_dir | 1090 | fs/umsdos/namei.c | iput (new_dir); |
new_dir | 715 | fs/xiafs/namei.c | int old_len, struct inode * new_dir, |
new_dir | 738 | fs/xiafs/namei.c | new_bh = xiafs_find_entry(new_dir, new_name, new_len, &new_de, NULL); |
new_dir | 740 | fs/xiafs/namei.c | new_inode = __iget(new_dir->i_sb, new_de->d_ino, 0); |
new_dir | 755 | fs/xiafs/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 757 | fs/xiafs/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 766 | fs/xiafs/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 775 | fs/xiafs/namei.c | if (new_dir->i_nlink > 64000) |
new_dir | 779 | fs/xiafs/namei.c | new_bh = xiafs_add_entry(new_dir, new_name, new_len, &new_de, &new_de_pre); |
new_dir | 806 | fs/xiafs/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 809 | fs/xiafs/namei.c | new_dir->i_nlink++; |
new_dir | 811 | fs/xiafs/namei.c | new_dir->i_dirt = 1; |
new_dir | 821 | fs/xiafs/namei.c | iput(new_dir); |
new_dir | 835 | fs/xiafs/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 845 | 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 | 159 | 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, |