Home
last modified time | relevance | path

Searched refs:bkey_start_offset (Results 1 – 14 of 14) sorted by relevance

/fs/bcachefs/
A Dextent_update.c70 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()
A Dextents.c1036 (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()
A Dtests.c192 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()
A Dreflink.c293 *offset_into_extent = reflink_offset - bkey_start_offset(k.k); in bch2_lookup_indirect_extent()
342 REFLINK_P_IDX(v) - bkey_start_offset(&new->k)); in trans_trigger_reflink_p_segment()
562 SET_REFLINK_P_IDX(&r_p->v, bkey_start_offset(&r_v->k)); in bch2_make_extent_indirect()
711 bkey_start_offset(src_k.k)); in bch2_remap_range()
A Dfs-io.c872 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()
A Dbkey.h297 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()
A Dio_write.c178 max(bkey_start_offset(&new->k), in bch2_sum_sector_overwrites()
179 bkey_start_offset(old.k)); in bch2_sum_sector_overwrites()
512 n->inode_offset = bkey_start_offset(&k->k); in bch2_submit_wbio_replicas()
617 bch2_write_op_error(op, bkey_start_offset(&insert->k), in __bch2_write_index()
1280 bch2_write_op_error(op, bkey_start_offset(&insert->k), in bch2_nocow_write_convert_unwritten()
A Dfs.c1301 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()
A Dfs-io-pagecache.c213 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()
A Dio_read.c722 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()
A Dio_misc.c492 op->v.pos = cpu_to_le64(insert ? bkey_start_offset(&delete.k) : delete.k.p.offset); in __bch2_resume_logged_op_finsert()
A Dfs-io-buffered.c197 bkey_start_offset(k.k); in bchfs_read()
A Ddata_update.c752 m->rbio.bio.bi_iter.bi_sector = bkey_start_offset(&m->k.k->k); in __bch2_data_update_bios_init()
A Dfsck.c1776 extent_end->offset = bkey_start_offset(&pos2); in overlapping_extents_found()
1816 if (i->offset <= bkey_start_offset(k.k)) in check_overlapping_extents()

Completed in 42 milliseconds