taglinefilesource code
new_inode715fs/ext/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode720fs/ext/namei.cnew_inode->i_count++;
new_inode723fs/ext/namei.cif (new_inode == old_inode) {
new_inode727fs/ext/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode729fs/ext/namei.cino = new_inode->i_ino;
new_inode730fs/ext/namei.cif (ext_lookup(new_inode,"..",2,&new_inode))
new_inode732fs/ext/namei.cif (new_inode->i_ino == ino)
new_inode735fs/ext/namei.ciput(new_inode);
new_inode760fs/ext/namei.cstruct inode * old_inode, * new_inode;
new_inode771fs/ext/namei.ciput(new_inode);
new_inode775fs/ext/namei.cold_inode = new_inode = NULL;
new_inode791fs/ext/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode,0); /* don't cross mnt-points */
new_inode792fs/ext/namei.cif (!new_inode) {
new_inode797fs/ext/namei.cif (new_inode == old_inode) {
new_inode801fs/ext/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode806fs/ext/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode807fs/ext/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode832fs/ext/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode834fs/ext/namei.cif (new_de->inode && !new_inode)
new_inode843fs/ext/namei.cif (new_inode) {
new_inode844fs/ext/namei.cnew_inode->i_nlink--;
new_inode845fs/ext/namei.cnew_inode->i_dirt = 1;
new_inode863fs/ext/namei.ciput(new_inode);
new_inode881fs/ext2/namei.cstatic int subdir (struct inode * new_inode, struct inode * old_inode)
new_inode886fs/ext2/namei.cnew_inode->i_count++;
new_inode889fs/ext2/namei.cif (new_inode == old_inode) {
new_inode893fs/ext2/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode895fs/ext2/namei.cino = new_inode->i_ino;
new_inode896fs/ext2/namei.cif (ext2_lookup (new_inode, "..", 2, &new_inode))
new_inode898fs/ext2/namei.cif (new_inode->i_ino == ino)
new_inode901fs/ext2/namei.ciput (new_inode);
new_inode928fs/ext2/namei.cstruct inode * old_inode, * new_inode;
new_inode943fs/ext2/namei.ciput (new_inode);
new_inode947fs/ext2/namei.cold_inode = new_inode = NULL;
new_inode966fs/ext2/namei.cnew_inode = __iget (new_dir->i_sb, new_de->inode, 0); /* no mntp cross */
new_inode967fs/ext2/namei.cif (!new_inode) {
new_inode972fs/ext2/namei.cif (new_inode == old_inode) {
new_inode976fs/ext2/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode984fs/ext2/namei.cif (!empty_dir (new_inode))
new_inode987fs/ext2/namei.cif (new_inode->i_count > 1)
new_inode991fs/ext2/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) &&
new_inode992fs/ext2/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode997fs/ext2/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode1008fs/ext2/namei.cif (!new_inode && new_dir->i_nlink >= EXT2_LINK_MAX)
new_inode1020fs/ext2/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode1022fs/ext2/namei.cif (new_de->inode && !new_inode)
new_inode1037fs/ext2/namei.cif (new_inode) {
new_inode1038fs/ext2/namei.cnew_inode->i_nlink--;
new_inode1039fs/ext2/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode1040fs/ext2/namei.cnew_inode->i_dirt = 1;
new_inode1050fs/ext2/namei.cif (new_inode) {
new_inode1051fs/ext2/namei.cnew_inode->i_nlink--;
new_inode1052fs/ext2/namei.cnew_inode->i_dirt = 1;
new_inode1074fs/ext2/namei.ciput (new_inode);
new_inode639fs/minix/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode644fs/minix/namei.cnew_inode->i_count++;
new_inode647fs/minix/namei.cif (new_inode == old_inode) {
new_inode651fs/minix/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode653fs/minix/namei.cino = new_inode->i_ino;
new_inode654fs/minix/namei.cif (minix_lookup(new_inode,"..",2,&new_inode))
new_inode656fs/minix/namei.cif (new_inode->i_ino == ino)
new_inode659fs/minix/namei.ciput(new_inode);
new_inode679fs/minix/namei.cstruct inode * old_inode, * new_inode;
new_inode692fs/minix/namei.ciput(new_inode);
new_inode696fs/minix/namei.cold_inode = new_inode = NULL;
new_inode712fs/minix/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode, 0);
new_inode713fs/minix/namei.cif (!new_inode) {
new_inode718fs/minix/namei.cif (new_inode == old_inode) {
new_inode722fs/minix/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode730fs/minix/namei.cif (!empty_dir(new_inode))
new_inode733fs/minix/namei.cif (new_inode->i_count > 1)
new_inode737fs/minix/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode738fs/minix/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode743fs/minix/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode755fs/minix/namei.cif (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX)
new_inode764fs/minix/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode766fs/minix/namei.cif (new_de->inode && !new_inode)
new_inode779fs/minix/namei.cif (new_inode) {
new_inode780fs/minix/namei.cnew_inode->i_nlink--;
new_inode781fs/minix/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode782fs/minix/namei.cnew_inode->i_dirt = 1;
new_inode791fs/minix/namei.cif (new_inode) {
new_inode792fs/minix/namei.cnew_inode->i_nlink--;
new_inode793fs/minix/namei.cnew_inode->i_dirt = 1;
new_inode805fs/minix/namei.ciput(new_inode);
new_inode446fs/msdos/namei.cstruct inode *new_inode,*old_inode;
new_inode456fs/msdos/namei.cif (!(new_inode = iget(new_dir->i_sb,new_ino))) {
new_inode460fs/msdos/namei.cerror = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ?
new_inode461fs/msdos/namei.cmsdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR)
new_inode464fs/msdos/namei.ciput(new_inode);
new_inode468fs/msdos/namei.cif (S_ISDIR(new_inode->i_mode)) {
new_inode472fs/msdos/namei.cnew_inode->i_nlink = 0;
new_inode473fs/msdos/namei.cMSDOS_I(new_inode)->i_busy = 1;
new_inode474fs/msdos/namei.cnew_inode->i_dirt = 1;
new_inode477fs/msdos/namei.ciput(new_inode);
new_inode498fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
new_inode531fs/msdos/namei.cnew_inode = NULL; /* to make GCC happy */
new_inode533fs/msdos/namei.cif (!(new_inode = iget(new_dir->i_sb,new_ino))) {
new_inode538fs/msdos/namei.cerror = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ?
new_inode539fs/msdos/namei.cmsdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR)
new_inode542fs/msdos/namei.ciput(new_inode);
new_inode547fs/msdos/namei.cnew_inode->i_nlink = 0;
new_inode548fs/msdos/namei.cMSDOS_I(new_inode)->i_busy = 1;
new_inode549fs/msdos/namei.cnew_inode->i_dirt = 1;
new_inode560fs/msdos/namei.ciput(new_inode);
new_inode565fs/msdos/namei.cif (exists && S_ISDIR(new_inode->i_mode)) {
new_inode578fs/msdos/namei.cMSDOS_I(new_inode)->i_depend = free_inode;
new_inode579fs/msdos/namei.cMSDOS_I(free_inode)->i_old = new_inode;
new_inode581fs/msdos/namei.ciput(new_inode);
new_inode106fs/proc/link.cstruct inode * new_inode;
new_inode128fs/proc/link.cnew_inode = NULL;
new_inode131fs/proc/link.cnew_inode = p->fs->pwd;
new_inode134fs/proc/link.cnew_inode = p->fs->root;
new_inode140fs/proc/link.cnew_inode = vma->vm_inode;
new_inode158fs/proc/link.cnew_inode = p->files->fd[ino]->f_inode;
new_inode164fs/proc/link.cif (!new_inode)
new_inode166fs/proc/link.c*res_inode = new_inode;
new_inode167fs/proc/link.cnew_inode->i_count++;
new_inode635fs/sysv/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode640fs/sysv/namei.cnew_inode->i_count++;
new_inode643fs/sysv/namei.cif (new_inode == old_inode) {
new_inode647fs/sysv/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode649fs/sysv/namei.cino = new_inode->i_ino;
new_inode650fs/sysv/namei.cif (sysv_lookup(new_inode,"..",2,&new_inode))
new_inode652fs/sysv/namei.cif (new_inode->i_ino == ino) /* root dir reached ? */
new_inode655fs/sysv/namei.ciput(new_inode);
new_inode675fs/sysv/namei.cstruct inode * old_inode, * new_inode;
new_inode686fs/sysv/namei.ciput(new_inode);
new_inode690fs/sysv/namei.cold_inode = new_inode = NULL;
new_inode706fs/sysv/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode, 0);
new_inode707fs/sysv/namei.cif (!new_inode) {
new_inode712fs/sysv/namei.cif (new_inode == old_inode) {
new_inode716fs/sysv/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode724fs/sysv/namei.cif (!empty_dir(new_inode))
new_inode727fs/sysv/namei.cif (new_inode->i_count > 1)
new_inode731fs/sysv/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode732fs/sysv/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode737fs/sysv/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode749fs/sysv/namei.cif (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max)
new_inode758fs/sysv/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode760fs/sysv/namei.cif (new_de->inode && !new_inode)
new_inode771fs/sysv/namei.cif (new_inode) {
new_inode772fs/sysv/namei.cnew_inode->i_nlink--;
new_inode773fs/sysv/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode774fs/sysv/namei.cnew_inode->i_dirt = 1;
new_inode783fs/sysv/namei.cif (new_inode) {
new_inode784fs/sysv/namei.cnew_inode->i_nlink--;
new_inode785fs/sysv/namei.cnew_inode->i_dirt = 1;
new_inode797fs/sysv/namei.ciput(new_inode);
new_inode680fs/xiafs/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode685fs/xiafs/namei.cnew_inode->i_count++;
new_inode688fs/xiafs/namei.cif (new_inode == old_inode) {
new_inode692fs/xiafs/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode694fs/xiafs/namei.cino = new_inode->i_ino;
new_inode695fs/xiafs/namei.cif (xiafs_lookup(new_inode,"..",2,&new_inode))
new_inode697fs/xiafs/namei.cif (new_inode->i_ino == ino)
new_inode700fs/xiafs/namei.ciput(new_inode);
new_inode721fs/xiafs/namei.cstruct inode * old_inode, * new_inode;
new_inode727fs/xiafs/namei.cold_inode = new_inode = NULL;
new_inode743fs/xiafs/namei.cnew_inode = __iget(new_dir->i_sb, new_de->d_ino, 0);
new_inode744fs/xiafs/namei.cif (!new_inode) {
new_inode749fs/xiafs/namei.cif (new_inode == old_inode) {
new_inode753fs/xiafs/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode758fs/xiafs/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode759fs/xiafs/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode787fs/xiafs/namei.cif ( (new_inode && (new_de->d_ino != new_inode->i_ino))
new_inode788fs/xiafs/namei.c|| (new_de->d_ino && !new_inode)
new_inode795fs/xiafs/namei.ciput(new_inode);
new_inode802fs/xiafs/namei.cif (new_inode) {
new_inode803fs/xiafs/namei.cnew_inode->i_nlink--;
new_inode804fs/xiafs/namei.cnew_inode->i_dirt = 1;
new_inode822fs/xiafs/namei.ciput(new_inode);