Searched refs:trun (Results 1 – 3 of 3) sorted by relevance
76 static inline void zero_trun_node_unused(struct ubifs_trun_node *trun) in zero_trun_node_unused() argument78 memset(trun->padding, 0, 12); in zero_trun_node_unused()1514 struct ubifs_trun_node *trun; in ubifs_jnl_truncate() local1538 trun = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()1539 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()1540 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate()1541 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate()1542 trun->new_size = cpu_to_le64(new_size); in ubifs_jnl_truncate()1543 zero_trun_node_unused(trun); in ubifs_jnl_truncate()1548 dn = (void *)trun + UBIFS_TRUN_NODE_SZ; in ubifs_jnl_truncate()[all …]
779 struct ubifs_trun_node *trun = snod->node; in replay_bud() local780 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud()781 loff_t new_size = le64_to_cpu(trun->new_size); in replay_bud()796 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
486 const struct ubifs_trun_node *trun = node; in ubifs_dump_node() local488 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); in ubifs_dump_node()490 (unsigned long long)le64_to_cpu(trun->old_size)); in ubifs_dump_node()492 (unsigned long long)le64_to_cpu(trun->new_size)); in ubifs_dump_node()