/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | page.h | 99 #undef btoc 100 #define btoc(x) (((vm_offset_t)(x) + PAGE_SIZE - 1) >> PAGE_SHIFT) macro
|
/freebsd/sys/sys/ |
H A D | param.h | 224 #ifndef btoc 225 #define btoc(x) (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT) macro
|
/freebsd/sys/vm/ |
H A D | vm_unix.c | 207 vm->vm_dsize += btoc(new - old); in kern_break() 214 vm->vm_dsize -= btoc(old - new); in kern_break()
|
H A D | vm_init.c | 198 physmem_est = lmin(physmem, btoc(vm_map_max(kernel_map) - in vm_ksubmap_init()
|
H A D | vm_map.c | 4319 vm2->vm_ssize += btoc(entrysize); in vmspace_map_entry_forked() 4324 vm2->vm_dsize += btoc(newend - entry->start); in vmspace_map_entry_forked() 4329 vm2->vm_tsize += btoc(newend - entry->start); in vmspace_map_entry_forked() 4855 vm->vm_ssize += btoc(grow_amount); in vm_map_growstack()
|
H A D | vnode_pager.c | 1367 ncount = btoc(maxsize); in vnode_pager_generic_putpages()
|
/freebsd/sys/opencrypto/ |
H A D | ktls.h | 31 #define MAX_TLS_PAGES (1 + btoc(TLS_MAX_MSG_SIZE_V10_2))
|
/freebsd/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | agdef.h | 64 #define AGTIAPI_NSEGS (MIN(btoc(maxphys), 64) + 1)
|
/freebsd/sys/powerpc/include/ |
H A D | param.h | 148 #define btoc(x) ((vm_offset_t)(((x)+PAGE_MASK)>>PAGE_SHIFT)) macro
|
/freebsd/usr.sbin/bhyve/ |
H A D | ahci.h | 312 #define AHCI_SG_ENTRIES (roundup(btoc(MAXPHYS) + 1, 8))
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic79xx_osm.h | 107 #define AHD_NSEG (roundup(btoc(AHD_MAXPHYS) + 1, 16))
|
H A D | aic7xxx_osm.h | 105 #define AHC_NSEG (roundup(btoc(AHC_MAXPHYS) + 1, 16))
|
/freebsd/sys/kern/ |
H A D | kern_physio.c | 96 maxpages = btoc(MIN(uio->uio_resid, maxphys)) + 1; in physio()
|
H A D | sysv_shm.c | 253 shm_committed -= btoc(size); in shm_deallocate_segment() 696 if (shm_committed + btoc(size) > shminfo.shmall) in shmget_allocate_segment() 766 shm_committed += btoc(size); in shmget_allocate_segment()
|
/freebsd/sys/dev/siis/ |
H A D | siis.h | 265 #define SIIS_SG_ENTRIES (roundup(btoc(maxphys), 4) + 1)
|
/freebsd/sys/dev/mvs/ |
H A D | mvs.h | 393 #define MVS_SG_ENTRIES (btoc(maxphys) + 1)
|
/freebsd/sys/dev/ahci/ |
H A D | ahci.h | 312 #define AHCI_SG_ENTRIES MIN(roundup(btoc(maxphys) + 1, 8), 65528)
|
/freebsd/sys/dev/ata/ |
H A D | ata-all.h | 153 #define ATA_DMA_ENTRIES MAX(17, btoc(maxphys) + 1)
|
/freebsd/sys/dev/ioat/ |
H A D | ioat_test.c | 384 if (btoc((uint64_t)test->buffer_size * test->chain_depth * in ioat_dma_test()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_io.c | 573 npages = btoc(count); in smbfs_putpages()
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_oea64.c | 1037 physmem = btoc(physsz); in moea64_early_bootstrap() 3462 size = btoc(vm_phys_segs[i].end - vm_phys_segs[i].start); in moea64_page_array_startup() 3470 size = btoc(phys_avail[i + 1] - phys_avail[i]); in moea64_page_array_startup()
|
H A D | mmu_oea.c | 819 physmem = btoc(physsz); in moea_bootstrap()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clbio.c | 289 npages = btoc(count); in ncl_putpages()
|
/freebsd/sys/fs/p9fs/ |
H A D | p9fs_vnops.c | 2158 npages = btoc(count); in p9fs_putpages()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_vnops_os.c | 4098 pcount = btoc(len); in zfs_putpages() 4118 ncount = btoc(len); in zfs_putpages()
|