Searched refs:ctob (Results 1 – 15 of 15) sorted by relevance
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_machdep.c | 123 ctob(physmem) / (1024 * 1024)); in mips_init() 131 MIN(mr[0].mr_size, ctob(realmem))); in mips_init() 145 ctob(physmem) / (1024 * 1024)); in mips_init() 149 ctob(physmem) / (1024 * 1024)); in mips_init() 154 dump_avail[1] = phys_avail[1] = ctob(physmem) in mips_init() 156 } else if (ctob(physmem) < (448 * 1024 * 1024)) { in mips_init() 161 dump_avail[1] = phys_avail[1] = ctob(physmem); in mips_init() 169 phys_avail[3] = phys_avail[2] + ctob(physmem) - in mips_init() 182 dump_avail[1] = phys_avail[1] = ctob(physmem); in mips_init()
|
| /f-stack/freebsd/mips/beri/ |
| H A D | beri_machdep.c | 110 phys_avail[1] = ctob(realmem); in mips_init() 126 phys_avail[1] = (mr[0].mr_start + MIN(mr[0].mr_size, ctob(realmem))); in mips_init()
|
| /f-stack/freebsd/sys/ |
| H A D | param.h | 203 #ifndef ctob 204 #define ctob(x) ((x)<<PAGE_SHIFT) macro
|
| /f-stack/freebsd/i386/i386/ |
| H A D | vm86.c | 394 #define IOMAP_SIZE ctob(IOPAGES) 417 _Static_assert(sizeof(struct vm86_layout_pae) <= ctob(3), 419 _Static_assert(sizeof(struct vm86_layout_nopae) <= ctob(3), 524 ctob(3) - sizeof(struct vm86_layout)); in vm86_initialize_pae() 588 ctob(3) - sizeof(struct vm86_layout)); in vm86_initialize_nopae()
|
| H A D | sys_machdep.c | 288 ctob(IOPAGES + 1) - 1, /* length */ in i386_extend_pcb() 297 ext = pmap_trm_alloc(ctob(IOPAGES + 1), M_WAITOK | M_ZERO); in i386_extend_pcb() 312 for (i = 0; i < (ctob(IOPAGES) + 32 + 16) / sizeof(u_long); i++) in i386_extend_pcb()
|
| H A D | vm_machdep.c | 332 pmap_trm_free(pcb->pcb_ext, ctob(IOPAGES + 1)); in cpu_thread_clean()
|
| H A D | bios.c | 378 if (arg_end - arg_start > ctob(16)) in bios16()
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_machdep.c | 152 phys_avail[1] = (mr[0].mr_start + MIN(mr[0].mr_size, ctob(realmem))); in mips_init()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_mib.c | 205 val = ctob(p); in sysctl_hw_physmem() 221 val = ctob(p); in sysctl_hw_realmem() 238 val = ctob(p); in sysctl_hw_usermem()
|
| /f-stack/freebsd/mips/atheros/ar531x/ |
| H A D | ar5315_machdep.c | 226 phys_avail[1] = ctob(realmem); in platform_start()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | vm_machdep.c | 331 (vm_offset_t)pcb->pcb_tssp + ctob(IOPAGES + 1)); in cpu_thread_clean() 332 kmem_free((vm_offset_t)pcb->pcb_tssp, ctob(IOPAGES + 1)); in cpu_thread_clean()
|
| H A D | sys_machdep.c | 421 tssp = (struct amd64tss *)kmem_malloc(ctob(IOPAGES + 1), 424 ctob(IOPAGES + 1), false);
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_machdep.c | 356 phys_avail[1] = ctob(realmem); in platform_start()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_unix.c | 107 old = base + ctob(vm->vm_dsize); in kern_break()
|
| H A D | vm_map.c | 4254 entry->start < (vm_offset_t)vm1->vm_daddr + ctob(vm1->vm_dsize)) { in vmspace_map_entry_forked() 4256 (vm_offset_t)vm1->vm_daddr + ctob(vm1->vm_dsize)); in vmspace_map_entry_forked() 4259 entry->start < (vm_offset_t)vm1->vm_taddr + ctob(vm1->vm_tsize)) { in vmspace_map_entry_forked() 4261 (vm_offset_t)vm1->vm_taddr + ctob(vm1->vm_tsize)); in vmspace_map_entry_forked() 4698 if (is_procstack && (ctob(vm->vm_ssize) + grow_amount > stacklim)) in vm_map_growstack() 4705 ctob(vm->vm_ssize) + grow_amount)) { in vm_map_growstack() 4716 if (is_procstack && (ctob(vm->vm_ssize) + grow_amount > stacklim)) { in vm_map_growstack() 4718 ctob(vm->vm_ssize); in vm_map_growstack() 4725 if (is_procstack && (ctob(vm->vm_ssize) + grow_amount > limit)) in vm_map_growstack() 4726 grow_amount = limit - ctob(vm->vm_ssize); in vm_map_growstack() [all …]
|