tag | line | file | source code |
new_dir | 764 | fs/ext/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 795 | fs/ext/namei.c | new_bh = ext_find_entry(new_dir,new_name,new_len,&new_de,NULL,NULL); |
new_dir | 797 | fs/ext/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode,0); /* don't cross mnt-points */ |
new_dir | 812 | fs/ext/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 814 | fs/ext/namei.c | current->euid != new_dir->i_uid && !suser()) |
new_dir | 824 | fs/ext/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 834 | fs/ext/namei.c | new_bh = ext_add_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 857 | fs/ext/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 860 | fs/ext/namei.c | new_dir->i_nlink++; |
new_dir | 862 | fs/ext/namei.c | new_dir->i_dirt = 1; |
new_dir | 872 | fs/ext/namei.c | iput(new_dir); |
new_dir | 886 | fs/ext/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 896 | fs/ext/namei.c | new_dir, new_name, new_len); |
new_dir | 885 | fs/ext2/namei.c | int old_len, struct inode * new_dir, |
new_dir | 920 | fs/ext2/namei.c | new_bh = ext2_find_entry (new_dir, new_name, new_len, &new_de); |
new_dir | 922 | fs/ext2/namei.c | new_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */ |
new_dir | 937 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 947 | fs/ext2/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 949 | fs/ext2/namei.c | current->euid != new_dir->i_uid && !suser()) |
new_dir | 956 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
new_dir | 964 | fs/ext2/namei.c | if (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX) |
new_dir | 968 | fs/ext2/namei.c | new_bh = ext2_add_entry (new_dir, new_name, new_len, &new_de, |
new_dir | 984 | fs/ext2/namei.c | ext2_dcache_add (new_dir->i_dev, new_dir->i_ino, new_de->name, |
new_dir | 1005 | fs/ext2/namei.c | if (IS_SYNC(new_dir)) { |
new_dir | 1010 | fs/ext2/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 1018 | fs/ext2/namei.c | new_dir->i_nlink++; |
new_dir | 1019 | fs/ext2/namei.c | new_dir->i_dirt = 1; |
new_dir | 1030 | fs/ext2/namei.c | iput (new_dir); |
new_dir | 1048 | fs/ext2/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 1055 | fs/ext2/namei.c | result = do_ext2_rename (old_dir, old_name, old_len, new_dir, |
new_dir | 672 | fs/minix/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 705 | fs/minix/namei.c | new_bh = minix_find_entry(new_dir,new_name,new_len,&new_de); |
new_dir | 707 | fs/minix/namei.c | new_inode = __iget(new_dir->i_sb, new_de->inode, 0); |
new_dir | 722 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 732 | fs/minix/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 734 | fs/minix/namei.c | current->euid != new_dir->i_uid && !suser()) |
new_dir | 741 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 750 | fs/minix/namei.c | if (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX) |
new_dir | 754 | fs/minix/namei.c | retval = minix_add_entry(new_dir,new_name,new_len,&new_bh,&new_de); |
new_dir | 770 | fs/minix/namei.c | new_dir->i_ctime = new_dir->i_mtime = CURRENT_TIME; |
new_dir | 771 | fs/minix/namei.c | new_dir->i_dirt = 1; |
new_dir | 780 | fs/minix/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 788 | fs/minix/namei.c | new_dir->i_nlink++; |
new_dir | 789 | fs/minix/namei.c | new_dir->i_dirt = 1; |
new_dir | 800 | fs/minix/namei.c | iput(new_dir); |
new_dir | 814 | fs/minix/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 824 | fs/minix/namei.c | new_dir, new_name, new_len); |
new_dir | 397 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 406 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino) >= 0; |
new_dir | 412 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 425 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 426 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 448 | fs/msdos/namei.c | struct inode *new_dir,char *new_name,struct buffer_head *old_bh, |
new_dir | 457 | fs/msdos/namei.c | if (old_dir->i_dev != new_dir->i_dev) return -EINVAL; |
new_dir | 458 | fs/msdos/namei.c | if (old_ino == new_dir->i_ino) return -EINVAL; |
new_dir | 459 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
new_dir | 465 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
new_dir | 468 | fs/msdos/namei.c | while ((error = msdos_scan(new_dir,NULL,&free_bh,&free_de,&free_ino)) < |
new_dir | 471 | fs/msdos/namei.c | error = msdos_add_cluster(new_dir); |
new_dir | 474 | fs/msdos/namei.c | exists = msdos_scan(new_dir,new_name,&new_bh,&new_de,&new_ino) >= 0; |
new_dir | 488 | fs/msdos/namei.c | if (!(new_inode = iget(new_dir->i_sb,new_ino))) { |
new_dir | 510 | fs/msdos/namei.c | if (!(free_inode = iget(new_dir->i_sb,free_ino))) { |
new_dir | 521 | fs/msdos/namei.c | new_dir->i_nlink--; |
new_dir | 522 | fs/msdos/namei.c | new_dir->i_dirt = 1; |
new_dir | 548 | fs/msdos/namei.c | MSDOS_I(new_dir)->i_start; |
new_dir | 552 | fs/msdos/namei.c | new_dir->i_nlink++; |
new_dir | 554 | fs/msdos/namei.c | dotdot_inode->i_nlink = new_dir->i_nlink; |
new_dir | 567 | fs/msdos/namei.c | struct inode *new_dir,const char *new_name,int new_len) |
new_dir | 576 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |
new_dir | 581 | fs/msdos/namei.c | if (old_dir == new_dir) |
new_dir | 582 | fs/msdos/namei.c | error = rename_same_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 584 | fs/msdos/namei.c | else error = rename_diff_dir(old_dir,old_msdos_name,new_dir, |
new_dir | 590 | fs/msdos/namei.c | iput(new_dir); |
new_dir | 673 | fs/namei.c | struct inode * old_dir, * new_dir; |
new_dir | 690 | fs/namei.c | error = dir_namei(newname,&new_len,&new_base,NULL,&new_dir); |
new_dir | 695 | fs/namei.c | if (!permission(new_dir,MAY_WRITE | MAY_EXEC)) { |
new_dir | 697 | fs/namei.c | iput(new_dir); |
new_dir | 704 | fs/namei.c | iput(new_dir); |
new_dir | 707 | fs/namei.c | if (new_dir->i_dev != old_dir->i_dev) { |
new_dir | 709 | fs/namei.c | iput(new_dir); |
new_dir | 712 | fs/namei.c | if (IS_RDONLY(new_dir) || IS_RDONLY(old_dir)) { |
new_dir | 714 | fs/namei.c | iput(new_dir); |
new_dir | 719 | fs/namei.c | iput(new_dir); |
new_dir | 723 | fs/namei.c | new_dir, new_base, new_len); |
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 | 398 | fs/nfs/proc.c | struct nfs_fh *new_dir, const char *new_name) |
new_dir | 407 | fs/nfs/proc.c | p = xdr_encode_fhandle(p, new_dir); |
new_dir | 712 | fs/xiafs/namei.c | int old_len, struct inode * new_dir, |
new_dir | 735 | fs/xiafs/namei.c | new_bh = xiafs_find_entry(new_dir, new_name, new_len, &new_de, NULL); |
new_dir | 737 | fs/xiafs/namei.c | new_inode = __iget(new_dir->i_sb, new_de->d_ino, 0); |
new_dir | 752 | fs/xiafs/namei.c | if (new_inode && (new_dir->i_mode & S_ISVTX) && |
new_dir | 754 | fs/xiafs/namei.c | current->euid != new_dir->i_uid && !suser()) |
new_dir | 764 | fs/xiafs/namei.c | if (subdir(new_dir, old_inode)) |
new_dir | 773 | fs/xiafs/namei.c | if (new_dir->i_nlink > 64000) |
new_dir | 777 | fs/xiafs/namei.c | new_bh = xiafs_add_entry(new_dir, new_name, new_len, &new_de, &new_de_pre); |
new_dir | 804 | fs/xiafs/namei.c | PARENT_INO(dir_bh->b_data) = new_dir->i_ino; |
new_dir | 807 | fs/xiafs/namei.c | new_dir->i_nlink++; |
new_dir | 809 | fs/xiafs/namei.c | new_dir->i_dirt = 1; |
new_dir | 819 | fs/xiafs/namei.c | iput(new_dir); |
new_dir | 833 | fs/xiafs/namei.c | struct inode * new_dir, const char * new_name, int new_len) |
new_dir | 843 | fs/xiafs/namei.c | new_dir, new_name, new_len); |
new_dir | 76 | include/linux/ext_fs.h | struct inode * new_dir, const char * new_name, int new_len); |
new_dir | 87 | include/linux/minix_fs.h | struct inode * new_dir, const char * new_name, int new_len); |
new_dir | 165 | include/linux/msdos_fs.h | struct inode *new_dir,const char *new_name,int new_len); |
new_dir | 80 | include/linux/nfs_fs.h | struct nfs_fh *new_dir, const char *new_name); |
new_dir | 79 | include/linux/xia_fs.h | int old_len, struct inode * new_dir, |