ctob
avail_end = ctob(xen_start_info.nr_pages);
m->ram_segs[0].size = ctob(physmem);
dumplo = nblks - btodb(ctob(dumpsize));
bytes = ctob(dumpsize);
mem_clusters[0].size = ctob(physmem);
dumplo = nblks - btodb(ctob(dumpsize));
mem_clusters[0].size = ctob(physmem) - 512;
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
mem_clusters[0].size = ctob(mem);
mem_clusters[0].size = ctob(physmem);
mem_clusters[0].size = ctob(physmem);
mem_clusters[0].size = ctob(physmem);
pn = prop_number_create_integer(ctob(physmem));
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
.pmbm_size = ctob(EIOMAPSIZE),
.pmbm_size = ctob(1),
printf("Parity error at 0x%x\n", ctob(pg)|o);
pmap_enter(pmap_kernel(), (vaddr_t)vmmap, ctob(pg),
bytes = ctob(physmem);
avail_end = ctob((paddr_t)xen_start_info.nr_pages);
pmap_pa_end = pmap_pa_start + ctob((paddr_t)xen_start_info.nr_pages);
rbus_min_start_hint(ctob((psize_t)physmem));
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
if (uvm_pglistalloc(AUMAC_BUFSIZE, 0, ctob(physmem), PAGE_SIZE, 0,
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
return (pa < ctob(physmem)) ? 0 : EFAULT;
mem_clusters[0].size = ctob(physmem);
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
apbd_work_pa = ctob(physmem);
mem_clusters[0].size = ctob(physmem);
mem_clusters[0].size = ctob(mem);
if (physadr <= ctob(physmem)) {
format_bytes(pbuf, sizeof(pbuf), ctob((uint64_t)physmem));
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
format_bytes(pbuf, sizeof(pbuf), ctob((u_int)physmem));
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
mem_clusters[0].size = ctob(physmem);
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
format_bytes(pbuf, sizeof(pbuf), ctob(arcsmem));
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
(unsigned long long)ctob(p->p_vmspace->vm_ssize));
format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
(unsigned long long)ctob(p->p_vmspace->vm_ssize));
format_bytes(pbuf, sizeof(pbuf), ctob((uint64_t)physmem));
kseg_p->c_size = (ctob(DUMP_EXTRA) - sizeof(*kseg_p));
kseg_p->c_size = (ctob(DUMP_EXTRA) - sizeof(*kseg_p));
kseg_p->c_size = (ctob(DUMP_EXTRA) - sizeof(*kseg_p));
if (ctob(physmem) > ka650merr_ptr->merr_qbmbr) {
ctob(physmem), (int)ka650merr_ptr->merr_qbmbr);
dumplo = nblks - btodb(ctob(dumpsize));
if (ctob(uvm_physseg_get_avail_end(x)) == avail_end)
sz = ctob(uvm_physseg_get_avail_end(x) - uvm_physseg_get_avail_start(x));
msgbuf_p_seg[msgbuf_p_cnt++].paddr = ctob(uvm_physseg_get_avail_end(x)) - sz;
avail_end = ctob(uvm_physseg_get_highest_frame());
ksi.physmem = ctob(physmem);
ksi.usermem = ctob(physmem); /* XXX */
si.totalram = ctob((u_long)physmem);
si.totalram = ctob((u_long)physmem);
ucp->uc_stack.ss_size = ctob(p->p_vmspace->vm_ssize);
ip->HostPhysMemPages = ctob(physmem) / AAC_PAGE_SIZE;
#define OOSIOP_MAX_XFER ctob(OOSIOP_NSG - 1)
if (ctob(physmem) <= 100*1024*1024)
cs.core.c_tsize = (u_long)ctob(vm->vm_tsize);
cs.core.c_dsize = (u_long)ctob(vm->vm_dsize);
cs.core.c_ssize = (u_long)round_page(ctob(vm->vm_ssize));
format_bytes(pbuf, MEM_PBUFSIZE, ctob((uint64_t)physmem));
format_bytes(pbuf, MEM_PBUFSIZE, ctob((uint64_t)uvm_availmem(false)));
if (ctob((uint64_t)physmem) >= 16ULL * 1024 * 1024 * 1024)
if (ctob((uint64_t)physmem) >= 1024 * 1024 * 1024)
if (USPACE + ctob(vm->vm_dsize + vm->vm_ssize) >=
uint64_t lwps_per = ctob(physmem) / (1024 * 1024);
lim = MIN(VM_MAXUSER_ADDRESS, ctob((rlim_t)uvm_availmem(false)));
ucp->uc_stack.ss_size = ctob(l->l_proc->p_vmspace->vm_ssize);
physmem_bytes = ctob((uint64_t) physmem);
ctob(procp->p_vmspace->vm_tsize +
physmem_bytes = ctob((uint64_t)physmem);
physmem_bytes = ctob((uint64_t)physmem);
ctob((rlim_t)uvm_availmem(false)));
paddr = ctob(seg->start);
*paddrp = ctob(seg->avail_start);
*paddrp = ctob(seg->avail_end - 1);
*paddrp = ctob(seg->avail_start);
*paddrp = ctob(seg->avail_start);
*paddrp = ctob(seg->avail_end - 1);
*paddrp = ctob(seg->avail_start);
if (sp < p->p_stackbase + ctob(vm->vm_ssize))
if (sp >= p->p_stackbase - ctob(vm->vm_ssize))
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_1);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_1);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_1);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_1);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_1);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_1);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_1);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_2);
if(pa < ctob(VALID_START_PFN_2))
pa += ctob(VALID_START_PFN_2);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_3);
if(pa < ctob(VALID_START_PFN_3))
pa += ctob(VALID_START_PFN_3);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_4);
if(pa < ctob(VALID_START_PFN_4))
pa += ctob(VALID_START_PFN_4);
pa = (paddr_t) random() % (paddr_t) ctob(VALID_END_PFN_5);
if(pa < ctob(VALID_END_PFN_5))
pa += ctob(VALID_START_PFN_5);