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_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_inode641fs/minix/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode646fs/minix/namei.cnew_inode->i_count++;
new_inode649fs/minix/namei.cif (new_inode == old_inode) {
new_inode653fs/minix/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode655fs/minix/namei.cino = new_inode->i_ino;
new_inode656fs/minix/namei.cif (minix_lookup(new_inode,"..",2,&new_inode))
new_inode658fs/minix/namei.cif (new_inode->i_ino == ino)
new_inode661fs/minix/namei.ciput(new_inode);
new_inode681fs/minix/namei.cstruct inode * old_inode, * new_inode;
new_inode694fs/minix/namei.ciput(new_inode);
new_inode698fs/minix/namei.cold_inode = new_inode = NULL;
new_inode714fs/minix/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode, 0);
new_inode715fs/minix/namei.cif (!new_inode) {
new_inode720fs/minix/namei.cif (new_inode == old_inode) {
new_inode724fs/minix/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode732fs/minix/namei.cif (!empty_dir(new_inode))
new_inode735fs/minix/namei.cif (new_inode->i_count > 1)
new_inode739fs/minix/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode740fs/minix/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode745fs/minix/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode757fs/minix/namei.cif (!new_inode && new_dir->i_nlink >= MINIX_LINK_MAX)
new_inode766fs/minix/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode768fs/minix/namei.cif (new_de->inode && !new_inode)
new_inode781fs/minix/namei.cif (new_inode) {
new_inode782fs/minix/namei.cnew_inode->i_nlink--;
new_inode783fs/minix/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode784fs/minix/namei.cnew_inode->i_dirt = 1;
new_inode793fs/minix/namei.cif (new_inode) {
new_inode794fs/minix/namei.cnew_inode->i_nlink--;
new_inode795fs/minix/namei.cnew_inode->i_dirt = 1;
new_inode807fs/minix/namei.ciput(new_inode);
new_inode447fs/msdos/namei.cstruct inode *new_inode,*old_inode;
new_inode457fs/msdos/namei.cif (!(new_inode = iget(new_dir->i_sb,new_ino))) {
new_inode461fs/msdos/namei.cerror = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ?
new_inode462fs/msdos/namei.cmsdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR)
new_inode465fs/msdos/namei.ciput(new_inode);
new_inode469fs/msdos/namei.cif (S_ISDIR(new_inode->i_mode)) {
new_inode473fs/msdos/namei.cnew_inode->i_nlink = 0;
new_inode474fs/msdos/namei.cMSDOS_I(new_inode)->i_busy = 1;
new_inode475fs/msdos/namei.cnew_inode->i_dirt = 1;
new_inode478fs/msdos/namei.ciput(new_inode);
new_inode499fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
new_inode532fs/msdos/namei.cnew_inode = NULL; /* to make GCC happy */
new_inode534fs/msdos/namei.cif (!(new_inode = iget(new_dir->i_sb,new_ino))) {
new_inode539fs/msdos/namei.cerror = S_ISDIR(new_inode->i_mode) ? (old_de->attr & ATTR_DIR) ?
new_inode540fs/msdos/namei.cmsdos_empty(new_inode) : -EPERM : (old_de->attr & ATTR_DIR)
new_inode543fs/msdos/namei.ciput(new_inode);
new_inode548fs/msdos/namei.cnew_inode->i_nlink = 0;
new_inode549fs/msdos/namei.cMSDOS_I(new_inode)->i_busy = 1;
new_inode550fs/msdos/namei.cnew_inode->i_dirt = 1;
new_inode561fs/msdos/namei.ciput(new_inode);
new_inode566fs/msdos/namei.cif (exists && S_ISDIR(new_inode->i_mode)) {
new_inode579fs/msdos/namei.cMSDOS_I(new_inode)->i_depend = free_inode;
new_inode580fs/msdos/namei.cMSDOS_I(free_inode)->i_old = new_inode;
new_inode582fs/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_inode637fs/sysv/namei.cstatic int subdir(struct inode * new_inode, struct inode * old_inode)
new_inode642fs/sysv/namei.cnew_inode->i_count++;
new_inode645fs/sysv/namei.cif (new_inode == old_inode) {
new_inode649fs/sysv/namei.cif (new_inode->i_dev != old_inode->i_dev)
new_inode651fs/sysv/namei.cino = new_inode->i_ino;
new_inode652fs/sysv/namei.cif (sysv_lookup(new_inode,"..",2,&new_inode))
new_inode654fs/sysv/namei.cif (new_inode->i_ino == ino) /* root dir reached ? */
new_inode657fs/sysv/namei.ciput(new_inode);
new_inode677fs/sysv/namei.cstruct inode * old_inode, * new_inode;
new_inode688fs/sysv/namei.ciput(new_inode);
new_inode692fs/sysv/namei.cold_inode = new_inode = NULL;
new_inode708fs/sysv/namei.cnew_inode = __iget(new_dir->i_sb, new_de->inode, 0);
new_inode709fs/sysv/namei.cif (!new_inode) {
new_inode714fs/sysv/namei.cif (new_inode == old_inode) {
new_inode718fs/sysv/namei.cif (new_inode && S_ISDIR(new_inode->i_mode)) {
new_inode726fs/sysv/namei.cif (!empty_dir(new_inode))
new_inode729fs/sysv/namei.cif (new_inode->i_count > 1)
new_inode733fs/sysv/namei.cif (new_inode && (new_dir->i_mode & S_ISVTX) && 
new_inode734fs/sysv/namei.ccurrent->fsuid != new_inode->i_uid &&
new_inode739fs/sysv/namei.cif (new_inode && !S_ISDIR(new_inode->i_mode))
new_inode751fs/sysv/namei.cif (!new_inode && new_dir->i_nlink >= new_dir->i_sb->sv_link_max)
new_inode760fs/sysv/namei.cif (new_inode && (new_de->inode != new_inode->i_ino))
new_inode762fs/sysv/namei.cif (new_de->inode && !new_inode)
new_inode773fs/sysv/namei.cif (new_inode) {
new_inode774fs/sysv/namei.cnew_inode->i_nlink--;
new_inode775fs/sysv/namei.cnew_inode->i_ctime = CURRENT_TIME;
new_inode776fs/sysv/namei.cnew_inode->i_dirt = 1;
new_inode785fs/sysv/namei.cif (new_inode) {
new_inode786fs/sysv/namei.cnew_inode->i_nlink--;
new_inode787fs/sysv/namei.cnew_inode->i_dirt = 1;
new_inode799fs/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);