Searched refs:bkey_start_offset (Results 1 – 15 of 15) sorted by relevance
/linux/fs/bcachefs/ |
H A D | extent_update.c | 69 bkey_start_offset(p.k); in count_iters_for_insert() 135 offset = bkey_start_offset(&insert->k) - in bch2_extent_atomic_end() 136 bkey_start_offset(k.k); in bch2_extent_atomic_end()
|
H A D | reflink.c | 118 le64_to_cpu(v->idx) - bkey_start_offset(&k->k)); in trans_trigger_reflink_p_segment() 397 r_p->v.idx = cpu_to_le64(bkey_start_offset(&r_v->k)); in bch2_make_extent_indirect() 538 bkey_start_offset(src_k.k)); in bch2_remap_range()
|
H A D | extents.c | 904 (s64) p.ptr.offset + p.crc.offset - bkey_start_offset(k.k) == in bch2_bkey_matches_ptr() 939 (s64) p1.ptr.offset + p1.crc.offset - bkey_start_offset(k1.k) == in bch2_extents_match() 940 (s64) p2.ptr.offset + p2.crc.offset - bkey_start_offset(k2.k) && in bch2_extents_match() 974 (s64) p1.ptr.offset + p1.crc.offset - bkey_start_offset(k1.k) == in bch2_extent_has_ptr() 975 (s64) p2.ptr.offset + p2.crc.offset - bkey_start_offset(k2.k)) in bch2_extent_has_ptr() 1564 sub = where.offset - bkey_start_offset(k.k); in bch2_cut_front_s() 1646 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 | 816 max(start, bkey_start_offset(k.k)); in quota_reserve_range() 930 next_data = max(offset, bkey_start_offset(k.k) << 9); in bch2_seek_data() 971 max(offset, bkey_start_offset(k.k) << 9), in bch2_seek_hole() 977 offset = max(offset, bkey_start_offset(k.k) << 9); in bch2_seek_hole()
|
H A D | bkey.h | 303 static inline u64 bkey_start_offset(const struct bkey *k) in bkey_start_offset() function 312 .offset = bkey_start_offset(k), in bkey_start_pos()
|
H A D | io_read.c | 525 if (bkey_start_offset(k.k) < data_offset || in __bch2_rbio_narrow_crcs() 531 bkey_start_offset(k.k) - data_offset, k.k->size, in __bch2_rbio_narrow_crcs() 784 *offset_into_extent = iter.pos.offset - bkey_start_offset(k.k); in __bch2_read_indirect_extent() 1188 bkey_start_offset(k.k); in __bch2_read()
|
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 | fs.c | 1213 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1223 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1229 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1296 bkey_start_offset(k.k); in bch2_fiemap() 1312 bkey_start_offset(k.k) + in bch2_fiemap()
|
H A D | io_write.c | 170 max(bkey_start_offset(&new->k), in bch2_sum_sector_overwrites() 171 bkey_start_offset(old.k)); in bch2_sum_sector_overwrites() 434 n->inode_offset = bkey_start_offset(&k->k); in bch2_submit_wbio_replicas()
|
H A D | io_misc.c | 462 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 | 188 bkey_start_offset(k.k); in bchfs_read()
|
H A D | move.c | 310 io->rbio.bio.bi_iter.bi_sector = bkey_start_offset(k.k); in bch2_move_extent()
|
H A D | fsck.c | 1832 extent_end->offset = bkey_start_offset(&pos2); in overlapping_extents_found() 1872 if (i->offset <= bkey_start_offset(k.k)) in check_overlapping_extents()
|
H A D | alloc_foreground.c | 500 for (alloc_cursor = max(alloc_cursor, bkey_start_offset(k.k)); in bch2_bucket_alloc_freelist()
|