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 | 925 | fs/ext2/namei.c | int old_len, struct inode * new_dir, |
new_dir | 937 | fs/ext2/namei.c | new_dir->i_version = ++event; |
new_dir | 964 | fs/ext2/namei.c | new_bh = ext2_find_entry (new_dir, new_name, new_len, &new_de); |
new_dir | 966 | fs/ext2/namei.c | new_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */ |
new_dir | 981 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 991 | fs/ext2/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 993 | fs/ext2/namei.c | current->fsuid != new_dir->i_uid && !fsuser()) |
new_dir | 1000 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 1008 | fs/ext2/namei.c | if (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX) |
new_dir | 1012 | fs/ext2/namei.c | new_bh = ext2_add_entry (new_dir, new_name, new_len, &new_de, |
new_dir | 1016 | fs/ext2/namei.c | new_dir->i_version = ++event; |
new_dir | 1030 | fs/ext2/namei.c | dcache_add(new_dir, new_de->name, new_de->name_len, new_de->inode); |
new_dir | 1045 | fs/ext2/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 1046 | fs/ext2/namei.c | dcache_add(old_inode, "..", 2, new_dir->i_ino); |
new_dir | 1054 | fs/ext2/namei.c | new_dir->i_nlink++; |
new_dir | 1055 | fs/ext2/namei.c | new_dir->i_dirt = 1; |
new_dir | 1064 | fs/ext2/namei.c | if (IS_SYNC(new_dir)) { |
new_dir | 1076 | fs/ext2/namei.c | iput (new_dir); |
new_dir | 1094 | fs/ext2/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 1101 | 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 | 440 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 450 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino) >= 0; |
new_dir | 456 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 469 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 470 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 492 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 502 | fs/msdos/namei.c | if (old_dir->i_dev != new_dir->i_dev) return -EINVAL; |
new_dir | 503 | fs/msdos/namei.c | if (old_ino == new_dir->i_ino) return -EINVAL; |
new_dir | 504 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
new_dir | 510 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
new_dir | 513 | fs/msdos/namei.c | while ((error = msdos_scan(new_dir,NULL,&free_bh,&free_de,&free_ino)) < |
new_dir | 516 | fs/msdos/namei.c | error = msdos_add_cluster(new_dir); |
new_dir | 519 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino) >= 0; |
new_dir | 533 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 555 | fs/msdos/namei.c | if (!(free_inode = iget(new_dir->i_sb,free_ino))) { |
new_dir | 566 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 567 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 593 | fs/msdos/namei.c | MSDOS_I(new_dir)->i_start; |
new_dir | 597 | fs/msdos/namei.c | new_dir->i_nlink++; |
new_dir | 599 | fs/msdos/namei.c | dotdot_inode->i_nlink = new_dir->i_nlink; |
new_dir | 612 | fs/msdos/namei.c | struct inode *new_dir,const char *new_name,int new_len) |
new_dir | 622 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |
new_dir | 627 | fs/msdos/namei.c | if (old_dir == new_dir) |
new_dir | 628 | fs/msdos/namei.c | error = rename_same_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 630 | fs/msdos/namei.c | else error = rename_diff_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 636 | fs/msdos/namei.c | iput(new_dir); |
new_dir | 763 | fs/namei.c | struct inode * old_dir, * new_dir; |
new_dir | 780 | fs/namei.c | error = dir_namei(newname,&new_len,&new_base,NULL,&new_dir); |
new_dir | 785 | fs/namei.c | if ((error = permission(new_dir,MAY_WRITE | MAY_EXEC)) != 0){ |
new_dir | 787 | fs/namei.c | iput(new_dir); |
new_dir | 794 | fs/namei.c | iput(new_dir); |
new_dir | 797 | fs/namei.c | if (new_dir->i_dev != old_dir->i_dev) { |
new_dir | 799 | fs/namei.c | iput(new_dir); |
new_dir | 802 | fs/namei.c | if (IS_RDONLY(new_dir) || IS_RDONLY(old_dir)) { |
new_dir | 804 | fs/namei.c | iput(new_dir); |
new_dir | 812 | fs/namei.c | iput(new_dir); |
new_dir | 817 | fs/namei.c | iput(new_dir); |
new_dir | 820 | fs/namei.c | new_dir->i_count++; |
new_dir | 821 | fs/namei.c | down(&new_dir->i_sem); |
new_dir | 823 | fs/namei.c | new_dir, new_base, new_len); |
new_dir | 824 | fs/namei.c | up(&new_dir->i_sem); |
new_dir | 825 | fs/namei.c | iput(new_dir); |
new_dir | 42 | fs/nfs/dir.c | int old_len, struct inode *new_dir, const char *new_name, |
new_dir | 534 | fs/nfs/dir.c | struct inode *new_dir, const char *new_name, int new_len) |
new_dir | 541 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 544 | fs/nfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
new_dir | 547 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 552 | fs/nfs/dir.c | iput(new_dir); |
new_dir | 557 | fs/nfs/dir.c | NFS_FH(new_dir), new_name); |
new_dir | 560 | fs/nfs/dir.c | nfs_lookup_cache_remove(new_dir, NULL, new_name); |
new_dir | 563 | 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 | 70 | fs/smbfs/dir.c | struct inode *new_dir, const char *new_name, int new_len); |
new_dir | 881 | fs/smbfs/dir.c | struct inode *new_dir, const char *new_name, int new_len) |
new_dir | 892 | fs/smbfs/dir.c | if (!new_dir || !S_ISDIR(new_dir->i_mode)) { |
new_dir | 903 | fs/smbfs/dir.c | res = get_pname_static(new_dir, new_name, new_len, new_path, &new_len); |
new_dir | 909 | fs/smbfs/dir.c | || (smb_find_inode(SMB_SERVER(new_dir), new_path) != NULL)) { |
new_dir | 928 | fs/smbfs/dir.c | smb_invalid_dir_cache(new_dir->i_ino); |
new_dir | 933 | fs/smbfs/dir.c | iput(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 | 315 | fs/umsdos/namei.c | struct inode * new_dir, |
new_dir | 329 | fs/umsdos/namei.c | umsdos_lockcreate2(old_dir,new_dir); |
new_dir | 342 | fs/umsdos/namei.c | ret = umsdos_findentry(new_dir,&new_info,0); |
new_dir | 344 | fs/umsdos/namei.c | !(new_dir->i_mode & S_ISVTX) || fsuser() || |
new_dir | 346 | fs/umsdos/namei.c | current->fsuid == new_dir->i_uid ) { |
new_dir | 349 | fs/umsdos/namei.c | ret = umsdos_newentry (new_dir,&new_info); |
new_dir | 355 | fs/umsdos/namei.c | new_dir->i_count++; /* Both inode are needed later */ |
new_dir | 358 | fs/umsdos/namei.c | ,new_dir |
new_dir | 363 | fs/umsdos/namei.c | umsdos_delentry (new_dir,&new_info |
new_dir | 380 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 382 | fs/umsdos/namei.c | ret = UMSDOS_lookup (new_dir,new_name,new_len |
new_dir | 393 | fs/umsdos/namei.c | umsdos_set_dirinfo (inode,new_dir,new_info.f_pos); |
new_dir | 412 | fs/umsdos/namei.c | umsdos_unlockcreate(new_dir); |
new_dir | 415 | fs/umsdos/namei.c | iput (new_dir); |
new_dir | 1018 | fs/umsdos/namei.c | struct inode * new_dir, |
new_dir | 1034 | fs/umsdos/namei.c | int ret = umsdos_nevercreat(new_dir,new_name,new_len,-EEXIST); |
new_dir | 1038 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1039 | fs/umsdos/namei.c | ret = umsdos_rename_f (old_dir,old_name,old_len,new_dir,new_name |
new_dir | 1076 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1077 | fs/umsdos/namei.c | ret = UMSDOS_unlink (new_dir,new_name,new_len); |
new_dir | 1081 | fs/umsdos/namei.c | new_dir->i_count++; |
new_dir | 1082 | fs/umsdos/namei.c | ret = UMSDOS_rmdir (new_dir,new_name,new_len); |
new_dir | 1088 | fs/umsdos/namei.c | ,new_dir,new_name,new_len,0); |
new_dir | 1089 | fs/umsdos/namei.c | new_dir = old_dir = NULL; |
new_dir | 1093 | 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 | 154 | 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, |