tag | line | file | source code |
old_inode | 715 | fs/ext/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 723 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 727 | fs/ext/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 760 | fs/ext/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 770 | fs/ext/namei.c | iput(old_inode); |
old_inode | 775 | fs/ext/namei.c | old_inode = new_inode = NULL; |
old_inode | 781 | fs/ext/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 782 | fs/ext/namei.c | if (!old_inode) |
old_inode | 786 | fs/ext/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 797 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 810 | fs/ext/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 814 | fs/ext/namei.c | if ((retval = permission(old_inode, MAY_WRITE)) != 0) |
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 | 639 | fs/minix/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 647 | fs/minix/namei.c | if (new_inode == old_inode) { |
old_inode | 651 | fs/minix/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 679 | fs/minix/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 691 | fs/minix/namei.c | iput(old_inode); |
old_inode | 696 | fs/minix/namei.c | old_inode = new_inode = NULL; |
old_inode | 702 | fs/minix/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 703 | fs/minix/namei.c | if (!old_inode) |
old_inode | 707 | fs/minix/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 718 | fs/minix/namei.c | if (new_inode == old_inode) { |
old_inode | 724 | fs/minix/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 727 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 741 | fs/minix/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 746 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 749 | fs/minix/namei.c | dir_bh = minix_bread(old_inode,0,0); |
old_inode | 768 | fs/minix/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 772 | fs/minix/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 804 | fs/minix/namei.c | iput(old_inode); |
old_inode | 444 | fs/msdos/namei.c | struct inode *new_inode,*old_inode; |
old_inode | 481 | fs/msdos/namei.c | if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) { |
old_inode | 482 | fs/msdos/namei.c | msdos_read_inode(old_inode); |
old_inode | 483 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 496 | fs/msdos/namei.c | struct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk; |
old_inode | 518 | fs/msdos/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) { |
old_inode | 524 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 532 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 541 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 568 | fs/msdos/namei.c | MSDOS_I(old_inode)->i_busy = 1; |
old_inode | 569 | fs/msdos/namei.c | cache_inval_inode(old_inode); |
old_inode | 570 | fs/msdos/namei.c | old_inode->i_dirt = 1; |
old_inode | 582 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 583 | fs/msdos/namei.c | if ((error = msdos_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh, |
old_inode | 585 | fs/msdos/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
old_inode | 604 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 635 | fs/sysv/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 643 | fs/sysv/namei.c | if (new_inode == old_inode) { |
old_inode | 647 | fs/sysv/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 675 | fs/sysv/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 685 | fs/sysv/namei.c | iput(old_inode); |
old_inode | 690 | fs/sysv/namei.c | old_inode = new_inode = NULL; |
old_inode | 696 | fs/sysv/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
old_inode | 697 | fs/sysv/namei.c | if (!old_inode) |
old_inode | 701 | fs/sysv/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 712 | fs/sysv/namei.c | if (new_inode == old_inode) { |
old_inode | 718 | fs/sysv/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 721 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 735 | fs/sysv/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 740 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 743 | fs/sysv/namei.c | dir_bh = sysv_file_bread(old_inode,0,0); |
old_inode | 762 | fs/sysv/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 766 | fs/sysv/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 796 | fs/sysv/namei.c | iput(old_inode); |
old_inode | 680 | fs/xiafs/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 688 | fs/xiafs/namei.c | if (new_inode == old_inode) { |
old_inode | 692 | fs/xiafs/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 721 | fs/xiafs/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 727 | fs/xiafs/namei.c | old_inode = new_inode = NULL; |
old_inode | 733 | fs/xiafs/namei.c | old_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */ |
old_inode | 734 | fs/xiafs/namei.c | if (!old_inode) |
old_inode | 738 | fs/xiafs/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 749 | fs/xiafs/namei.c | if (new_inode == old_inode) { |
old_inode | 762 | fs/xiafs/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 766 | fs/xiafs/namei.c | if ((retval = permission(old_inode, MAY_WRITE)) != 0) |
old_inode | 769 | fs/xiafs/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 772 | fs/xiafs/namei.c | dir_bh = xiafs_bread(old_inode,0,0); |
old_inode | 789 | fs/xiafs/namei.c | || (old_de->d_ino != old_inode->i_ino)) { |
old_inode | 794 | fs/xiafs/namei.c | iput(old_inode); |
old_inode | 801 | fs/xiafs/namei.c | new_de->d_ino = old_inode->i_ino; |
old_inode | 821 | fs/xiafs/namei.c | iput(old_inode); |