Lines Matching refs:printf
77 printf("%6s " // rights in print_vmo()
98 printf("rights koid parent #chld #map #shr size alloc name\n"); in print_header()
108 printf("[%zd entries truncated]\n", avail - count); in print_vmos()
122 printf("Usage: %s <process-koid>\n", argv[0]); in try_help()
123 printf("\n"); in try_help()
124 printf("Dumps a process's VMOs to stdout.\n"); in try_help()
125 printf("\n"); in try_help()
126 printf("The process either maps or has a handle to every VMO in this list (or both).\n"); in try_help()
127 printf("The same VMO may appear multiple times: the process could map the same VMO\n"); in try_help()
128 printf("twice, or have two handles to it, or both map it and have a handle to it.\n"); in try_help()
130 printf("\n"); in try_help()
131 printf("Columns:\n"); in try_help()
132 printf(" rights: If the process points to the VMO via a handle, this column\n"); in try_help()
133 printf(" shows the rights that the handle has, zero or more of:\n"); in try_help()
134 printf(" r: ZX_RIGHT_READ\n"); in try_help()
135 printf(" w: ZX_RIGHT_WRITE\n"); in try_help()
136 printf(" x: ZX_RIGHT_EXECUTE\n"); in try_help()
137 printf(" m: ZX_RIGHT_MAP\n"); in try_help()
138 printf(" d: ZX_RIGHT_DUPLICATE\n"); in try_help()
139 printf(" t: ZX_RIGHT_TRANSFER\n"); in try_help()
140 printf(" NOTE: Non-handle entries will have a single '-' in this column.\n"); in try_help()
141 printf(" koid: The koid of the VMO, if it has one. Zero otherwise. A VMO without a\n"); in try_help()
142 printf(" koid was created by the kernel, and has never had a userspace handle.\n"); in try_help()
143 printf(" parent: The koid of the VMO's parent, if it's a clone.\n"); in try_help()
144 printf(" #chld: The number of active clones (children) of the VMO.\n"); in try_help()
145 printf(" #map: The number of times the VMO is currently mapped into VMARs.\n"); in try_help()
146 printf(" #shr: The number of processes that map (share) the VMO.\n"); in try_help()
147 printf(" size: The VMO's current size, in bytes.\n"); in try_help()
148 printf(" alloc: The amount of physical memory allocated to the VMO, in bytes.\n"); in try_help()
149 printf(" NOTE: If this column contains the value 'phys', it means that the\n"); in try_help()
150 printf(" VMO points to a raw physical address range like a memory-mapped\n"); in try_help()
151 printf(" device. 'phys' VMOs do not consume RAM.\n"); in try_help()
152 printf(" name: The name of the VMO, or - if its name is empty.\n"); in try_help()