struct VmCowRange

Defined at line 68 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

Public Members

uint64_t offset
uint64_t len

Public Methods

void VmCowRange ()

Defined at line 72 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

void VmCowRange (uint64_t offset, uint64_t len)

Defined at line 73 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

uint64_t end ()

Defined at line 75 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

bool is_empty ()

Defined at line 76 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

bool is_page_aligned ()

Defined at line 77 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

VmCowRange ExpandTillPageAligned ()

Defined at line 78 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

VmCowRange OffsetBy (uint64_t delta)

Defined at line 83 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

VmCowRange TrimmedFromStart (uint64_t amount)

Defined at line 84 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

VmCowRange Cover (VmCowRange other)

Returns the minimal range that covers both |this| and |other|. If these ranges are disjoint

then the returned range will be larger than combined length of |this| and |other| in order to

span both using a single range.

Defined at line 90 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

VmCowRange WithLength (uint64_t new_length)

Defined at line 101 of file ../../zircon/kernel/vm/include/vm/vm_cow_pages.h

bool IsBoundedBy (uint64_t max)

Defined at line 811 of file ../../zircon/kernel/vm/vm_cow_pages.cc