Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

vm_region_submap_info_64

Public Struct
std.c.darwin.vm_region_submap_info_64
pub const vm_region_submap_info_64 = extern struct

Fields

protection: vm_prot_t

present across protection

max_protection: vm_prot_t

max avail through vm_prot

inheritance: vm_inherit_t

behavior of map/obj on fork

offset: memory_object_offset_t

offset into object/map

user_tag: u32

user tag on map entry

pages_resident: u32

only valid for objects

pages_shared_now_private: u32

only for objects

pages_swapped_out: u32

only for objects

pages_dirtied: u32

only for objects

ref_count: u32

obj/map mappers, etc.

shadow_depth: u16

only for obj

external_pager: u8

only for obj

share_mode: u8

see enumeration

is_submap: boolean_t

submap vs obj

behavior: vm_behavior_t

access behavior hint

object_id: vm32_object_id_t

obj/map name, not a handle

user_wired_count: u16
pages_reusable: u32
object_id_full: vm_object_id_t

File

c/darwin.zig:631
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
pub const vm_region_submap_info_64 = extern struct {
    // present across protection
    protection: vm_prot_t,
    // max avail through vm_prot
    max_protection: vm_prot_t,
    // behavior of map/obj on fork
    inheritance: vm_inherit_t,
    // offset into object/map
    offset: memory_object_offset_t,
    // user tag on map entry
    user_tag: u32,
    // only valid for objects
    pages_resident: u32,
    // only for objects
    pages_shared_now_private: u32,
    // only for objects
    pages_swapped_out: u32,
    // only for objects
    pages_dirtied: u32,
    // obj/map mappers, etc.
    ref_count: u32,
    // only for obj
    shadow_depth: u16,
    // only for obj
    external_pager: u8,
    // see enumeration
    share_mode: u8,
    // submap vs obj
    is_submap: boolean_t,
    // access behavior hint
    behavior: vm_behavior_t,
    // obj/map name, not a handle
    object_id: vm32_object_id_t,
    user_wired_count: u16,
    pages_reusable: u32,
    object_id_full: vm_object_id_t,
}