Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_rlock.c127 return (TREE_CMP(rl1->lr_offset, rl2->lr_offset)); in zfs_rangelock_compare()
200 lr->lr_offset < new->lr_offset + new->lr_length) in zfs_rangelock_enter_writer()
205 lr->lr_offset + lr->lr_length > new->lr_offset) in zfs_rangelock_enter_writer()
246 proxy->lr_offset = lr->lr_offset; in zfs_rangelock_proxify()
275 rear->lr_offset = off; in zfs_rangelock_split()
300 lr->lr_offset = off; in zfs_rangelock_new_proxy()
366 next->lr_offset) { in zfs_rangelock_add_reader()
372 next->lr_offset - in zfs_rangelock_add_reader()
491 new->lr_offset = off; in zfs_rangelock_enter_impl()
593 next->lr_offset); in zfs_rangelock_exit_reader()
[all …]
H A Dzfs_vnops.c393 woff = lr->lr_offset; in zfs_write()
746 uint64_t offset = lr->lr_offset; in zfs_get_data()
812 if (lr->lr_offset >= zp->z_size) in zfs_get_data()
H A Dzfs_replay.c699 offset = lr->lr_offset; in zfs_replay_write()
755 end = lr->lr_offset + lr->lr_length; in zfs_replay_write2()
804 fl.l_start = lr->lr_offset; in zfs_replay_truncate()
808 lr->lr_offset, kcred); in zfs_replay_truncate()
H A Dzvol.c473 offset = lr->lr_offset; in zvol_replay_truncate()
497 offset = lr->lr_offset; in zvol_replay_write()
607 lr->lr_offset = offset; in zvol_log_write()
639 lr->lr_offset = off; in zvol_log_truncate()
666 uint64_t offset = lr->lr_offset; in zvol_get_data()
H A Dzfs_log.c606 lr->lr_offset = off; in zfs_log_write()
643 lr->lr_offset = off; in zfs_log_truncate()
H A Ddmu_traverse.c114 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in traverse_zil_record()
H A Dzil.c324 ZB_ZIL_LEVEL, lr->lr_offset / BP_GET_LSIZE(bp)); in zil_read_log_data()
1719 lrw->lr_offset += dnow; in zil_lwb_commit()
H A Ddsl_scan.c1436 lr->lr_offset / BP_GET_LSIZE(bp)); in dsl_scan_zil_record()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_rlock.h58 uint64_t lr_offset; /* file range offset */ member
H A Dzil.h311 uint64_t lr_offset; /* offset to write to */ member
321 uint64_t lr_offset; /* offset to truncate from */ member
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb_il.c161 (u_longlong_t)lr->lr_foid, (u_longlong_t)lr->lr_offset, in zil_prt_rec_write()
188 lr->lr_offset / BP_GET_LSIZE(bp)); in zil_prt_rec_write()
219 (u_longlong_t)lr->lr_foid, (longlong_t)lr->lr_offset, in zil_prt_rec_truncate()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode.c122 new->lr_offset = zp->z_size; in zfs_rangelock_cb()
129 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb()
132 new->lr_offset = 0; in zfs_rangelock_cb()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c101 new->lr_offset = zp->z_size; in zfs_rangelock_cb()
108 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb()
111 new->lr_offset = 0; in zfs_rangelock_cb()
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c1793 dmu_read(zd->zd_os, lr->lr_foid, lr->lr_offset, lr->lr_length, in ztest_log_write()
2007 offset = lr->lr_offset; in ztest_replay_write()
2129 rl = ztest_range_lock(zd, lr->lr_foid, lr->lr_offset, lr->lr_length, in ztest_replay_truncate()
2134 dmu_tx_hold_free(tx, lr->lr_foid, lr->lr_offset, lr->lr_length); in ztest_replay_truncate()
2143 VERIFY(dmu_free_range(os, lr->lr_foid, lr->lr_offset, in ztest_replay_truncate()
2281 uint64_t offset = lr->lr_offset; in ztest_get_data()
2522 lr->lr_offset = offset; in ztest_write()
2545 lr->lr_offset = offset; in ztest_truncate()