Searched refs:trun (Results 1 – 3 of 3) sorted by relevance
98 static inline void zero_trun_node_unused(struct ubifs_trun_node *trun) in zero_trun_node_unused() argument100 memset(trun->padding, 0, 12); in zero_trun_node_unused()1147 struct ubifs_trun_node *trun; in ubifs_jnl_truncate() local1166 trun = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()1167 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()1168 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate()1169 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate()1170 trun->new_size = cpu_to_le64(new_size); in ubifs_jnl_truncate()1171 zero_trun_node_unused(trun); in ubifs_jnl_truncate()1176 dn = (void *)trun + UBIFS_TRUN_NODE_SZ; in ubifs_jnl_truncate()[all …]
642 struct ubifs_trun_node *trun = snod->node; in replay_bud() local643 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud()644 loff_t new_size = le64_to_cpu(trun->new_size); in replay_bud()659 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
548 const struct ubifs_trun_node *trun = node; in dbg_dump_node() local551 le32_to_cpu(trun->inum)); in dbg_dump_node()553 (unsigned long long)le64_to_cpu(trun->old_size)); in dbg_dump_node()555 (unsigned long long)le64_to_cpu(trun->new_size)); in dbg_dump_node()