Searched refs:new_u64s (Results 1 - 7 of 7) sorted by relevance

/linux-master/fs/bcachefs/
H A Dkeylist.c8 size_t nr_inline_u64s, size_t new_u64s)
11 size_t newsize = oldsize + new_u64s;
7 bch2_keylist_realloc(struct keylist *l, u64 *inline_u64s, size_t nr_inline_u64s, size_t new_u64s) argument
H A Dbtree_key_cache.c381 unsigned new_u64s = 0; local
404 new_u64s = k.k->u64s + 1;
411 new_u64s = min(256U, (new_u64s * 3) / 2);
413 if (new_u64s > ck->u64s) {
414 new_u64s = roundup_pow_of_two(new_u64s);
415 new_k = kmalloc(new_u64s * sizeof(u64), GFP_NOWAIT|__GFP_NOWARN);
419 new_k = kmalloc(new_u64s * sizeof(u64), GFP_KERNEL);
422 bch2_btree_id_str(ck->key.btree_id), new_u64s);
[all...]
H A Dbtree_trans_commit.c135 unsigned clobber_u64s = 0, new_u64s = 0; local
195 new_u64s = k->u64s;
197 if (clobber_u64s != new_u64s)
199 clobber_u64s, new_u64s);
358 struct btree_path *path, unsigned new_u64s)
367 new_k = kmalloc(new_u64s * sizeof(u64), GFP_KERNEL);
370 bch2_btree_id_str(path->btree_id), new_u64s);
388 ck->u64s = new_u64s;
398 unsigned new_u64s; local
418 new_u64s
357 btree_key_can_insert_cached_slowpath(struct btree_trans *trans, unsigned flags, struct btree_path *path, unsigned new_u64s) argument
[all...]
H A Dtrace.h1293 unsigned new_u64s),
1294 TP_ARGS(trans, caller_ip, path, old_u64s, new_u64s),
1302 __field(u32, new_u64s )
1312 __entry->new_u64s = new_u64s;
1315 TP_printk("%s %pS btree %s pos %llu:%llu:%u old_u64s %u new_u64s %u",
1323 __entry->new_u64s)
H A Dbtree_iter.c435 unsigned new_u64s)
440 int shift = new_u64s - clobber_u64s;
452 if (new_u64s &&
467 if (new_u64s &&
471 set->k = offset + new_u64s;
526 unsigned new_u64s)
534 where, clobber_u64s, new_u64s);
543 where, clobber_u64s, new_u64s);
429 __bch2_btree_node_iter_fix(struct btree_path *path, struct btree *b, struct btree_node_iter *node_iter, struct bset_tree *t, struct bkey_packed *where, unsigned clobber_u64s, unsigned new_u64s) argument
520 bch2_btree_node_iter_fix(struct btree_trans *trans, struct btree_path *path, struct btree *b, struct btree_node_iter *node_iter, struct bkey_packed *where, unsigned clobber_u64s, unsigned new_u64s) argument
H A Dbset.c926 unsigned new_u64s)
928 int shift = new_u64s - clobber_u64s;
922 bch2_bset_fix_lookup_table(struct btree *b, struct bset_tree *t, struct bkey_packed *_where, unsigned clobber_u64s, unsigned new_u64s) argument
H A Djournal.c627 unsigned new_u64s)
630 int d = new_u64s - res->u64s;
625 bch2_journal_entry_res_resize(struct journal *j, struct journal_entry_res *res, unsigned new_u64s) argument

Completed in 151 milliseconds