Lines Matching defs:dir
293 affs_new_inode(struct inode *dir)
295 struct super_block *sb = dir->i_sb;
303 if (!(block = affs_alloc_block(dir, dir->i_ino)))
350 affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type)
352 struct super_block *sb = dir->i_sb;
358 pr_debug("%s(dir=%lu, inode=%lu, \"%pd\", type=%d)\n", __func__,
359 dir->i_ino, inode->i_ino, dentry, type);
371 block = affs_alloc_block(dir, dir->i_ino);
388 AFFS_TAIL(sb, bh)->parent = cpu_to_be32(dir->i_ino);
405 affs_lock_dir(dir);
406 retval = affs_insert_hash(dir, bh);
408 affs_unlock_dir(dir);