Searched refs:bkey_start_offset (Results 1 – 12 of 12) sorted by relevance
/linux/fs/bcachefs/ |
H A D | extent_update.c | 70 bkey_start_offset(p.k); in count_iters_for_insert() 122 offset = iter->pos.offset - bkey_start_offset(k.k); in bch2_extent_atomic_end()
|
H A D | extents.c | 1036 (s64) p.ptr.offset + p.crc.offset - bkey_start_offset(k.k) == in bch2_bkey_matches_ptr() 1071 (s64) p1.ptr.offset + p1.crc.offset - bkey_start_offset(k1.k) == in bch2_extents_match() 1072 (s64) p2.ptr.offset + p2.crc.offset - bkey_start_offset(k2.k) && in bch2_extents_match() 1106 (s64) p1.ptr.offset + p1.crc.offset - bkey_start_offset(k1.k) == in bch2_extent_has_ptr() 1107 (s64) p2.ptr.offset + p2.crc.offset - bkey_start_offset(k2.k)) in bch2_extent_has_ptr() 1629 sub = where.offset - bkey_start_offset(k.k); in bch2_cut_front_s() 1711 len = where.offset - bkey_start_offset(k.k); in bch2_cut_back_s()
|
H A D | tests.c | 192 BUG_ON(bkey_start_offset(k.k) != i); in test_iterate_extents() 208 i = bkey_start_offset(k.k); in test_iterate_extents() 308 BUG_ON(bkey_start_offset(k.k) != i + 8); in test_iterate_slots_extents() 330 BUG_ON(bkey_start_offset(k.k) != i); in test_iterate_slots_extents()
|
H A D | fs-io.c | 872 max(start, bkey_start_offset(k.k)); in quota_reserve_range() 993 next_data = max(offset, bkey_start_offset(k.k) << 9); in bch2_seek_data() 1031 ? max(offset, bkey_start_offset(k.k) << 9) in bch2_seek_hole() 1051 offset = max(offset, bkey_start_offset(k.k) << 9); in bch2_seek_hole()
|
H A D | bkey.h | 297 static inline u64 bkey_start_offset(const struct bkey *k) in bkey_start_offset() function 306 .offset = bkey_start_offset(k), in bkey_start_pos()
|
H A D | fs.c | 1301 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1311 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1317 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1428 u64 pagecache_end = k.k ? max(start, bkey_start_offset(k.k)) : end; in bch2_next_fiemap_extent() 1474 bkey_start_offset(&k->k) + offset_into_extent), in bch2_next_fiemap_extent() 1516 BUG_ON(bkey_start_offset(&cur.kbuf.k->k) < start); in bch2_fiemap() 1519 if (bkey_start_offset(&cur.kbuf.k->k) == end) in bch2_fiemap()
|
H A D | fs-io-pagecache.c | 213 unsigned folio_offset = max(bkey_start_offset(k.k), folio_start) - in bch2_folio_set() 219 BUG_ON(bkey_start_offset(k.k) > folio_end); in bch2_folio_set()
|
H A D | io_read.c | 722 if (bkey_start_offset(k.k) < data_offset || in __bch2_rbio_narrow_crcs() 728 bkey_start_offset(k.k) - data_offset, k.k->size, in __bch2_rbio_narrow_crcs() 1398 bkey_start_offset(k.k); in __bch2_read()
|
H A D | io_misc.c | 492 op->v.pos = cpu_to_le64(insert ? bkey_start_offset(&delete.k) : delete.k.p.offset); in __bch2_resume_logged_op_finsert()
|
H A D | fs-io-buffered.c | 197 bkey_start_offset(k.k); in bchfs_read()
|
H A D | data_update.c | 752 m->rbio.bio.bi_iter.bi_sector = bkey_start_offset(&m->k.k->k); in __bch2_data_update_bios_init()
|
H A D | fsck.c | 1776 extent_end->offset = bkey_start_offset(&pos2); in overlapping_extents_found() 1816 if (i->offset <= bkey_start_offset(k.k)) in check_overlapping_extents()
|