taglinefilesource code
old_inode724fs/ext/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode732fs/ext/namei.cif (new_inode == old_inode) {
old_inode736fs/ext/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode769fs/ext/namei.cstruct inode * old_inode, * new_inode;
old_inode779fs/ext/namei.ciput(old_inode);
old_inode784fs/ext/namei.cold_inode = new_inode = NULL;
old_inode790fs/ext/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_inode791fs/ext/namei.cif (!old_inode)
old_inode795fs/ext/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode806fs/ext/namei.cif (new_inode == old_inode) {
old_inode819fs/ext/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode823fs/ext/namei.cif ((retval = permission(old_inode, MAY_WRITE)) != 0)
old_inode826fs/ext/namei.cif (subdir(new_dir, old_inode))
old_inode829fs/ext/namei.cdir_bh = ext_bread(old_inode,0,0);
old_inode845fs/ext/namei.cif (old_de->inode != old_inode->i_ino)
old_inode850fs/ext/namei.cnew_de->inode = old_inode->i_ino;
old_inode871fs/ext/namei.ciput(old_inode);
old_inode886fs/ext2/namei.cstatic int subdir (struct inode * new_inode, struct inode * old_inode)
old_inode894fs/ext2/namei.cif (new_inode == old_inode) {
old_inode898fs/ext2/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode933fs/ext2/namei.cstruct inode * old_inode, * new_inode;
old_inode947fs/ext2/namei.ciput (old_inode);
old_inode952fs/ext2/namei.cold_inode = new_inode = NULL;
old_inode959fs/ext2/namei.cold_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_inode960fs/ext2/namei.cif (!old_inode)
old_inode964fs/ext2/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode967fs/ext2/namei.cif (IS_APPEND(old_inode) || IS_IMMUTABLE(old_inode))
old_inode980fs/ext2/namei.cif (new_inode == old_inode) {
old_inode986fs/ext2/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode989fs/ext2/namei.cif (subdir (new_dir, old_inode))
old_inode1003fs/ext2/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode1008fs/ext2/namei.cif (subdir (new_dir, old_inode))
old_inode1010fs/ext2/namei.cdir_bh = ext2_bread (old_inode, 0, 0, &retval);
old_inode1032fs/ext2/namei.cif (old_de->inode != old_inode->i_ino)
old_inode1037fs/ext2/namei.cnew_de->inode = old_inode->i_ino;
old_inode1054fs/ext2/namei.cdcache_add(old_inode, "..", 2, new_dir->i_ino);
old_inode1081fs/ext2/namei.ciput (old_inode);
old_inode637fs/minix/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode645fs/minix/namei.cif (new_inode == old_inode) {
old_inode649fs/minix/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode677fs/minix/namei.cstruct inode * old_inode, * new_inode;
old_inode689fs/minix/namei.ciput(old_inode);
old_inode694fs/minix/namei.cold_inode = new_inode = NULL;
old_inode700fs/minix/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_inode701fs/minix/namei.cif (!old_inode)
old_inode705fs/minix/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode716fs/minix/namei.cif (new_inode == old_inode) {
old_inode722fs/minix/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode725fs/minix/namei.cif (subdir(new_dir, old_inode))
old_inode739fs/minix/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode744fs/minix/namei.cif (subdir(new_dir, old_inode))
old_inode747fs/minix/namei.cdir_bh = minix_bread(old_inode,0,0);
old_inode766fs/minix/namei.cif (old_de->inode != old_inode->i_ino)
old_inode770fs/minix/namei.cnew_de->inode = old_inode->i_ino;
old_inode802fs/minix/namei.ciput(old_inode);
old_inode543fs/msdos/namei.cstruct inode *new_inode,*old_inode;
old_inode590fs/msdos/namei.cif ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) {
old_inode591fs/msdos/namei.cmsdos_read_inode(old_inode);
old_inode592fs/msdos/namei.cMSDOS_I(old_inode)->i_attrs = is_hid
old_inode593fs/msdos/namei.c? (MSDOS_I(old_inode)->i_attrs |  ATTR_HIDDEN)
old_inode594fs/msdos/namei.c: (MSDOS_I(old_inode)->i_attrs &~ ATTR_HIDDEN);
old_inode595fs/msdos/namei.ciput(old_inode);
old_inode609fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
old_inode633fs/msdos/namei.cif (!(old_inode = iget(old_dir->i_sb,old_ino))) {
old_inode639fs/msdos/namei.ciput(old_inode);
old_inode647fs/msdos/namei.ciput(old_inode);
old_inode661fs/msdos/namei.ciput(old_inode);
old_inode691fs/msdos/namei.cMSDOS_I(old_inode)->i_busy = 1;
old_inode692fs/msdos/namei.cfat_cache_inval_inode(old_inode);
old_inode693fs/msdos/namei.cold_inode->i_dirt = 1;
old_inode706fs/msdos/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode707fs/msdos/namei.cif ((error = fat_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh,
old_inode709fs/msdos/namei.cif (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) {
old_inode728fs/msdos/namei.ciput(old_inode);
old_inode633fs/sysv/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode641fs/sysv/namei.cif (new_inode == old_inode) {
old_inode645fs/sysv/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode673fs/sysv/namei.cstruct inode * old_inode, * new_inode;
old_inode683fs/sysv/namei.ciput(old_inode);
old_inode688fs/sysv/namei.cold_inode = new_inode = NULL;
old_inode694fs/sysv/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_inode695fs/sysv/namei.cif (!old_inode)
old_inode699fs/sysv/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode710fs/sysv/namei.cif (new_inode == old_inode) {
old_inode716fs/sysv/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode719fs/sysv/namei.cif (subdir(new_dir, old_inode))
old_inode733fs/sysv/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode738fs/sysv/namei.cif (subdir(new_dir, old_inode))
old_inode741fs/sysv/namei.cdir_bh = sysv_file_bread(old_inode,0,0);
old_inode760fs/sysv/namei.cif (old_de->inode != old_inode->i_ino)
old_inode764fs/sysv/namei.cnew_de->inode = old_inode->i_ino;
old_inode794fs/sysv/namei.ciput(old_inode);
old_inode1344fs/vfat/namei.cstruct inode *old_inode, *new_inode, *dotdot_inode, *walk;
old_inode1355fs/vfat/namei.cold_inode = new_inode = NULL;
old_inode1368fs/vfat/namei.cif (!(old_inode = iget(old_dir->i_sb,old_ino))) goto rename_done;
old_inode1369fs/vfat/namei.cis_dir = S_ISDIR(old_inode->i_mode);
old_inode1459fs/vfat/namei.cMSDOS_I(old_inode)->i_busy = 1;
old_inode1460fs/vfat/namei.cfat_cache_inval_inode(old_inode);
old_inode1462fs/vfat/namei.cold_inode->i_dirt = 1;
old_inode1487fs/vfat/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode1488fs/vfat/namei.cif ((res = fat_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh,
old_inode1490fs/vfat/namei.cif (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) {
old_inode1513fs/vfat/namei.cif (old_inode) iput(old_inode);
old_inode677fs/xiafs/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode685fs/xiafs/namei.cif (new_inode == old_inode) {
old_inode689fs/xiafs/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode718fs/xiafs/namei.cstruct inode * old_inode, * new_inode;
old_inode724fs/xiafs/namei.cold_inode = new_inode = NULL;
old_inode730fs/xiafs/namei.cold_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */
old_inode731fs/xiafs/namei.cif (!old_inode)
old_inode735fs/xiafs/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode746fs/xiafs/namei.cif (new_inode == old_inode) {
old_inode759fs/xiafs/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode763fs/xiafs/namei.cif ((retval = permission(old_inode, MAY_WRITE)) != 0)
old_inode766fs/xiafs/namei.cif (subdir(new_dir, old_inode))
old_inode769fs/xiafs/namei.cdir_bh = xiafs_bread(old_inode,0,0);
old_inode786fs/xiafs/namei.c|| (old_de->d_ino != old_inode->i_ino)) {
old_inode791fs/xiafs/namei.ciput(old_inode);
old_inode798fs/xiafs/namei.cnew_de->d_ino = old_inode->i_ino;
old_inode818fs/xiafs/namei.ciput(old_inode);