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 167 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 1508 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 1566 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 1860 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 2072 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 2138 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 2344 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 2764 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 2834 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 2920 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 3016 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 3128 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 3245 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 3286 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 3363 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 3450 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 3526 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 3573 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 3656 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 3745 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 3872 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 3919 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 3982 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 4052 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 4119 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 4312 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 4357 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 4432 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 4530 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 4586 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 4647 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 4720 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 4773 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 4827 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 4904 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 4956 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 5018 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 5082 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 5118 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 5205 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 5306 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 5351 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 5407 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 5457 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 5501 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 5537 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 5660 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 5729 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 5792 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 5900 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 5950 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 6001 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 6060 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 6121 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 6200 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 6287 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 6728 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 6919 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 6994 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 7106 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 7165 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 7254 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 7291 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 8116 of file ../../zircon/system/utest/core/pager-writeback/pager-writeback.cc