taglinefilesource code
new_inode724fs/ext/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode729fs/ext/namei.cnew_inode->i_count++;
new_inode732fs/ext/namei.cif (new_inode == old_inode) {
new_inode736fs/ext/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode738fs/ext/namei.cino = new_inode->i_ino;
new_inode739fs/ext/namei.cif (ext_lookup(new_inode,"..",2,&new_inode))
new_inode741fs/ext/namei.cif (new_inode->i_ino == ino)
new_inode744fs/ext/namei.ciput(new_inode);
new_inode769fs/ext/namei.cstruct inode * old_inode, * new_inode;
new_inode780fs/ext/namei.ciput(new_inode);
new_inode784fs/ext/namei.cold_inode = new_inode = NULL;
new_inode800fs/ext/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode,0); /* don't cross mnt-points */
new_inode801fs/ext/namei.cif (!new_inode) {
new_inode806fs/ext/namei.cif (new_inode == old_inode) {
new_inode810fs/ext/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode815fs/ext/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode816fs/ext/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode841fs/ext/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode843fs/ext/namei.cif (new_de->inode && !new_inode)
new_inode852fs/ext/namei.cif (new_inode) {
new_inode853fs/ext/namei.cnew_inode->i_nlink--;
new_inode854fs/ext/namei.cnew_inode->i_dirt = 1;
new_inode872fs/ext/namei.ciput(new_inode);
new_inode886fs/ext2/namei.cstatic int subdir (struct inode * new_inode, struct inode * old_inode)
new_inode891fs/ext2/namei.cnew_inode->i_count++;
new_inode894fs/ext2/namei.cif (new_inode == old_inode) {
new_inode898fs/ext2/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode900fs/ext2/namei.cino = new_inode->i_ino;
new_inode901fs/ext2/namei.cif (ext2_lookup (new_inode, "..", 2, &new_inode))
new_inode903fs/ext2/namei.cif (new_inode->i_ino == ino)
new_inode906fs/ext2/namei.ciput (new_inode);
new_inode933fs/ext2/namei.cstruct inode * old_inode, * new_inode;
new_inode948fs/ext2/namei.ciput (new_inode);
new_inode952fs/ext2/namei.cold_inode = new_inode = NULL;
new_inode971fs/ext2/namei.cnew_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */
new_inode972fs/ext2/namei.cif (!new_inode) {
new_inode976fs/ext2/namei.cif (new_inode->i_sb->dq_op)
new_inode977fs/ext2/namei.cnew_inode->i_sb->dq_op->initialize (new_inode, -1);
new_inode980fs/ext2/namei.cif (new_inode == old_inode) {
new_inode984fs/ext2/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode992fs/ext2/namei.cif (!empty_dir (new_inode))
new_inode995fs/ext2/namei.cif (new_inode->i_count > 1)
new_inode999fs/ext2/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) &&
new_inode1000fs/ext2/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode1005fs/ext2/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode1016fs/ext2/namei.cif (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX)
new_inode1028fs/ext2/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode1030fs/ext2/namei.cif (new_de->inode && !new_inode)
new_inode1045fs/ext2/namei.cif (new_inode) {
new_inode1046fs/ext2/namei.cnew_inode->i_nlink--;
new_inode1047fs/ext2/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode1048fs/ext2/namei.cnew_inode->i_dirt = 1;
new_inode1058fs/ext2/namei.cif (new_inode) {
new_inode1059fs/ext2/namei.cnew_inode->i_nlink--;
new_inode1060fs/ext2/namei.cnew_inode->i_dirt = 1;
new_inode1082fs/ext2/namei.ciput (new_inode);
new_inode637fs/minix/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode642fs/minix/namei.cnew_inode->i_count++;
new_inode645fs/minix/namei.cif (new_inode == old_inode) {
new_inode649fs/minix/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode651fs/minix/namei.cino = new_inode->i_ino;
new_inode652fs/minix/namei.cif (minix_lookup(new_inode,"..",2,&new_inode))
new_inode654fs/minix/namei.cif (new_inode->i_ino == ino)
new_inode657fs/minix/namei.ciput(new_inode);
new_inode677fs/minix/namei.cstruct inode * old_inode, * new_inode;
new_inode690fs/minix/namei.ciput(new_inode);
new_inode694fs/minix/namei.cold_inode = new_inode = NULL;
new_inode710fs/minix/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode, 0);
new_inode711fs/minix/namei.cif (!new_inode) {
new_inode716fs/minix/namei.cif (new_inode == old_inode) {
new_inode720fs/minix/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode728fs/minix/namei.cif (!empty_dir(new_inode))
new_inode731fs/minix/namei.cif (new_inode->i_count > 1)
new_inode735fs/minix/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode736fs/minix/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode741fs/minix/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode753fs/minix/namei.cif (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX)
new_inode762fs/minix/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode764fs/minix/namei.cif (new_de->inode && !new_inode)
new_inode777fs/minix/namei.cif (new_inode) {
new_inode778fs/minix/namei.cnew_inode->i_nlink--;
new_inode779fs/minix/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode780fs/minix/namei.cnew_inode->i_dirt = 1;
new_inode789fs/minix/namei.cif (new_inode) {
new_inode790fs/minix/namei.cnew_inode->i_nlink--;
new_inode791fs/minix/namei.cnew_inode->i_dirt = 1;
new_inode803fs/minix/namei.ciput(new_inode);
new_inode492fs/msdos/namei.cstruct inode *new_inode,*old_inode;
new_inode502fs/msdos/namei.cif (!(new_inode = iget(new_dir->i_sb,new_ino))) {
new_inode506fs/msdos/namei.cerror = S_ISDIR(new_inode->i_mode)
new_inode508fs/msdos/namei.c? msdos_empty(new_inode)
new_inode515fs/msdos/namei.ciput(new_inode);
new_inode519fs/msdos/namei.cif (S_ISDIR(new_inode->i_mode)) {
new_inode523fs/msdos/namei.cnew_inode->i_nlink = 0;
new_inode524fs/msdos/namei.cMSDOS_I(new_inode)->i_busy = 1;
new_inode525fs/msdos/namei.cnew_inode->i_dirt = 1;
new_inode528fs/msdos/namei.ciput(new_inode);
new_inode556fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
new_inode591fs/msdos/namei.cnew_inode = NULL; /* to make GCC happy */
new_inode593fs/msdos/namei.cif (!(new_inode = iget(new_dir->i_sb,new_ino))) {
new_inode598fs/msdos/namei.cerror = S_ISDIR(new_inode->i_mode)
new_inode600fs/msdos/namei.c? msdos_empty(new_inode)
new_inode607fs/msdos/namei.ciput(new_inode);
new_inode612fs/msdos/namei.cnew_inode->i_nlink = 0;
new_inode613fs/msdos/namei.cMSDOS_I(new_inode)->i_busy = 1;
new_inode614fs/msdos/namei.cnew_inode->i_dirt = 1;
new_inode628fs/msdos/namei.ciput(new_inode);
new_inode633fs/msdos/namei.cif (exists && S_ISDIR(new_inode->i_mode)) {
new_inode646fs/msdos/namei.cMSDOS_I(new_inode)->i_depend = free_inode;
new_inode647fs/msdos/namei.cMSDOS_I(free_inode)->i_old = new_inode;
new_inode649fs/msdos/namei.ciput(new_inode);
new_inode68fs/proc/link.cstruct inode * new_inode;
new_inode90fs/proc/link.cnew_inode = NULL;
new_inode95fs/proc/link.cnew_inode = p->fs->pwd;
new_inode100fs/proc/link.cnew_inode = p->fs->root;
new_inode109fs/proc/link.cnew_inode = vma->vm_inode;
new_inode123fs/proc/link.cnew_inode = p->files->fd[ino]->f_inode;
new_inode129fs/proc/link.cif (!new_inode)
new_inode131fs/proc/link.c*res_inode = new_inode;
new_inode132fs/proc/link.cnew_inode->i_count++;
new_inode633fs/sysv/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode638fs/sysv/namei.cnew_inode->i_count++;
new_inode641fs/sysv/namei.cif (new_inode == old_inode) {
new_inode645fs/sysv/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode647fs/sysv/namei.cino = new_inode->i_ino;
new_inode648fs/sysv/namei.cif (sysv_lookup(new_inode,"..",2,&new_inode))
new_inode650fs/sysv/namei.cif (new_inode->i_ino == ino) /* root dir reached ? */
new_inode653fs/sysv/namei.ciput(new_inode);
new_inode673fs/sysv/namei.cstruct inode * old_inode, * new_inode;
new_inode684fs/sysv/namei.ciput(new_inode);
new_inode688fs/sysv/namei.cold_inode = new_inode = NULL;
new_inode704fs/sysv/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode, 0);
new_inode705fs/sysv/namei.cif (!new_inode) {
new_inode710fs/sysv/namei.cif (new_inode == old_inode) {
new_inode714fs/sysv/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode722fs/sysv/namei.cif (!empty_dir(new_inode))
new_inode725fs/sysv/namei.cif (new_inode->i_count > 1)
new_inode729fs/sysv/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode730fs/sysv/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode735fs/sysv/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode747fs/sysv/namei.cif (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max)
new_inode756fs/sysv/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode758fs/sysv/namei.cif (new_de->inode && !new_inode)
new_inode769fs/sysv/namei.cif (new_inode) {
new_inode770fs/sysv/namei.cnew_inode->i_nlink--;
new_inode771fs/sysv/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode772fs/sysv/namei.cnew_inode->i_dirt = 1;
new_inode781fs/sysv/namei.cif (new_inode) {
new_inode782fs/sysv/namei.cnew_inode->i_nlink--;
new_inode783fs/sysv/namei.cnew_inode->i_dirt = 1;
new_inode795fs/sysv/namei.ciput(new_inode);
new_inode677fs/xiafs/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode682fs/xiafs/namei.cnew_inode->i_count++;
new_inode685fs/xiafs/namei.cif (new_inode == old_inode) {
new_inode689fs/xiafs/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode691fs/xiafs/namei.cino = new_inode->i_ino;
new_inode692fs/xiafs/namei.cif (xiafs_lookup(new_inode,"..",2,&new_inode))
new_inode694fs/xiafs/namei.cif (new_inode->i_ino == ino)
new_inode697fs/xiafs/namei.ciput(new_inode);
new_inode718fs/xiafs/namei.cstruct inode * old_inode, * new_inode;
new_inode724fs/xiafs/namei.cold_inode = new_inode = NULL;
new_inode740fs/xiafs/namei.cnew_inode = __iget(new_dir->i_sb, new_de->d_ino, 0);
new_inode741fs/xiafs/namei.cif (!new_inode) {
new_inode746fs/xiafs/namei.cif (new_inode == old_inode) {
new_inode750fs/xiafs/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode755fs/xiafs/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode756fs/xiafs/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode784fs/xiafs/namei.cif ( (new_inode && (new_de->d_ino != new_inode->i_ino))
new_inode785fs/xiafs/namei.c|| (new_de->d_ino && !new_inode)
new_inode792fs/xiafs/namei.ciput(new_inode);
new_inode799fs/xiafs/namei.cif (new_inode) {
new_inode800fs/xiafs/namei.cnew_inode->i_nlink--;
new_inode801fs/xiafs/namei.cnew_inode->i_dirt = 1;
new_inode819fs/xiafs/namei.ciput(new_inode);