Lines Matching defs:dir
294 affs_new_inode(struct inode *dir)
296 struct super_block *sb = dir->i_sb;
304 if (!(block = affs_alloc_block(dir, dir->i_ino)))
351 affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type)
353 struct super_block *sb = dir->i_sb;
359 pr_debug("%s(dir=%lu, inode=%lu, \"%pd\", type=%d)\n", __func__,
360 dir->i_ino, inode->i_ino, dentry, type);
372 block = affs_alloc_block(dir, dir->i_ino);
389 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino);
406 affs_lock_dir(dir);
407 retval = affs_insert_hash(dir, bh);
409 affs_unlock_dir(dir);