Searched refs:trun (Results 1 – 4 of 4) 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()1150 struct ubifs_trun_node *trun; in ubifs_jnl_truncate() local1169 trun = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()1170 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()1171 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate()1172 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate()1173 trun->new_size = cpu_to_le64(new_size); in ubifs_jnl_truncate()1174 zero_trun_node_unused(trun); in ubifs_jnl_truncate()1179 dn = (void *)trun + UBIFS_TRUN_NODE_SZ; in ubifs_jnl_truncate()[all …]
641 struct ubifs_trun_node *trun = snod->node; in replay_bud() local642 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud()643 loff_t new_size = le64_to_cpu(trun->new_size); in replay_bud()658 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
492 const struct ubifs_trun_node *trun = node; in ubifs_dump_node() local494 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); in ubifs_dump_node()496 (unsigned long long)le64_to_cpu(trun->old_size)); in ubifs_dump_node()498 (unsigned long long)le64_to_cpu(trun->new_size)); in ubifs_dump_node()
977 trun||turn