tag | line | file | source code |
old_inode | 714 | fs/ext/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 722 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 726 | fs/ext/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 759 | fs/ext/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 769 | fs/ext/namei.c | iput(old_inode); |
old_inode | 774 | fs/ext/namei.c | old_inode = new_inode = NULL; |
old_inode | 780 | fs/ext/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 781 | fs/ext/namei.c | if (!old_inode) |
old_inode | 785 | fs/ext/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 796 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 809 | fs/ext/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 814 | fs/ext/namei.c | if (!permission(old_inode, MAY_WRITE)) |
old_inode | 817 | fs/ext/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 820 | fs/ext/namei.c | dir_bh = ext_bread(old_inode,0,0); |
old_inode | 836 | fs/ext/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 841 | fs/ext/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 862 | fs/ext/namei.c | iput(old_inode); |
old_inode | 873 | fs/ext2/namei.c | static int subdir (struct inode * new_inode, struct inode * old_inode) |
old_inode | 881 | fs/ext2/namei.c | if (new_inode == old_inode) { |
old_inode | 885 | fs/ext2/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 920 | fs/ext2/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 934 | fs/ext2/namei.c | iput (old_inode); |
old_inode | 939 | fs/ext2/namei.c | old_inode = new_inode = NULL; |
old_inode | 946 | fs/ext2/namei.c | old_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
old_inode | 947 | fs/ext2/namei.c | if (!old_inode) |
old_inode | 951 | fs/ext2/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 954 | fs/ext2/namei.c | if (IS_APPEND(old_inode) || IS_IMMUTABLE(old_inode)) |
old_inode | 964 | fs/ext2/namei.c | if (new_inode == old_inode) { |
old_inode | 970 | fs/ext2/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 973 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
old_inode | 987 | fs/ext2/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 992 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
old_inode | 994 | fs/ext2/namei.c | dir_bh = ext2_bread (old_inode, 0, 0, &retval); |
old_inode | 1016 | fs/ext2/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 1021 | fs/ext2/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 1038 | fs/ext2/namei.c | dcache_add(old_inode, "..", 2, new_dir->i_ino); |
old_inode | 1065 | fs/ext2/namei.c | iput (old_inode); |
old_inode | 634 | fs/minix/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 642 | fs/minix/namei.c | if (new_inode == old_inode) { |
old_inode | 646 | fs/minix/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 674 | fs/minix/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 686 | fs/minix/namei.c | iput(old_inode); |
old_inode | 691 | fs/minix/namei.c | old_inode = new_inode = NULL; |
old_inode | 697 | fs/minix/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 698 | fs/minix/namei.c | if (!old_inode) |
old_inode | 702 | fs/minix/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 713 | fs/minix/namei.c | if (new_inode == old_inode) { |
old_inode | 719 | fs/minix/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 722 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 736 | fs/minix/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 741 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 744 | fs/minix/namei.c | dir_bh = minix_bread(old_inode,0,0); |
old_inode | 763 | fs/minix/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 767 | fs/minix/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 799 | fs/minix/namei.c | iput(old_inode); |
old_inode | 430 | fs/msdos/namei.c | struct inode *new_inode,*old_inode; |
old_inode | 467 | fs/msdos/namei.c | if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) { |
old_inode | 468 | fs/msdos/namei.c | msdos_read_inode(old_inode); |
old_inode | 469 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 481 | fs/msdos/namei.c | struct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk; |
old_inode | 503 | fs/msdos/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) { |
old_inode | 509 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 517 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 526 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 553 | fs/msdos/namei.c | MSDOS_I(old_inode)->i_busy = 1; |
old_inode | 554 | fs/msdos/namei.c | cache_inval_inode(old_inode); |
old_inode | 555 | fs/msdos/namei.c | old_inode->i_dirt = 1; |
old_inode | 567 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 568 | fs/msdos/namei.c | if ((error = msdos_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh, |
old_inode | 570 | fs/msdos/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
old_inode | 589 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 630 | fs/sysv/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 638 | fs/sysv/namei.c | if (new_inode == old_inode) { |
old_inode | 642 | fs/sysv/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 670 | fs/sysv/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 680 | fs/sysv/namei.c | iput(old_inode); |
old_inode | 685 | fs/sysv/namei.c | old_inode = new_inode = NULL; |
old_inode | 691 | fs/sysv/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
old_inode | 692 | fs/sysv/namei.c | if (!old_inode) |
old_inode | 696 | fs/sysv/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 707 | fs/sysv/namei.c | if (new_inode == old_inode) { |
old_inode | 713 | fs/sysv/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 716 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 730 | fs/sysv/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 735 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 738 | fs/sysv/namei.c | dir_bh = sysv_file_bread(old_inode,0,0); |
old_inode | 757 | fs/sysv/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 761 | fs/sysv/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 791 | fs/sysv/namei.c | iput(old_inode); |
old_inode | 675 | fs/xiafs/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 683 | fs/xiafs/namei.c | if (new_inode == old_inode) { |
old_inode | 687 | fs/xiafs/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 716 | fs/xiafs/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 722 | fs/xiafs/namei.c | old_inode = new_inode = NULL; |
old_inode | 728 | fs/xiafs/namei.c | old_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */ |
old_inode | 729 | fs/xiafs/namei.c | if (!old_inode) |
old_inode | 733 | fs/xiafs/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 744 | fs/xiafs/namei.c | if (new_inode == old_inode) { |
old_inode | 757 | fs/xiafs/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 762 | fs/xiafs/namei.c | if (!permission(old_inode, MAY_WRITE)) |
old_inode | 765 | fs/xiafs/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 768 | fs/xiafs/namei.c | dir_bh = xiafs_bread(old_inode,0,0); |
old_inode | 785 | fs/xiafs/namei.c | || (old_de->d_ino != old_inode->i_ino)) { |
old_inode | 790 | fs/xiafs/namei.c | iput(old_inode); |
old_inode | 797 | fs/xiafs/namei.c | new_de->d_ino = old_inode->i_ino; |
old_inode | 817 | fs/xiafs/namei.c | iput(old_inode); |