tag | line | file | source code |
old_inode | 724 | fs/ext/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 732 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 736 | fs/ext/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 769 | fs/ext/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 779 | fs/ext/namei.c | iput(old_inode); |
old_inode | 784 | fs/ext/namei.c | old_inode = new_inode = NULL; |
old_inode | 790 | fs/ext/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 791 | fs/ext/namei.c | if (!old_inode) |
old_inode | 795 | fs/ext/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 806 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 819 | fs/ext/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 823 | fs/ext/namei.c | if ((retval = permission(old_inode, MAY_WRITE)) != 0) |
old_inode | 826 | fs/ext/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 829 | fs/ext/namei.c | dir_bh = ext_bread(old_inode,0,0); |
old_inode | 845 | fs/ext/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 850 | fs/ext/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 871 | fs/ext/namei.c | iput(old_inode); |
old_inode | 881 | fs/ext2/namei.c | static int subdir (struct inode * new_inode, struct inode * old_inode) |
old_inode | 889 | fs/ext2/namei.c | if (new_inode == old_inode) { |
old_inode | 893 | fs/ext2/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 928 | fs/ext2/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 942 | fs/ext2/namei.c | iput (old_inode); |
old_inode | 947 | fs/ext2/namei.c | old_inode = new_inode = NULL; |
old_inode | 954 | fs/ext2/namei.c | old_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
old_inode | 955 | fs/ext2/namei.c | if (!old_inode) |
old_inode | 959 | fs/ext2/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 962 | fs/ext2/namei.c | if (IS_APPEND(old_inode) || IS_IMMUTABLE(old_inode)) |
old_inode | 972 | fs/ext2/namei.c | if (new_inode == old_inode) { |
old_inode | 978 | fs/ext2/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 981 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
old_inode | 995 | fs/ext2/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 1000 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
old_inode | 1002 | fs/ext2/namei.c | dir_bh = ext2_bread (old_inode, 0, 0, &retval); |
old_inode | 1024 | fs/ext2/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 1029 | fs/ext2/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 1046 | fs/ext2/namei.c | dcache_add(old_inode, "..", 2, new_dir->i_ino); |
old_inode | 1073 | fs/ext2/namei.c | iput (old_inode); |
old_inode | 641 | fs/minix/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 649 | fs/minix/namei.c | if (new_inode == old_inode) { |
old_inode | 653 | fs/minix/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 681 | fs/minix/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 693 | fs/minix/namei.c | iput(old_inode); |
old_inode | 698 | fs/minix/namei.c | old_inode = new_inode = NULL; |
old_inode | 704 | fs/minix/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 705 | fs/minix/namei.c | if (!old_inode) |
old_inode | 709 | fs/minix/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 720 | fs/minix/namei.c | if (new_inode == old_inode) { |
old_inode | 726 | fs/minix/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 729 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 743 | fs/minix/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 748 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 751 | fs/minix/namei.c | dir_bh = minix_bread(old_inode,0,0); |
old_inode | 770 | fs/minix/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 774 | fs/minix/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 806 | fs/minix/namei.c | iput(old_inode); |
old_inode | 447 | fs/msdos/namei.c | struct inode *new_inode,*old_inode; |
old_inode | 484 | fs/msdos/namei.c | if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) { |
old_inode | 485 | fs/msdos/namei.c | msdos_read_inode(old_inode); |
old_inode | 486 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 499 | fs/msdos/namei.c | struct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk; |
old_inode | 521 | fs/msdos/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) { |
old_inode | 527 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 535 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 544 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 571 | fs/msdos/namei.c | MSDOS_I(old_inode)->i_busy = 1; |
old_inode | 572 | fs/msdos/namei.c | cache_inval_inode(old_inode); |
old_inode | 573 | fs/msdos/namei.c | old_inode->i_dirt = 1; |
old_inode | 585 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 586 | fs/msdos/namei.c | if ((error = msdos_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh, |
old_inode | 588 | fs/msdos/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
old_inode | 607 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 637 | fs/sysv/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 645 | fs/sysv/namei.c | if (new_inode == old_inode) { |
old_inode | 649 | fs/sysv/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 677 | fs/sysv/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 687 | fs/sysv/namei.c | iput(old_inode); |
old_inode | 692 | fs/sysv/namei.c | old_inode = new_inode = NULL; |
old_inode | 698 | fs/sysv/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
old_inode | 699 | fs/sysv/namei.c | if (!old_inode) |
old_inode | 703 | fs/sysv/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 714 | fs/sysv/namei.c | if (new_inode == old_inode) { |
old_inode | 720 | fs/sysv/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 723 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 737 | fs/sysv/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 742 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 745 | fs/sysv/namei.c | dir_bh = sysv_file_bread(old_inode,0,0); |
old_inode | 764 | fs/sysv/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 768 | fs/sysv/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 798 | 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); |