taglinefilesource code
old_inode723fs/ext/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode731fs/ext/namei.cif (new_inode == old_inode) {
old_inode735fs/ext/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode768fs/ext/namei.cstruct inode * old_inode, * new_inode;
old_inode778fs/ext/namei.ciput(old_inode);
old_inode783fs/ext/namei.cold_inode = new_inode = NULL;
old_inode789fs/ext/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_inode790fs/ext/namei.cif (!old_inode)
old_inode794fs/ext/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode805fs/ext/namei.cif (new_inode == old_inode) {
old_inode818fs/ext/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode823fs/ext/namei.cif (!permission(old_inode, MAY_WRITE))
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_inode872fs/ext2/namei.cstatic int subdir (struct inode * new_inode, struct inode * old_inode)
old_inode880fs/ext2/namei.cif (new_inode == old_inode) {
old_inode884fs/ext2/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode919fs/ext2/namei.cstruct inode * old_inode, * new_inode;
old_inode931fs/ext2/namei.ciput (old_inode);
old_inode936fs/ext2/namei.cold_inode = new_inode = NULL;
old_inode943fs/ext2/namei.cold_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_inode944fs/ext2/namei.cif (!old_inode)
old_inode948fs/ext2/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode951fs/ext2/namei.cif (IS_APPEND(old_inode) || IS_IMMUTABLE(old_inode))
old_inode961fs/ext2/namei.cif (new_inode == old_inode) {
old_inode967fs/ext2/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode970fs/ext2/namei.cif (subdir (new_dir, old_inode))
old_inode984fs/ext2/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode989fs/ext2/namei.cif (subdir (new_dir, old_inode))
old_inode991fs/ext2/namei.cdir_bh = ext2_bread (old_inode, 0, 0, &retval);
old_inode1012fs/ext2/namei.cif (old_de->inode != old_inode->i_ino)
old_inode1017fs/ext2/namei.cnew_de->inode = old_inode->i_ino;
old_inode1035fs/ext2/namei.cdcache_add(old_inode, "..", 2, new_dir->i_ino);
old_inode1062fs/ext2/namei.ciput (old_inode);
old_inode635fs/minix/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode643fs/minix/namei.cif (new_inode == old_inode) {
old_inode647fs/minix/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode675fs/minix/namei.cstruct inode * old_inode, * new_inode;
old_inode687fs/minix/namei.ciput(old_inode);
old_inode692fs/minix/namei.cold_inode = new_inode = NULL;
old_inode698fs/minix/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_inode699fs/minix/namei.cif (!old_inode)
old_inode703fs/minix/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode714fs/minix/namei.cif (new_inode == old_inode) {
old_inode720fs/minix/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode723fs/minix/namei.cif (subdir(new_dir, old_inode))
old_inode737fs/minix/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode742fs/minix/namei.cif (subdir(new_dir, old_inode))
old_inode745fs/minix/namei.cdir_bh = minix_bread(old_inode,0,0);
old_inode764fs/minix/namei.cif (old_de->inode != old_inode->i_ino)
old_inode768fs/minix/namei.cnew_de->inode = old_inode->i_ino;
old_inode798fs/minix/namei.ciput(old_inode);
old_inode418fs/msdos/namei.cstruct inode *new_inode,*old_inode;
old_inode455fs/msdos/namei.cif ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) {
old_inode456fs/msdos/namei.cmsdos_read_inode(old_inode);
old_inode457fs/msdos/namei.ciput(old_inode);
old_inode469fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
old_inode491fs/msdos/namei.cif (!(old_inode = iget(old_dir->i_sb,old_ino))) {
old_inode497fs/msdos/namei.ciput(old_inode);
old_inode505fs/msdos/namei.ciput(old_inode);
old_inode514fs/msdos/namei.ciput(old_inode);
old_inode541fs/msdos/namei.cMSDOS_I(old_inode)->i_busy = 1;
old_inode542fs/msdos/namei.ccache_inval_inode(old_inode);
old_inode543fs/msdos/namei.cold_inode->i_dirt = 1;
old_inode555fs/msdos/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode556fs/msdos/namei.cif ((error = msdos_scan(old_inode,MSDOS_DOTDOT,&dotdot_bh,
old_inode558fs/msdos/namei.cif (!(dotdot_inode = iget(old_inode->i_sb,dotdot_ino))) {
old_inode577fs/msdos/namei.ciput(old_inode);
old_inode644fs/sysv/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode652fs/sysv/namei.cif (new_inode == old_inode) {
old_inode656fs/sysv/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode684fs/sysv/namei.cstruct inode * old_inode, * new_inode;
old_inode695fs/sysv/namei.ciput(old_inode);
old_inode700fs/sysv/namei.cold_inode = new_inode = NULL;
old_inode706fs/sysv/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_inode707fs/sysv/namei.cif (!old_inode)
old_inode711fs/sysv/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode722fs/sysv/namei.cif (new_inode == old_inode) {
old_inode728fs/sysv/namei.cif (!S_ISDIR(old_inode->i_mode))
old_inode731fs/sysv/namei.cif (subdir(new_dir, old_inode))
old_inode745fs/sysv/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode750fs/sysv/namei.cif (subdir(new_dir, old_inode))
old_inode753fs/sysv/namei.cdir_bh = sysv_file_bread(old_inode,0,0,&dir_bh_data);
old_inode772fs/sysv/namei.cif (old_de->inode != old_inode->i_ino)
old_inode776fs/sysv/namei.cnew_de->inode = old_inode->i_ino;
old_inode806fs/sysv/namei.ciput(old_inode);
old_inode675fs/xiafs/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
old_inode683fs/xiafs/namei.cif (new_inode == old_inode) {
old_inode687fs/xiafs/namei.cif (new_inode->i_dev != old_inode->i_dev)
old_inode716fs/xiafs/namei.cstruct inode * old_inode, * new_inode;
old_inode722fs/xiafs/namei.cold_inode = new_inode = NULL;
old_inode728fs/xiafs/namei.cold_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */
old_inode729fs/xiafs/namei.cif (!old_inode)
old_inode733fs/xiafs/namei.ccurrent->fsuid != old_inode->i_uid &&
old_inode744fs/xiafs/namei.cif (new_inode == old_inode) {
old_inode757fs/xiafs/namei.cif (S_ISDIR(old_inode->i_mode)) {
old_inode762fs/xiafs/namei.cif (!permission(old_inode, MAY_WRITE))
old_inode765fs/xiafs/namei.cif (subdir(new_dir, old_inode))
old_inode768fs/xiafs/namei.cdir_bh = xiafs_bread(old_inode,0,0);
old_inode785fs/xiafs/namei.c|| (old_de->d_ino != old_inode->i_ino)) {
old_inode790fs/xiafs/namei.ciput(old_inode);
old_inode797fs/xiafs/namei.cnew_de->d_ino = old_inode->i_ino;
old_inode817fs/xiafs/namei.ciput(old_inode);