Home
last modified time | relevance | path

Searched refs:paths_allocated (Results 1 – 4 of 4) sorted by relevance

/fs/bcachefs/
A Dbtree_iter.c1377 __clear_bit(path, trans->paths_allocated); in __bch2_path_free()
1673 unsigned long *paths_allocated = p; in btree_paths_realloc() local
1674 …memcpy(paths_allocated, trans->paths_allocated, BITS_TO_LONGS(trans->nr_paths) * sizeof(unsigned l… in btree_paths_realloc()
1690 unsigned long *old = trans->paths_allocated; in btree_paths_realloc()
1692 rcu_assign_pointer(trans->paths_allocated, paths_allocated); in btree_paths_realloc()
1724 __set_bit(idx, trans->paths_allocated); in btree_path_alloc()
3484 trans->paths_allocated[0] = 1; in __bch2_trans_get()
3591 unsigned long *paths_allocated = trans->paths_allocated; in bch2_trans_put() local
3592 trans->paths_allocated = NULL; in bch2_trans_put()
3595 if (paths_allocated != trans->_paths_allocated) in bch2_trans_put()
[all …]
A Dbtree_iter.h26 EBUG_ON(!test_bit(idx, trans->paths_allocated)); in __btree_path_get()
40 EBUG_ON(!test_bit(path - trans->paths, trans->paths_allocated)); in __btree_path_put()
106 unsigned long *w = trans->paths_allocated + *idx / BITS_PER_LONG; in __trans_next_path()
755 if (bitmap_weight(trans->paths_allocated, trans->nr_paths) > BTREE_ITER_NORMAL_LIMIT - 8) in btree_trans_too_many_iters()
A Dbtree_locking.c327 unsigned long *paths_allocated = trans_paths_allocated(paths); in bch2_check_for_deadlock() local
329 trans_for_each_path_idx_from(paths_allocated, *trans_paths_nr(paths), in bch2_check_for_deadlock()
A Dbtree_types.h492 unsigned long *paths_allocated; member

Completed in 18 milliseconds