Home
last modified time | relevance | path

Searched refs:trun (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/ubifs/
H A Djournal.c74 * @trun: the truncation node to zero out
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()
1550 struct ubifs_trun_node *trun; in ubifs_jnl_truncate() local
1574 trun = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()
1575 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()
1576 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate()
1577 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate()
1578 trun->new_size = cpu_to_le64(new_size); in ubifs_jnl_truncate()
1579 zero_trun_node_unused(trun); in ubifs_jnl_truncate()
[all...]
H A Dreplay.c779 struct ubifs_trun_node *trun = snod->node; in replay_bud() local
780 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()
H A Ddebug.c519 const struct ubifs_trun_node *trun = node; in ubifs_dump_node() local
521 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); in ubifs_dump_node()
523 (unsigned long long)le64_to_cpu(trun->old_size)); in ubifs_dump_node()
525 (unsigned long long)le64_to_cpu(trun->new_size)); in ubifs_dump_node()
/kernel/linux/linux-6.6/fs/ubifs/
H A Djournal.c74 * @trun: the truncation node to zero out
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()
1556 struct ubifs_trun_node *trun; in ubifs_jnl_truncate() local
1584 trun = (void *)ino + UBIFS_INO_NODE_SZ; in ubifs_jnl_truncate()
1585 trun->ch.node_type = UBIFS_TRUN_NODE; in ubifs_jnl_truncate()
1586 trun->inum = cpu_to_le32(inum); in ubifs_jnl_truncate()
1587 trun->old_size = cpu_to_le64(old_size); in ubifs_jnl_truncate()
1588 trun->new_size = cpu_to_le64(new_size); in ubifs_jnl_truncate()
1589 zero_trun_node_unused(trun); in ubifs_jnl_truncate()
[all...]
H A Dreplay.c779 struct ubifs_trun_node *trun = snod->node; in replay_bud() local
780 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()
H A Ddebug.c519 const struct ubifs_trun_node *trun = node; in ubifs_dump_node() local
521 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); in ubifs_dump_node()
523 (unsigned long long)le64_to_cpu(trun->old_size)); in ubifs_dump_node()
525 (unsigned long long)le64_to_cpu(trun->new_size)); in ubifs_dump_node()

Completed in 14 milliseconds