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_inode881fs/ext2/namei.cstatic int subdir (struct inode * new_inode, struct inode * old_inode)
old_inode889fs/ext2/namei.cif (new_inode == old_inode) {
old_inode893fs/ext2/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode928fs/ext2/namei.cstruct inode * old_inode, * new_inode;
old_inode942fs/ext2/namei.ciput (old_inode);
old_inode947fs/ext2/namei.cold_inode = new_inode = NULL;
old_inode954fs/ext2/namei.cold_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_inode955fs/ext2/namei.cif (!old_inode)
old_inode959fs/ext2/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode962fs/ext2/namei.cif (IS_APPEND(old_inode) || IS_IMMUTABLE(old_inode))
old_inode972fs/ext2/namei.cif (new_inode == old_inode) {
old_inode978fs/ext2/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode981fs/ext2/namei.cif (subdir (new_dir, old_inode))
old_inode995fs/ext2/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode1000fs/ext2/namei.cif (subdir (new_dir, old_inode))
old_inode1002fs/ext2/namei.cdir_bh = ext2_bread (old_inode, 0, 0, &retval);
old_inode1024fs/ext2/namei.cif (old_de->inode != old_inode->i_ino)
old_inode1029fs/ext2/namei.cnew_de->inode = old_inode->i_ino;
old_inode1046fs/ext2/namei.cdcache_add(old_inode, "..", 2, new_dir->i_ino);
old_inode1073fs/ext2/namei.ciput (old_inode);
old_inode641fs/minix/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode649fs/minix/namei.cif (new_inode == old_inode) {
old_inode653fs/minix/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode681fs/minix/namei.cstruct inode * old_inode, * new_inode;
old_inode693fs/minix/namei.ciput(old_inode);
old_inode698fs/minix/namei.cold_inode = new_inode = NULL;
old_inode704fs/minix/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_inode705fs/minix/namei.cif (!old_inode)
old_inode709fs/minix/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode720fs/minix/namei.cif (new_inode == old_inode) {
old_inode726fs/minix/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode729fs/minix/namei.cif (subdir(new_dir, old_inode))
old_inode743fs/minix/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode748fs/minix/namei.cif (subdir(new_dir, old_inode))
old_inode751fs/minix/namei.cdir_bh = minix_bread(old_inode,0,0);
old_inode770fs/minix/namei.cif (old_de->inode != old_inode->i_ino)
old_inode774fs/minix/namei.cnew_de->inode = old_inode->i_ino;
old_inode806fs/minix/namei.ciput(old_inode);
old_inode447fs/msdos/namei.cstruct inode *new_inode,*old_inode;
old_inode484fs/msdos/namei.cif ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) {
old_inode485fs/msdos/namei.cmsdos_read_inode(old_inode);
old_inode486fs/msdos/namei.ciput(old_inode);
old_inode499fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
old_inode521fs/msdos/namei.cif (!(old_inode = iget(old_dir->i_sb,old_ino))) {
old_inode527fs/msdos/namei.ciput(old_inode);
old_inode535fs/msdos/namei.ciput(old_inode);
old_inode544fs/msdos/namei.ciput(old_inode);
old_inode571fs/msdos/namei.cMSDOS_I(old_inode)->i_busy = 1;
old_inode572fs/msdos/namei.ccache_inval_inode(old_inode);
old_inode573fs/msdos/namei.cold_inode->i_dirt = 1;
old_inode585fs/msdos/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode586fs/msdos/namei.cif ((error = msdos_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh,
old_inode588fs/msdos/namei.cif (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) {
old_inode607fs/msdos/namei.ciput(old_inode);
old_inode637fs/sysv/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode645fs/sysv/namei.cif (new_inode == old_inode) {
old_inode649fs/sysv/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode677fs/sysv/namei.cstruct inode * old_inode, * new_inode;
old_inode687fs/sysv/namei.ciput(old_inode);
old_inode692fs/sysv/namei.cold_inode = new_inode = NULL;
old_inode698fs/sysv/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_inode699fs/sysv/namei.cif (!old_inode)
old_inode703fs/sysv/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode714fs/sysv/namei.cif (new_inode == old_inode) {
old_inode720fs/sysv/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode723fs/sysv/namei.cif (subdir(new_dir, old_inode))
old_inode737fs/sysv/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode742fs/sysv/namei.cif (subdir(new_dir, old_inode))
old_inode745fs/sysv/namei.cdir_bh = sysv_file_bread(old_inode,0,0);
old_inode764fs/sysv/namei.cif (old_de->inode != old_inode->i_ino)
old_inode768fs/sysv/namei.cnew_de->inode = old_inode->i_ino;
old_inode798fs/sysv/namei.ciput(old_inode);
old_inode680fs/xiafs/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode688fs/xiafs/namei.cif (new_inode == old_inode) {
old_inode692fs/xiafs/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode721fs/xiafs/namei.cstruct inode * old_inode, * new_inode;
old_inode727fs/xiafs/namei.cold_inode = new_inode = NULL;
old_inode733fs/xiafs/namei.cold_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */
old_inode734fs/xiafs/namei.cif (!old_inode)
old_inode738fs/xiafs/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode749fs/xiafs/namei.cif (new_inode == old_inode) {
old_inode762fs/xiafs/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode766fs/xiafs/namei.cif ((retval = permission(old_inode, MAY_WRITE)) != 0)
old_inode769fs/xiafs/namei.cif (subdir(new_dir, old_inode))
old_inode772fs/xiafs/namei.cdir_bh = xiafs_bread(old_inode,0,0);
old_inode789fs/xiafs/namei.c|| (old_de->d_ino != old_inode->i_ino)) {
old_inode794fs/xiafs/namei.ciput(old_inode);
old_inode801fs/xiafs/namei.cnew_de->d_ino = old_inode->i_ino;
old_inode821fs/xiafs/namei.ciput(old_inode);