tag | line | file | source code |
old_inode | 721 | fs/ext/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 729 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 733 | fs/ext/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 766 | fs/ext/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 776 | fs/ext/namei.c | iput(old_inode); |
old_inode | 781 | fs/ext/namei.c | old_inode = new_inode = NULL; |
old_inode | 787 | fs/ext/namei.c | old_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */ |
old_inode | 788 | fs/ext/namei.c | if (!old_inode) |
old_inode | 792 | fs/ext/namei.c | current->euid != old_inode->i_uid && |
old_inode | 803 | fs/ext/namei.c | if (new_inode == old_inode) { |
old_inode | 816 | fs/ext/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 821 | fs/ext/namei.c | if (!permission(old_inode, MAY_WRITE)) |
old_inode | 824 | fs/ext/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 827 | fs/ext/namei.c | dir_bh = ext_bread(old_inode,0,0); |
old_inode | 843 | fs/ext/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 848 | fs/ext/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 869 | fs/ext/namei.c | iput(old_inode); |
old_inode | 841 | fs/ext2/namei.c | static int subdir (struct inode * new_inode, struct inode * old_inode) |
old_inode | 849 | fs/ext2/namei.c | if (new_inode == old_inode) { |
old_inode | 853 | fs/ext2/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 888 | fs/ext2/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 900 | fs/ext2/namei.c | iput (old_inode); |
old_inode | 905 | fs/ext2/namei.c | old_inode = new_inode = NULL; |
old_inode | 912 | fs/ext2/namei.c | old_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */ |
old_inode | 913 | fs/ext2/namei.c | if (!old_inode) |
old_inode | 917 | fs/ext2/namei.c | current->euid != old_inode->i_uid && |
old_inode | 928 | fs/ext2/namei.c | if (new_inode == old_inode) { |
old_inode | 934 | fs/ext2/namei.c | if (!S_ISDIR(old_inode->i_mode)) |
old_inode | 937 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
old_inode | 951 | fs/ext2/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 956 | fs/ext2/namei.c | if (subdir (new_dir, old_inode)) |
old_inode | 958 | fs/ext2/namei.c | dir_bh = ext2_bread (old_inode, 0, 0, &retval); |
old_inode | 977 | fs/ext2/namei.c | if (old_de->inode != old_inode->i_ino) |
old_inode | 980 | fs/ext2/namei.c | new_de->inode = old_inode->i_ino; |
old_inode | 1027 | 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->euid != 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 | 797 | fs/minix/namei.c | iput(old_inode); |
old_inode | 402 | fs/msdos/namei.c | struct inode *new_inode,*old_inode; |
old_inode | 439 | fs/msdos/namei.c | if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) { |
old_inode | 440 | fs/msdos/namei.c | msdos_read_inode(old_inode); |
old_inode | 441 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 453 | fs/msdos/namei.c | struct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk; |
old_inode | 475 | fs/msdos/namei.c | if (!(old_inode = iget(old_dir->i_sb,old_ino))) { |
old_inode | 481 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 489 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 498 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 525 | fs/msdos/namei.c | MSDOS_I(old_inode)->i_busy = 1; |
old_inode | 526 | fs/msdos/namei.c | cache_inval_inode(old_inode); |
old_inode | 527 | fs/msdos/namei.c | old_inode->i_dirt = 1; |
old_inode | 539 | fs/msdos/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 540 | fs/msdos/namei.c | if ((error = msdos_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh, |
old_inode | 542 | fs/msdos/namei.c | if (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) { |
old_inode | 561 | fs/msdos/namei.c | iput(old_inode); |
old_inode | 674 | fs/xiafs/namei.c | static int subdir(struct inode * new_inode, struct inode * old_inode) |
old_inode | 682 | fs/xiafs/namei.c | if (new_inode == old_inode) { |
old_inode | 686 | fs/xiafs/namei.c | if (new_inode->i_dev != old_inode->i_dev) |
old_inode | 715 | fs/xiafs/namei.c | struct inode * old_inode, * new_inode; |
old_inode | 721 | fs/xiafs/namei.c | old_inode = new_inode = NULL; |
old_inode | 727 | fs/xiafs/namei.c | old_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */ |
old_inode | 728 | fs/xiafs/namei.c | if (!old_inode) |
old_inode | 732 | fs/xiafs/namei.c | current->euid != old_inode->i_uid && |
old_inode | 743 | fs/xiafs/namei.c | if (new_inode == old_inode) { |
old_inode | 756 | fs/xiafs/namei.c | if (S_ISDIR(old_inode->i_mode)) { |
old_inode | 761 | fs/xiafs/namei.c | if (!permission(old_inode, MAY_WRITE)) |
old_inode | 764 | fs/xiafs/namei.c | if (subdir(new_dir, old_inode)) |
old_inode | 767 | fs/xiafs/namei.c | dir_bh = xiafs_bread(old_inode,0,0); |
old_inode | 784 | fs/xiafs/namei.c | || (old_de->d_ino != old_inode->i_ino)) { |
old_inode | 789 | fs/xiafs/namei.c | iput(old_inode); |
old_inode | 796 | fs/xiafs/namei.c | new_de->d_ino = old_inode->i_ino; |
old_inode | 816 | fs/xiafs/namei.c | iput(old_inode); |