Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
53 * Round up the value to the nearest kilobyte
85 * The meminfo(2) system call accepts up to MAX_MEMINFO_CNT pages at once.
86 * When we need to scan larger ranges we divide them in MAX_MEMINFO_CNT sized
140 * <start_addr, end_addr>. Either one of these may be unspecified (set to
292 "\t-A start,end: limit output to the specified range\n");
297 * Make sure we'll have enough file descriptors to handle a target
311 * attached to it. To prevent such situation we catch signals from
316 * Buffer output to stdout, stderr while process is grabbed.
317 * Prevents infamous deadlocks due to pmap `pgrep xterm` and
402 * to make sure the address space doesn't change during
439 "librtld_db failed to initialize; "
697 * for it. We don't want to report the heap as a.out's data.
738 * We need to display lgroups backing physical memory, so we break the
751 * allocated to same lgroup.
835 * for it. We don't want to report the heap as a.out's data.
883 * We need to display lgroups backing physical memory, so we break the
896 * allocated to same lgroup.
939 * for it. We don't want to report the heap as a.out's data.
1018 * for it. We don't want to report the heap as a.out's data.
1181 (void) perr("failed to allocate maps");
1272 * Convert lgroup ID to string.
1290 * start and end is set to address
1292 * start is set to address, end is set to INVALID_ADDRESS
1294 * start is set to 0, end is set to address
1296 * start is set to address1, end is set to address2
1310 * remains set at INVALID_ADDRESS. Otherwise it is set to the
1323 * missing, start will be set to INVALID_ADDRESS.
1329 /* If there is no comma, end becomes equal to start */
1360 * Nothing to do if there is no address range specified with -A
1381 * The start_addr address is rounded down to the beginning of page and end_addr
1382 * is rounded up to the end of page.
1392 uintptr_t to; /* end_addr rounded up */
1395 * Round down the lower address of the range to the beginning of page.
1421 * Round up the higher address of the range to the end of page.
1436 to = (end_addr == start_addr && start == start_addr) ?
1443 if (start > to) {
1451 *new_end = end > to ? to : end;
1478 * Pass the whole chunk to pr_meminfo to collect lgroup and page size
1501 * copy starting address of each page to inaddr array for pr_meminfo.
1556 * pagesize Default page size to use
1571 size_t psz = pagesize; /* Pagesize to use */
1573 /* Set both lgroup IDs to the lgroup of the first page */
1592 * This page belongs to the contiguous region.
1593 * Increase the region size and advance to the new page.
1607 * information for an address, use it, otherwise shift the chunk window to the
1624 * starting from vaddr and apply pr_meminfo() to the whole chunk.