Searched refs:lr_length (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_rlock.c | 147 uint64_t orig_len = new->lr_length; in rangelock_enter_writer() 183 lr->lr_offset < new->lr_offset + new->lr_length) in rangelock_enter_writer() 188 lr->lr_offset + lr->lr_length > new->lr_offset) in rangelock_enter_writer() 202 new->lr_length = orig_len; in rangelock_enter_writer() 228 proxy->lr_length = lr->lr_length; in rangelock_proxify() 246 ASSERT3U(lr->lr_length, >, 1); in rangelock_split() 248 ASSERT3U(off, <, lr->lr_offset + lr->lr_length); in rangelock_split() 255 rear->lr_length = lr->lr_offset + lr->lr_length - off; in rangelock_split() 263 front->lr_length = off - lr->lr_offset; in rangelock_split() 278 lr->lr_length = len; in rangelock_new_proxy() [all …]
|
H A D | zfs_replay.c | 683 length = lr->lr_length; in zfs_replay_write() 741 end = lr->lr_offset + lr->lr_length; in zfs_replay_write2() 791 fl.l_len = lr->lr_length; in zfs_replay_truncate()
|
H A D | zfs_log.c | 530 lr->lr_length = len; in zfs_log_write() 564 lr->lr_length = len; in zfs_log_truncate()
|
H A D | zvol.c | 388 length = lr->lr_length; in zvol_replay_truncate() 413 length = lr->lr_length; in zvol_replay_write() 991 uint64_t size = lr->lr_length; /* length of user data */ in zvol_get_data() 1104 lr->lr_length = len; in zvol_log_write() 1598 lr->lr_length = len; in zvol_log_truncate()
|
H A D | zil.c | 287 bzero(wbuf, MAX(BP_GET_LSIZE(bp), lr->lr_length)); in zil_read_log_data() 1550 lrw->lr_length, sizeof (uint64_t), uint64_t); in zil_lwb_commit() 1597 if (lrwb->lr_length > dnow) in zil_lwb_commit() 1598 lrwb->lr_length = dnow; in zil_lwb_commit() 1600 lrw->lr_length -= dnow; in zil_lwb_commit()
|
H A D | zfs_znode.c | 143 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb() 147 new->lr_length = UINT64_MAX; in zfs_rangelock_cb()
|
H A D | zfs_vnops.c | 939 if (lr->lr_length == UINT64_MAX) { in zfs_write() 1052 if (lr->lr_length == UINT64_MAX) { in zfs_write() 1224 uint64_t size = lr->lr_length; in zfs_get_data() 1313 ASSERT(error || lr->lr_length <= size); in zfs_get_data()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb_il.c | 160 (u_longlong_t)lr->lr_length); in zil_prt_rec_write() 196 data = abd_alloc(lr->lr_length, B_FALSE); in zil_prt_rec_write() 197 abd_copy_from_buf(data, lr + 1, lr->lr_length); in zil_prt_rec_write() 202 0, MIN(lr->lr_length, (verbose < 6 ? 20 : SPA_MAXBLOCKSIZE)), in zil_prt_rec_write() 218 (u_longlong_t)lr->lr_length); in zil_prt_rec_truncate()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_rlock.h | 57 uint64_t lr_length; /* file range length */ member
|
H A D | zil.h | 313 uint64_t lr_length; /* user data length to write */ member 323 uint64_t lr_length; /* length to truncate */ member
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 1590 if (lr->lr_length > ZIL_MAX_LOG_DATA) in ztest_log_write() 1594 sizeof (*lr) + (write_state == WR_COPIED ? lr->lr_length : 0)); in ztest_log_write() 1597 dmu_read(zd->zd_os, lr->lr_foid, lr->lr_offset, lr->lr_length, in ztest_log_write() 1812 length = lr->lr_length; in ztest_replay_write() 1933 rl = ztest_range_lock(zd, lr->lr_foid, lr->lr_offset, lr->lr_length, in ztest_replay_truncate() 1938 dmu_tx_hold_free(tx, lr->lr_foid, lr->lr_offset, lr->lr_length); in ztest_replay_truncate() 1948 lr->lr_length, tx) == 0); in ztest_replay_truncate() 2087 uint64_t size = lr->lr_length; in ztest_get_data() 2325 lr->lr_length = size; in ztest_write() 2348 lr->lr_length = size; in ztest_truncate()
|