Records

Functions

  • void SimpleTrapDirty (bool )

    Tests that a VMO created with TRAP_DIRTY can be supplied, and generates VMO_DIRTY requests when

    written to.

    Defined at line 38 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • bool check_buffer_data (Vmo * vmo, uint64_t offset, uint64_t len, const void * data, bool check_vmar)

    Defined at line 294 of file ../../zircon/system/utest/core/pager/userpager.h

  • bool check_buffer (Vmo * vmo, uint64_t offset, uint64_t len, bool check_vmar)

    Defined at line 299 of file ../../zircon/system/utest/core/pager/userpager.h

  • void NoQueryOnClone (uint32_t create_option)

    Tests that dirty ranges cannot be queried on a clone.

    Defined at line 1379 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void SimpleWriteback (uint32_t create_option)

    Tests that WRITEBACK_BEGIN/END clean pages as expected.

    Defined at line 1437 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void CannotOverwriteZeroPage (uint32_t create_option)

    Tests that the zero page marker cannot be overwritten by another page, unless written to at which

    point it is forked.

    Defined at line 1731 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void DirtyAfterMapProtect (uint32_t create_option)

    Tests that adding the WRITE permission with zx_vmar_protect does not override read-only mappings

    required in order to track dirty transitions.

    Defined at line 1943 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeSupplyZero (uint32_t create_option)

    Tests that zero pages are supplied by the kernel for the newly extended range after a resize, and

    are not overwritten by a pager supply.

    Defined at line 2009 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWriteback (uint32_t create_option)

    Tests that writeback on a resized VMO works as expected.

    Defined at line 2215 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackIntersectingWrite (uint32_t create_option)

    Tests that a write interleaved with a writeback retains the dirtied page that falls in the zero

    range being written back.

    Defined at line 2635 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackNonIntersectingWrite (uint32_t create_option)

    Tests that a write outside of an awaiting clean zero range does not affect it.

    Defined at line 2705 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackIntersectingRandomWrites (uint32_t create_option)

    Tests extending the VMO, starting a writeback on the extended range, and then writing to random

    pages in the extended range before ending the writeback.

    Defined at line 2791 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizePartialWritebackIntersectingRandomWrites (uint32_t create_option)

    Tests extending the VMO, starting a writeback on only a portion of the extended range, and then

    writing to random pages in the extended range before ending the writeback.

    Defined at line 2887 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackIntersectingResize (uint32_t create_option)

    Tests that a resize interleaved with a writeback trims / resets an awaiting clean zero range if

    it intersects it.

    Defined at line 2999 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackNonIntersectingResize (uint32_t create_option)

    Tests that a resize beyond an awaiting clean zero range does not affect it.

    Defined at line 3116 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackAfterGap (uint32_t create_option)

    Tests that writeback on a resized range that starts after a gap (zero range) is handled.

    Defined at line 3157 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackMulipleGaps (uint32_t create_option)

    Tests that writeback on a resized range with multiple zero ranges (gaps) can clean all the gaps.

    Defined at line 3234 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackSequential (uint32_t create_option)

    Tests starting multiple sequential writebacks on the resized range, both for gaps and pages.

    Defined at line 3321 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackPartialEnd (uint32_t create_option)

    Tests that a WritebackBegin on a resized range followed by a partial WritebackEnd works as

    expected.

    Defined at line 3397 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackRepeated (uint32_t create_option)

    Tests repeated writebacks on a resized range.

    Defined at line 3444 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackWithMapping (uint32_t create_option)

    Tests that a resized range that has mappings can be written back as expected.

    Defined at line 3527 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackInterleavedWriteWithMapping (uint32_t create_option)

    Tests that a resized range that has mappings and is in the process of being written back is

    dirtied again on a write.

    Defined at line 3616 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ResizeWritebackDirtyAfterQuery (uint32_t create_option)

    Tests that writing a page after a dirty zero range is queried but before it is written back is

    left dirty.

    Defined at line 3743 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void WritebackCombined (uint32_t create_option)

    Verifies that multiple dirty ranges (zero and non-zero) can be written back together.

    Defined at line 3790 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void WritebackOutOfOrder (uint32_t create_option)

    Verifies that writing back dirty ranges (both zero and non-zero) out of order cleans everything.

    Defined at line 3853 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void WritebackOutOfOrderCombinedEnd (uint32_t create_option)

    Verifies starting writeback on ranges out of order and ending all together.

    Defined at line 3923 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void WritebackOutOfOrderCombinedBegin (uint32_t create_option)

    Verifies starting writeback on ranges all together and ending out of order.

    Defined at line 3990 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroTail (uint32_t create_option)

    Test that OP_ZERO is a no-op over a newly extended (but not written back yet) uncommitted range.

    Defined at line 4183 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroDecommit (uint32_t create_option)

    Test that OP_ZERO can decommit committed pages in a newly extended (but not written back yet)

    range.

    Defined at line 4228 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroClone (uint32_t create_option)

    Test OP_ZERO on a clone of a pager-backed VMO.

    Defined at line 4303 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroResize (uint32_t create_option)

    Test OP_ZERO that conflicts with a simultaneous resize.

    Defined at line 4401 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroPartialPage (uint32_t create_option)

    Test OP_ZERO on partial pages.

    Defined at line 4457 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroExpandsTail (uint32_t create_option)

    Tests that OP_ZERO just before the tail can efficiently expand the tail and avoid page requests.

    Defined at line 4518 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroWriteback (uint32_t create_option)

    Tests OP_ZERO with interleaved writeback.

    Defined at line 4591 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroWithMarkers (uint32_t create_option)

    Tests OP_ZERO over zero page markers.

    Defined at line 4644 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroPinned (uint32_t create_option)

    Tests that zeroing across a pinned page clips expansion of the tail.

    Defined at line 4698 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void OpZeroUnblocksReadRequest (uint32_t create_option)

    Tests that zeroing the tail unblocks any previous read requests.

    Defined at line 4775 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void WritebackDirtyPagesAfterDetach (uint32_t create_option)

    Tests that dirty pages can be written back after detach.

    Defined at line 4827 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void WritebackResizedRangeAfterDetach (uint32_t create_option)

    Tests that a newly resized range can be written back after detach.

    Defined at line 4889 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void DecommitCleanOnDetach (uint32_t create_option)

    Tests that clean pages are decommitted on detach.

    Defined at line 4953 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void NoDirtyRequestsAfterDetach (bool )

    Tests that DIRTY requests cannot be generated after detach.

    Defined at line 4989 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void DetachWithPendingDirtyRequest (bool )

    Tests that detach with a pending DIRTY request fails the request.

    Defined at line 5076 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ModifiedOnVmoWrite (uint32_t create_option)

    Tests that a VMO is marked modified on a zx_vmo_write.

    Defined at line 5177 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ModifiedOnMappingWrite (uint32_t create_option)

    Tests that a VMO is marked modified when written through a mapping.

    Defined at line 5222 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ModifiedOnResize (uint32_t create_option)

    Tests that a VMO is marked modified on resize.

    Defined at line 5278 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ModifiedOnOpZero (uint32_t create_option)

    Tests that a VMO is marked modified on a ZX_VMO_OP_ZERO.

    Defined at line 5328 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void NotModifiedOnVmoRead (uint32_t create_option)

    Tests that a VMO is not marked modified on a zx_vmo_read.

    Defined at line 5372 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void NotModifiedOnMappingRead (uint32_t create_option)

    Tests that a VMO is not marked modified when read through a mapping.

    Defined at line 5408 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void NotModifiedOnFailedVmoWrite (uint32_t create_option)

    Tests that a VMO is not marked modified on a failed zx_vmo_write.

    Defined at line 5531 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void NotModifiedOnFailedResize (uint32_t create_option)

    Tests that a VMO is not marked modified on a failed resize.

    Defined at line 5600 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ModifiedOnPartialVmoWrite (uint32_t create_option)

    Tests that a VMO is marked modified when a zx_vmo_write partially succeeds.

    Defined at line 5663 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void NotModifiedCloneWrite (uint32_t create_option)

    Tests that a clone cannot be marked modified.

    Defined at line 5771 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ModifiedNoReset (uint32_t create_option)

    Tests that querying the modified state without the reset option does not reset.

    Defined at line 5821 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void PinForRead (uint32_t create_option)

    Tests that pinning a page for read does not dirty it and does not mark the VMO modified.

    Defined at line 5872 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void PinForWrite (uint32_t create_option)

    Tests that pinning a page for write dirties it and marks the VMO modified.

    Defined at line 5931 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void PinnedWriteback (uint32_t create_option)

    Tests that a page cannot be marked clean while it is pinned.

    Defined at line 6010 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void ReadPinAwaitingClean (uint32_t create_option)

    Tests pinned read with interleaved writeback.

    Defined at line 6110 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void WritePinAwaitingClean (uint32_t create_option)

    Tests pinned write with interleaved writeback.

    Defined at line 6197 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void PinForWriteUnpopulated (uint32_t create_option)

    Tests that both READ and DIRTY requests are generated as expected when pinning an unpopulated

    range for write.

    Defined at line 6713 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void SlicePinWrite (uint32_t create_option)

    Tests pinning for write through a slice.

    Defined at line 6958 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void SliceWrite (uint32_t create_option)

    Tests writing to a VMO through a slice.

    Defined at line 7051 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void SliceOpZero (uint32_t create_option)

    Tests OP_ZERO on a slice.

    Defined at line 7163 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void CommitResizeRace (uint32_t create_option)

    Tests a racing resize while a commit is blocked on a page request.

    Defined at line 7222 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void NoDirtyOnCommit (uint32_t create_option)

    Tests that committing both actual pages and zero page markers does not dirty the pages.

    Defined at line 7311 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void CommitExtendedTail (uint32_t create_option)

    Tests that committing pages in the newly extended tail does not lose dirtiness.

    Defined at line 7348 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc

  • void SuspendDirtyTest (bool )

    Test that suspending and resuming a thread in the middle of a dirty request works.

    Defined at line 8173 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc