Home
last modified time | relevance | path

Searched refs:jset_u64s (Results 1 – 7 of 7) sorted by relevance

/linux/fs/bcachefs/
H A Djournal.h169 static inline unsigned jset_u64s(unsigned u64s) in jset_u64s() function
188 le32_add_cpu(&jset->u64s, jset_u64s(u64s)); in bch2_journal_add_entry_noreservation()
210 return jset_u64s(u64s); in journal_entry_init()
H A Dbtree_update.c832 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, jset_u64s(u64s)); in __bch2_trans_log_msg()
859 ret = darray_make_room(&c->journal.early_journal_entries, jset_u64s(u64s)); in __bch2_fs_log_msg()
866 c->journal.early_journal_entries.nr += jset_u64s(u64s); in __bch2_fs_log_msg()
H A Dbtree_trans_commit.c1078 trans->journal_u64s += jset_u64s(JSET_ENTRY_LOG_U64s); in __bch2_trans_commit()
1098 trans->journal_u64s += jset_u64s(i->k->k.u64s); in __bch2_trans_commit()
1102 trans->journal_u64s += jset_u64s(i->old_k.u64s); in __bch2_trans_commit()
H A Dbtree_update.h150 struct jset_entry *e = bch2_trans_jset_entry_alloc(trans, jset_u64s(k->k.u64s)); in bch2_trans_update_buffered()
H A Djournal_io.c561 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); in journal_entry_usage_validate()
595 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); in journal_entry_data_usage_validate()
639 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); in journal_entry_clock_validate()
679 unsigned bytes = jset_u64s(le16_to_cpu(entry->u64s)) * sizeof(u64); in journal_entry_dev_usage_validate()
H A Djournal.c717 ret = bch2_journal_res_get(j, &res, jset_u64s(0), 0); in bch2_journal_flush_seq_async()
842 ret = bch2_journal_res_get(j, &res, jset_u64s(0), 0); in bch2_journal_meta()
H A Dbtree_update_interior.c935 BUG_ON(as->journal_u64s + jset_u64s(insert->k.u64s) > in btree_update_updated_root()
1381 BUG_ON(as->journal_u64s + jset_u64s(insert->k.u64s) > in bch2_insert_fixup_btree_ptr()
2375 jset_u64s(new_key->k.u64s)); in __bch2_btree_node_update_key()