tag | line | file | source code |
old_inode | 723 | fs/ext/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 731 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 735 | fs/ext/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 768 | fs/ext/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 778 | fs/ext/namei.c | iput(old_inode); |
old_inode | 783 | fs/ext/namei.c | old_inode = new_inode = NULL; |
old_inode | 789 | fs/ext/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 790 | fs/ext/namei.c | if (!old_inode) |
old_inode | 794 | fs/ext/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 805 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 818 | fs/ext/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 823 | fs/ext/namei.c | if (!permission(old_inode, MAY_WRITE)) |
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 | 872 | fs/ext2/namei.c | static int subdir (struct inode * new_inode, struct inode * old_inode) |
old_inode | 880 | fs/ext2/namei.c | if (new_inode == old_inode) { |
old_inode | 884 | fs/ext2/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 919 | fs/ext2/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 931 | fs/ext2/namei.c | iput (old_inode); |
old_inode | 936 | fs/ext2/namei.c | old_inode = new_inode = NULL; |
old_inode | 943 | fs/ext2/namei.c | old_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
old_inode | 944 | fs/ext2/namei.c | if (!old_inode) |
old_inode | 948 | fs/ext2/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 951 | fs/ext2/namei.c | if (IS_APPEND(old_inode) || IS_IMMUTABLE(old_inode)) |
old_inode | 961 | fs/ext2/namei.c | if (new_inode == old_inode) { |
old_inode | 967 | fs/ext2/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 970 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
old_inode | 984 | fs/ext2/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 989 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
old_inode | 991 | fs/ext2/namei.c | dir_bh = ext2_bread (old_inode, 0, 0, &retval); |
old_inode | 1012 | fs/ext2/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 1017 | fs/ext2/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 1035 | fs/ext2/namei.c | dcache_add(old_inode, "..", 2, new_dir->i_ino); |
old_inode | 1062 | fs/ext2/namei.c | iput (old_inode); |
old_inode | 635 | fs/minix/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 643 | fs/minix/namei.c | if (new_inode == old_inode) { |
old_inode | 647 | fs/minix/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 675 | fs/minix/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 687 | fs/minix/namei.c | iput(old_inode); |
old_inode | 692 | fs/minix/namei.c | old_inode = new_inode = NULL; |
old_inode | 698 | fs/minix/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 699 | fs/minix/namei.c | if (!old_inode) |
old_inode | 703 | fs/minix/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 714 | fs/minix/namei.c | if (new_inode == old_inode) { |
old_inode | 720 | fs/minix/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 723 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 737 | fs/minix/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 742 | fs/minix/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 745 | fs/minix/namei.c | dir_bh = minix_bread(old_inode,0,0); |
old_inode | 764 | fs/minix/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 768 | fs/minix/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 798 | fs/minix/namei.c | iput(old_inode); |
old_inode | 418 | fs/msdos/namei.c | struct inode *new_inode,*old_inode; |
old_inode | 455 | fs/msdos/namei.c | if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) { |
old_inode | 456 | fs/msdos/namei.c | msdos_read_inode(old_inode); |
old_inode | 457 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 469 | fs/msdos/namei.c | struct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk; |
old_inode | 491 | fs/msdos/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) { |
old_inode | 497 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 505 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 514 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 541 | fs/msdos/namei.c | MSDOS_I(old_inode)->i_busy = 1; |
old_inode | 542 | fs/msdos/namei.c | cache_inval_inode(old_inode); |
old_inode | 543 | fs/msdos/namei.c | old_inode->i_dirt = 1; |
old_inode | 555 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 556 | fs/msdos/namei.c | if ((error = msdos_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh, |
old_inode | 558 | fs/msdos/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
old_inode | 577 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 644 | fs/sysv/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 652 | fs/sysv/namei.c | if (new_inode == old_inode) { |
old_inode | 656 | fs/sysv/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 684 | fs/sysv/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 695 | fs/sysv/namei.c | iput(old_inode); |
old_inode | 700 | fs/sysv/namei.c | old_inode = new_inode = NULL; |
old_inode | 706 | fs/sysv/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
old_inode | 707 | fs/sysv/namei.c | if (!old_inode) |
old_inode | 711 | fs/sysv/namei.c | current->fsuid != old_inode->i_uid && |
old_inode | 722 | fs/sysv/namei.c | if (new_inode == old_inode) { |
old_inode | 728 | fs/sysv/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 731 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 745 | fs/sysv/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 750 | fs/sysv/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 753 | fs/sysv/namei.c | dir_bh = sysv_file_bread(old_inode,0,0,&dir_bh_data); |
old_inode | 772 | fs/sysv/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 776 | fs/sysv/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 806 | 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); |