Searched refs:sort_iter (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/bcachefs/ |
| A D | bkey_sort.h | 5 struct sort_iter { struct 15 static inline void sort_iter_init(struct sort_iter *iter, struct btree *b, unsigned size) in sort_iter_init() argument 23 struct sort_iter iter; 32 static inline void sort_iter_add(struct sort_iter *iter, in sort_iter_add() 44 struct sort_iter *); 51 unsigned bch2_sort_keys_keep_unwritten_whiteouts(struct bkey_packed *, struct sort_iter *); 52 unsigned bch2_sort_keys(struct bkey_packed *, struct sort_iter *);
|
| A D | bkey_sort.c | 13 static inline bool sort_iter_end(struct sort_iter *iter) in sort_iter_end() 18 static inline void sort_iter_sift(struct sort_iter *iter, unsigned from, in sort_iter_sift() 30 static inline void sort_iter_sort(struct sort_iter *iter, sort_cmp_fn cmp) in sort_iter_sort() 38 static inline struct bkey_packed *sort_iter_peek(struct sort_iter *iter) in sort_iter_peek() 43 static inline void sort_iter_advance(struct sort_iter *iter, sort_cmp_fn cmp) in sort_iter_advance() 59 static inline struct bkey_packed *sort_iter_next(struct sort_iter *iter, in sort_iter_next() 81 static inline bool should_drop_next_key(struct sort_iter *iter) in should_drop_next_key() 96 struct sort_iter *iter) in bch2_key_sort_fix_overlapping() 173 unsigned bch2_sort_keys_keep_unwritten_whiteouts(struct bkey_packed *dst, struct sort_iter *iter) in bch2_sort_keys_keep_unwritten_whiteouts() 199 unsigned bch2_sort_keys(struct bkey_packed *dst, struct sort_iter *iter) in bch2_sort_keys()
|
| A D | btree_io.c | 299 struct sort_iter_stack sort_iter; in btree_node_sort() local 308 sort_iter_stack_init(&sort_iter, b); in btree_node_sort() 314 sort_iter_add(&sort_iter.iter, in btree_node_sort() 327 u64s = bch2_sort_keys(out->keys.start, &sort_iter.iter); in btree_node_sort() 978 struct sort_iter *iter; in bch2_btree_node_read_done() 1972 struct sort_iter_stack sort_iter; in __bch2_btree_node_write() local 2046 sort_iter_stack_init(&sort_iter, b); in __bch2_btree_node_write() 2061 sort_iter_add(&sort_iter.iter, in __bch2_btree_node_write() 2090 sort_iter_add(&sort_iter.iter, in __bch2_btree_node_write() 2095 u64s = bch2_sort_keys_keep_unwritten_whiteouts(i->start, &sort_iter.iter); in __bch2_btree_node_write()
|
| A D | super.c | 872 iter_size = sizeof(struct sort_iter) + in bch2_fs_alloc()
|
Completed in 14 milliseconds