Searched refs:bkey_start_offset (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/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 | extents.c | 979 (s64) p.ptr.offset + p.crc.offset - bkey_start_offset(k.k) == in bch2_bkey_matches_ptr() 1014 (s64) p1.ptr.offset + p1.crc.offset - bkey_start_offset(k1.k) == in bch2_extents_match() 1015 (s64) p2.ptr.offset + p2.crc.offset - bkey_start_offset(k2.k) && in bch2_extents_match() 1049 (s64) p1.ptr.offset + p1.crc.offset - bkey_start_offset(k1.k) == in bch2_extent_has_ptr() 1050 (s64) p2.ptr.offset + p2.crc.offset - bkey_start_offset(k2.k)) in bch2_extent_has_ptr() 1560 sub = where.offset - bkey_start_offset(k.k); in bch2_cut_front_s() 1642 len = where.offset - bkey_start_offset(k.k); in bch2_cut_back_s()
|
| H A D | reflink.c | 290 *offset_into_extent = reflink_offset - bkey_start_offset(k.k); in bch2_lookup_indirect_extent() 339 REFLINK_P_IDX(v) - bkey_start_offset(&new->k)); in trans_trigger_reflink_p_segment() 559 SET_REFLINK_P_IDX(&r_p->v, bkey_start_offset(&r_v->k)); in bch2_make_extent_indirect() 708 bkey_start_offset(src_k.k)); in bch2_remap_range()
|
| 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 | 296 static inline u64 bkey_start_offset(const struct bkey *k) in bkey_start_offset() function 305 .offset = bkey_start_offset(k), in bkey_start_pos()
|
| H A D | io_write.c | 176 max(bkey_start_offset(&new->k), in bch2_sum_sector_overwrites() 177 bkey_start_offset(old.k)); in bch2_sum_sector_overwrites() 499 n->inode_offset = bkey_start_offset(&k->k); in bch2_submit_wbio_replicas() 602 bch2_write_op_error(op, bkey_start_offset(&insert->k), in __bch2_write_index() 1264 bch2_write_op_error(op, bkey_start_offset(&insert->k), in bch2_nocow_write_convert_unwritten()
|
| H A D | fs.c | 1305 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1315 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1321 bkey_start_offset(k.k) << 9, in bch2_fill_extent() 1432 u64 pagecache_end = k.k ? max(start, bkey_start_offset(k.k)) : end; in bch2_next_fiemap_extent() 1478 bkey_start_offset(&k->k) + offset_into_extent), in bch2_next_fiemap_extent() 1520 BUG_ON(bkey_start_offset(&cur.kbuf.k->k) < start); in bch2_fiemap() 1523 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 | 616 if (bkey_start_offset(k.k) < data_offset || in __bch2_rbio_narrow_crcs() 622 bkey_start_offset(k.k) - data_offset, k.k->size, in __bch2_rbio_narrow_crcs() 1304 bkey_start_offset(k.k); in __bch2_read()
|
| H A D | io_misc.c | 465 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 | data_update.c | 688 m->rbio.bio.bi_iter.bi_sector = bkey_start_offset(&m->k.k->k); in bch2_data_update_bios_init()
|
| H A D | fs-io-buffered.c | 197 bkey_start_offset(k.k); in bchfs_read()
|
| H A D | fsck.c | 1691 extent_end->offset = bkey_start_offset(&pos2); in overlapping_extents_found() 1731 if (i->offset <= bkey_start_offset(k.k)) in check_overlapping_extents()
|