Lines Matching refs:dn
36 return IS_INODE(node) ? blkaddr_in_inode(node) : node->dn.addr; in blkaddr_in_node()
71 static inline void set_new_dnode(struct dnode_of_data *dn, in set_new_dnode() argument
74 memset(dn, 0, sizeof(*dn)); in set_new_dnode()
75 dn->inode_blk = iblk; in set_new_dnode()
76 dn->node_blk = nblk; in set_new_dnode()
77 dn->nid = nid; in set_new_dnode()
78 dn->idirty = 0; in set_new_dnode()
79 dn->ndirty = 0; in set_new_dnode()
82 static inline void inc_inode_blocks(struct dnode_of_data *dn) in inc_inode_blocks() argument
84 u64 blocks = le64_to_cpu(dn->inode_blk->i.i_blocks); in inc_inode_blocks()
86 dn->inode_blk->i.i_blocks = cpu_to_le64(blocks + 1); in inc_inode_blocks()
87 dn->idirty = 1; in inc_inode_blocks()