Lines Matching refs:trun
76 static inline void zero_trun_node_unused(struct ubifs_trun_node *trun) in zero_trun_node_unused() argument
78 memset(trun->padding, 0, 12); in zero_trun_node_unused()
1552 struct ubifs_trun_node *trun; in ubifs_jnl_truncate() local
1580 trun = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()
1581 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()
1582 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate()
1583 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate()
1584 trun->new_size = cpu_to_le64(new_size); in ubifs_jnl_truncate()
1585 zero_trun_node_unused(trun); in ubifs_jnl_truncate()
1590 dn = (void *)trun + UBIFS_TRUN_NODE_SZ; in ubifs_jnl_truncate()
1637 ubifs_prep_grp_node(c, trun, UBIFS_TRUN_NODE_SZ, dlen ? 0 : 1); in ubifs_jnl_truncate()