79 MEMINFO_VREPL | n 80 nth physical replica of specified virtual 81 address 82 83 84 MEMINFO_VREPL_LGRP | n 85 lgrp of nth physical replica of specified 86 virtual address 87 88 89 MEMINFO_PLGRP 90 locality group of specified physical address 91 92 93 94 All but MEMINFO_VLGRP and MEMINFO_VPAGESIZE require the 95 PRIV_PROC_MEMINFO privilege. 96 97 98 RETURN VALUES 99 Upon successful completion meminfo() returns 0. Otherwise -1 is 100 returned and errno is set to indicate the error. 101 102 ERRORS 103 The meminfo() function will fail if: 104 105 EFAULT 106 The area pointed to by outdata or validity could not be 107 written, or the data pointed to by info_req or inaddr could 108 not be read. 109 110 111 EINVAL 112 The value of info_count is greater than 31 or less than 1, or 113 the value of addr_count is less than 1. 114 115 116 EXAMPLES 117 Example 1 Print physical pages and page sizes corresponding to a set of 118 virtual addresses.  | 79 MEMINFO_VREPL | n 80 nth physical replica of specified virtual 81 address 82 83 84 MEMINFO_VREPL_LGRP | n 85 lgrp of nth physical replica of specified 86 virtual address 87 88 89 MEMINFO_PLGRP 90 locality group of specified physical address 91 92 93 94 All but MEMINFO_VLGRP and MEMINFO_VPAGESIZE require the 95 PRIV_PROC_MEMINFO privilege. 96 97 98 RETURN VALUES 99 All but MEMINFO_VLGRP and MEMINFO_VPAGESIZE require the 100 PRIV_PROC_MEMINFO privilege. 101 102 103 RETURN VALUES 104 Upon successful completion meminfo() returns 0. Otherwise -1 is 105 returned and errno is set to indicate the error. 106 107 ERRORS 108 The meminfo() function will fail if: 109 110 EFAULT 111 The area pointed to by outdata or validity could not be 112 written, or the data pointed to by info_req or inaddr could 113 not be read. 114 115 116 EINVAL 117 The value of info_count is greater than 31 or less than 1, or 118 the value of addr_count is less than 1. 119 120 121 EXAMPLES 122 Example 1 Print physical pages and page sizes corresponding to a set of 123 virtual addresses.  |