taglinefilesource code
old_inode721fs/ext/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode729fs/ext/namei.cif (new_inode == old_inode) {
old_inode733fs/ext/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode766fs/ext/namei.cstruct inode * old_inode, * new_inode;
old_inode776fs/ext/namei.ciput(old_inode);
old_inode781fs/ext/namei.cold_inode = new_inode = NULL;
old_inode787fs/ext/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_inode788fs/ext/namei.cif (!old_inode)
old_inode792fs/ext/namei.ccurrent->euid != old_inode->i_uid &&
old_inode803fs/ext/namei.cif (new_inode == old_inode) {
old_inode816fs/ext/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode821fs/ext/namei.cif (!permission(old_inode, MAY_WRITE))
old_inode824fs/ext/namei.cif (subdir(new_dir, old_inode))
old_inode827fs/ext/namei.cdir_bh = ext_bread(old_inode,0,0);
old_inode843fs/ext/namei.cif (old_de->inode != old_inode->i_ino)
old_inode848fs/ext/namei.cnew_de->inode = old_inode->i_ino;
old_inode869fs/ext/namei.ciput(old_inode);
old_inode841fs/ext2/namei.cstatic int subdir (struct inode * new_inode, struct inode * old_inode)
old_inode849fs/ext2/namei.cif (new_inode == old_inode) {
old_inode853fs/ext2/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode888fs/ext2/namei.cstruct inode * old_inode, * new_inode;
old_inode900fs/ext2/namei.ciput (old_inode);
old_inode905fs/ext2/namei.cold_inode = new_inode = NULL;
old_inode912fs/ext2/namei.cold_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_inode913fs/ext2/namei.cif (!old_inode)
old_inode917fs/ext2/namei.ccurrent->euid != old_inode->i_uid &&
old_inode928fs/ext2/namei.cif (new_inode == old_inode) {
old_inode934fs/ext2/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode937fs/ext2/namei.cif (subdir (new_dir, old_inode))
old_inode951fs/ext2/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode956fs/ext2/namei.cif (subdir (new_dir, old_inode))
old_inode958fs/ext2/namei.cdir_bh = ext2_bread (old_inode, 0, 0, &retval);
old_inode977fs/ext2/namei.cif (old_de->inode != old_inode->i_ino)
old_inode980fs/ext2/namei.cnew_de->inode = old_inode->i_ino;
old_inode1027fs/ext2/namei.ciput (old_inode);
old_inode634fs/minix/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode642fs/minix/namei.cif (new_inode == old_inode) {
old_inode646fs/minix/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode674fs/minix/namei.cstruct inode * old_inode, * new_inode;
old_inode686fs/minix/namei.ciput(old_inode);
old_inode691fs/minix/namei.cold_inode = new_inode = NULL;
old_inode697fs/minix/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_inode698fs/minix/namei.cif (!old_inode)
old_inode702fs/minix/namei.ccurrent->euid != old_inode->i_uid &&
old_inode713fs/minix/namei.cif (new_inode == old_inode) {
old_inode719fs/minix/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode722fs/minix/namei.cif (subdir(new_dir, old_inode))
old_inode736fs/minix/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode741fs/minix/namei.cif (subdir(new_dir, old_inode))
old_inode744fs/minix/namei.cdir_bh = minix_bread(old_inode,0,0);
old_inode763fs/minix/namei.cif (old_de->inode != old_inode->i_ino)
old_inode767fs/minix/namei.cnew_de->inode = old_inode->i_ino;
old_inode797fs/minix/namei.ciput(old_inode);
old_inode402fs/msdos/namei.cstruct inode *new_inode,*old_inode;
old_inode439fs/msdos/namei.cif ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) {
old_inode440fs/msdos/namei.cmsdos_read_inode(old_inode);
old_inode441fs/msdos/namei.ciput(old_inode);
old_inode453fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
old_inode475fs/msdos/namei.cif (!(old_inode = iget(old_dir->i_sb,old_ino))) {
old_inode481fs/msdos/namei.ciput(old_inode);
old_inode489fs/msdos/namei.ciput(old_inode);
old_inode498fs/msdos/namei.ciput(old_inode);
old_inode525fs/msdos/namei.cMSDOS_I(old_inode)->i_busy = 1;
old_inode526fs/msdos/namei.ccache_inval_inode(old_inode);
old_inode527fs/msdos/namei.cold_inode->i_dirt = 1;
old_inode539fs/msdos/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode540fs/msdos/namei.cif ((error = msdos_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh,
old_inode542fs/msdos/namei.cif (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) {
old_inode561fs/msdos/namei.ciput(old_inode);
old_inode674fs/xiafs/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode682fs/xiafs/namei.cif (new_inode == old_inode) {
old_inode686fs/xiafs/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode715fs/xiafs/namei.cstruct inode * old_inode, * new_inode;
old_inode721fs/xiafs/namei.cold_inode = new_inode = NULL;
old_inode727fs/xiafs/namei.cold_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */
old_inode728fs/xiafs/namei.cif (!old_inode)
old_inode732fs/xiafs/namei.ccurrent->euid != old_inode->i_uid &&
old_inode743fs/xiafs/namei.cif (new_inode == old_inode) {
old_inode756fs/xiafs/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode761fs/xiafs/namei.cif (!permission(old_inode, MAY_WRITE))
old_inode764fs/xiafs/namei.cif (subdir(new_dir, old_inode))
old_inode767fs/xiafs/namei.cdir_bh = xiafs_bread(old_inode,0,0);
old_inode784fs/xiafs/namei.c|| (old_de->d_ino != old_inode->i_ino)) {
old_inode789fs/xiafs/namei.ciput(old_inode);
old_inode796fs/xiafs/namei.cnew_de->d_ino = old_inode->i_ino;
old_inode816fs/xiafs/namei.ciput(old_inode);