Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
A Dbtree_iter.c1357 __clear_bit(path, trans->paths_allocated); in __bch2_path_free()
1646 unsigned long *paths_allocated = p; in btree_paths_realloc() local
1647 …memcpy(paths_allocated, trans->paths_allocated, BITS_TO_LONGS(trans->nr_paths) * sizeof(unsigned l… in btree_paths_realloc()
1663 unsigned long *old = trans->paths_allocated; in btree_paths_realloc()
1665 rcu_assign_pointer(trans->paths_allocated, paths_allocated); in btree_paths_realloc()
1697 __set_bit(idx, trans->paths_allocated); in btree_path_alloc()
3206 trans->paths_allocated[0] = 1; in __bch2_trans_get()
3288 unsigned long *paths_allocated = trans->paths_allocated; in bch2_trans_put() local
3289 trans->paths_allocated = NULL; in bch2_trans_put()
3292 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()
39 EBUG_ON(!test_bit(path - trans->paths, trans->paths_allocated)); in __btree_path_put()
103 unsigned long *w = trans->paths_allocated + *idx / BITS_PER_LONG; in __trans_next_path()
697 if (bitmap_weight(trans->paths_allocated, trans->nr_paths) > BTREE_ITER_NORMAL_LIMIT - 8) in btree_trans_too_many_iters()
A Dbtree_locking.c308 unsigned long *paths_allocated = trans_paths_allocated(paths); in bch2_check_for_deadlock() local
310 trans_for_each_path_idx_from(paths_allocated, *trans_paths_nr(paths), in bch2_check_for_deadlock()
A Dbtree_types.h483 unsigned long *paths_allocated; member

Completed in 23 milliseconds