Searched refs:trun (Results 1 – 3 of 3) sorted by relevance
88 static inline void zero_trun_node_unused(struct ubifs_trun_node *trun) in zero_trun_node_unused() argument90 memset(trun->padding, 0, 12); in zero_trun_node_unused()1357 struct ubifs_trun_node *trun; in ubifs_jnl_truncate() local1376 trun = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()1377 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()1378 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate()1379 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate()1380 trun->new_size = cpu_to_le64(new_size); in ubifs_jnl_truncate()1381 zero_trun_node_unused(trun); in ubifs_jnl_truncate()1386 dn = (void *)trun + UBIFS_TRUN_NODE_SZ; in ubifs_jnl_truncate()[all …]
677 struct ubifs_trun_node *trun = snod->node; in replay_bud() local678 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud()679 loff_t new_size = le64_to_cpu(trun->new_size); in replay_bud()694 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
496 const struct ubifs_trun_node *trun = node; in ubifs_dump_node() local498 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); in ubifs_dump_node()500 (unsigned long long)le64_to_cpu(trun->old_size)); in ubifs_dump_node()502 (unsigned long long)le64_to_cpu(trun->new_size)); in ubifs_dump_node()