Searched refs:btoc (Results 1 – 18 of 18) sorted by relevance
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_machdep.c | 117 realmem = btoc(448 * 1024 * 1024); in mips_init() 120 physmem = btoc(val); in mips_init() 143 physmem = btoc(strtol(memsize, NULL, 0) << 20); in mips_init() 147 physmem = btoc(32 * 1024 * 1024); in mips_init() 181 physmem = btoc(32 * 1024 * 1024); in mips_init()
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_machdep.c | 148 return (btoc(board_mem * 1024 * 1024)); in ar71xx_routerboot_get_mem() 318 realmem = btoc(strtoul(envp[i+1], NULL, 16)); in platform_start() 320 bootverbose = btoc(strtoul(envp[i+1], NULL, 10)); in platform_start() 338 realmem = btoc(32*1024*1024); in platform_start() 351 realmem = btoc(AR71XX_REALMEM); in platform_start()
|
| /f-stack/freebsd/mips/atheros/ar531x/ |
| H A D | ar5315_machdep.c | 194 realmem = btoc(strtoul(envp[i+1], NULL, 16)); in platform_start() 208 realmem = btoc(16*1024*1024); in platform_start() 221 realmem = btoc(AR531X_REALMEM); in platform_start()
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_machdep.c | 131 physmem = realmem = btoc(32 * 1024 * 1024); in mips_init() 145 physmem = realmem = btoc(val); in mips_init()
|
| /f-stack/freebsd/mips/beri/ |
| H A D | beri_machdep.c | 119 physmem = btoc(val); in mips_init() 275 realmem = btoc(memsize); in platform_start()
|
| /f-stack/freebsd/sys/ |
| H A D | param.h | 208 #ifndef btoc 209 #define btoc(x) (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT) macro
|
| /f-stack/freebsd/vm/ |
| H A D | vm_unix.c | 212 vm->vm_dsize += btoc(new - old); in kern_break() 219 vm->vm_dsize -= btoc(old - new); in kern_break()
|
| H A D | vm_init.c | 181 physmem_est = lmin(physmem, btoc(vm_map_max(kernel_map) - in vm_ksubmap_init()
|
| H A D | vm_map.c | 4252 vm2->vm_ssize += btoc(entrysize); in vmspace_map_entry_forked() 4257 vm2->vm_dsize += btoc(newend - entry->start); in vmspace_map_entry_forked() 4262 vm2->vm_tsize += btoc(newend - entry->start); in vmspace_map_entry_forked() 4824 vm->vm_ssize += btoc(grow_amount); in vm_map_growstack()
|
| H A D | vnode_pager.c | 1320 ncount = btoc(maxsize); in vnode_pager_generic_putpages()
|
| /f-stack/freebsd/mips/cavium/ |
| H A D | octeon_machdep.c | 223 realmem = physmem = btoc(phys_avail[1] - phys_avail[0]); in octeon_memory_init() 258 physmem += btoc(1 << 20); in octeon_memory_init()
|
| /f-stack/freebsd/mips/malta/ |
| H A D | malta_machdep.c | 367 realmem = btoc(ememsize); in platform_start()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_physio.c | 107 maxpages = btoc(MIN(uio->uio_resid, maxphys)) + 1; in physio()
|
| H A D | sysv_shm.c | 258 shm_committed -= btoc(size); in shm_deallocate_segment() 701 if (shm_committed + btoc(size) > shminfo.shmall) in shmget_allocate_segment() 767 shm_committed += btoc(size); in shmget_allocate_segment()
|
| H A D | uipc_ktls.c | 1989 vm_paddr_t parray[1 + btoc(TLS_MAX_MSG_SIZE_V10_2)]; in ktls_encrypt() 1990 struct iovec src_iov[1 + btoc(TLS_MAX_MSG_SIZE_V10_2)]; in ktls_encrypt() 1991 struct iovec dst_iov[1 + btoc(TLS_MAX_MSG_SIZE_V10_2)]; in ktls_encrypt()
|
| /f-stack/freebsd/mips/broadcom/ |
| H A D | bcm_machdep.c | 511 realmem = btoc(physmem); in mips_init()
|
| /f-stack/freebsd/mips/nlm/ |
| H A D | xlp_machdep.c | 502 realmem = physmem = btoc(physsz); in xlp_mem_init()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vnops_os.c | 4165 pcount = btoc(len); in zfs_putpages() 4186 ncount = btoc(len); in zfs_putpages()
|