Lines Matching defs:dir
641 * @dir: parent inode or host inode in case of extended attributes
651 * The function writes the host inode @dir last, which is important in case of
656 * attributes. Similarly, this guarantees that if @dir is synchronized, its
659 * If the inode (@inode) or the parent directory (@dir) are synchronous, this
662 * This function marks the @dir and @inode inodes as clean and returns zero on
665 int ubifs_jnl_update(struct ubifs_info *c, const struct inode *dir,
670 int aligned_dlen, aligned_ilen, sync = IS_DIRSYNC(dir);
673 struct ubifs_inode *host_ui = ubifs_inode(dir);
719 dent_key_init_hash(c, &dent_key, dir->i_ino, nm->hash);
721 dent_key_init(c, &dent_key, dir->i_ino, nm);
724 xent_key_init(c, &dent_key, dir->i_ino, nm);
748 pack_inode(c, ino, dir, 1);
770 ubifs_wbuf_add_ino_nolock(wbuf, dir->i_ino);
802 ino_key_init(c, &ino_key, dir->i_ino);