Searched refs:lwb (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dzil.c89 * This controls the amount of time that a ZIL block (lwb) will remain
144 static void zil_lwb_commit(zilog_t *zilog, lwb_t *lwb, itx_t *itx);
778 * Allocate a new lwb. We may already have a block pointer for it, in which
786 lwb_t *lwb; local
788 lwb = kmem_cache_alloc(zil_lwb_cache, KM_SLEEP);
789 lwb->lwb_zilog = zilog;
791 lwb->lwb_blk = *bp;
792 lwb->lwb_slim = (BP_GET_CHECKSUM(bp) == ZIO_CHECKSUM_ZILOG2);
795 BP_ZERO(&lwb->lwb_blk);
796 lwb
829 zil_free_lwb(zilog_t *zilog, lwb_t *lwb) argument
947 lwb_t *lwb = NULL; local
1048 lwb_t *lwb; local
1304 zil_commit_waiter_link_lwb(zil_commit_waiter_t *zcw, lwb_t *lwb) argument
1339 zil_lwb_add_block(lwb_t *lwb, const blkptr_t *bp) argument
1366 zil_lwb_flush_defer(lwb_t *lwb, lwb_t *nlwb) argument
1402 zil_lwb_add_txg(lwb_t *lwb, uint64_t txg) argument
1423 lwb_t *lwb = zio->io_private; local
1513 lwb_t *lwb = list_head(&zilog->zl_lwb_list); local
1546 lwb_t *lwb = zio->io_private; local
1648 zil_lwb_set_zio_dependency(zilog_t *zilog, lwb_t *lwb) argument
1694 zil_lwb_write_open(zilog_t *zilog, lwb_t *lwb) argument
1806 zil_lwb_write_close(zilog_t *zilog, lwb_t *lwb, lwb_state_t state) argument
1863 zil_lwb_write_issue(zilog_t *zilog, lwb_t *lwb) argument
2111 zil_lwb_assign(zilog_t *zilog, lwb_t *lwb, itx_t *itx, list_t *ilwbs) argument
2226 zil_lwb_commit(zilog_t *zilog, lwb_t *lwb, itx_t *itx) argument
2862 lwb_t *lwb, *plwb; local
3107 lwb_t *lwb; local
3157 lwb_t *lwb = zcw->zcw_lwb; local
3302 lwb_t *lwb = zcw->zcw_lwb; local
3668 lwb_t *lwb; local
3750 lwb_t *lwb = vbuf; local
3764 lwb_t *lwb = vbuf; local
3929 lwb_t *lwb; local
[all...]
H A Dzvol.c667 struct lwb *lwb, zio_t *zio)
676 ASSERT3P(lwb, !=, NULL);
680 zgd->zgd_lwb = lwb;
666 zvol_get_data(void *arg, uint64_t arg2, lr_write_t *lr, char *buf, struct lwb *lwb, zio_t *zio) argument
H A Dzfs_vnops.c841 struct lwb *lwb, zio_t *zio)
854 ASSERT3P(lwb, !=, NULL);
882 zgd->zgd_lwb = lwb;
840 zfs_get_data(void *arg, uint64_t gen, lr_write_t *lr, char *buf, struct lwb *lwb, zio_t *zio) argument
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Dzvol_impl.h89 struct lwb *lwb, zio_t *zio);
H A Dzil.h44 struct lwb;
547 struct lwb *lwb, zio_t *zio);
589 extern void zil_lwb_add_block(struct lwb *lwb, const blkptr_t *bp);
590 extern void zil_lwb_add_txg(struct lwb *lwb, uint64_t txg);
H A Dzil_impl.h39 * Possible states for a given lwb structure.
41 * An lwb will start out in the "new" state, and transition to the "opened"
46 * After the lwb is "opened", it can be assigned number of itxs and transition
49 * must be held. New lwb allocation also takes "zl_lock" to protect the list.
51 * After the lwb is "closed", it can transition into the "ready" state via
55 * When lwb in "ready" state receives its block pointer, it can transition to
58 * After the lwb's write zio completes, it transitions into the "write
66 * transitioning an lwb from "issued" to "done". This allows us to avoid
67 * having to acquire the "zl_issuer_lock" for each lwb ZIO completion,
71 * Additionally, correctness when reading an lwb'
102 typedef struct lwb { struct
[all...]
H A Ddmu.h1069 struct lwb *zgd_lwb;
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dztest.c2471 struct lwb *lwb, zio_t *zio)
2486 ASSERT3P(lwb, !=, NULL);
2509 zgd->zgd_lwb = lwb;
2470 ztest_get_data(void *arg, uint64_t arg2, lr_write_t *lr, char *buf, struct lwb *lwb, zio_t *zio) argument

Completed in 281 milliseconds