Symbol: btoc
sys/dev/ahci/ahci.h
312
#define AHCI_SG_ENTRIES MIN(roundup(btoc(maxphys) + 1, 8), 65528)
sys/dev/aic7xxx/aic79xx_osm.h
107
#define AHD_NSEG (roundup(btoc(AHD_MAXPHYS) + 1, 16))
sys/dev/aic7xxx/aic7xxx_osm.h
105
#define AHC_NSEG (roundup(btoc(AHC_MAXPHYS) + 1, 16))
sys/dev/ata/ata-all.h
153
#define ATA_DMA_ENTRIES MAX(17, btoc(maxphys) + 1)
sys/dev/ioat/ioat_test.c
384
if (btoc((uint64_t)test->buffer_size * test->chain_depth *
sys/dev/mpt/mpt.c
2692
mpt->max_cam_seg_cnt = min(mpt->max_seg_cnt, btoc(maxphys) + 1);
sys/dev/mvs/mvs.h
393
#define MVS_SG_ENTRIES (btoc(maxphys) + 1)
sys/dev/pms/freebsd/driver/ini/src/agdef.h
64
#define AGTIAPI_NSEGS (MIN(btoc(maxphys), 64) + 1)
sys/dev/siis/siis.h
265
#define SIIS_SG_ENTRIES (roundup(btoc(maxphys), 4) + 1)
sys/fs/nfsclient/nfs_clbio.c
289
npages = btoc(count);
sys/fs/p9fs/p9fs_vnops.c
2192
npages = btoc(count);
sys/fs/smbfs/smbfs_io.c
579
npages = btoc(count);
sys/kern/kern_physio.c
96
maxpages = btoc(MIN(uio->uio_resid, maxphys)) + 1;
sys/kern/sysv_shm.c
253
shm_committed -= btoc(size);
sys/kern/sysv_shm.c
696
if (shm_committed + btoc(size) > shminfo.shmall)
sys/kern/sysv_shm.c
766
shm_committed += btoc(size);
sys/opencrypto/ktls.h
31
#define MAX_TLS_PAGES (1 + btoc(TLS_MAX_MSG_SIZE_V10_2))
sys/powerpc/aim/mmu_oea.c
820
physmem = btoc(physsz);
sys/powerpc/aim/mmu_oea64.c
1008
physmem = btoc(physsz);
sys/powerpc/aim/mmu_oea64.c
3431
size = btoc(vm_phys_segs[i].end - vm_phys_segs[i].start);
sys/powerpc/aim/mmu_oea64.c
3439
size = btoc(phys_avail[i + 1] - phys_avail[i]);
sys/powerpc/aim/mmu_radix.c
2026
physmem = btoc(physsz);
sys/powerpc/booke/pmap.c
880
physmem = btoc(physsz);
sys/sys/param.h
231
#ifndef btoc
sys/vm/vm_init.c
206
physmem_est = lmin(physmem, btoc(vm_map_max(kernel_map) -
sys/vm/vm_map.c
4338
vm2->vm_ssize += btoc(entrysize);
sys/vm/vm_map.c
4343
vm2->vm_dsize += btoc(newend - entry->start);
sys/vm/vm_map.c
4348
vm2->vm_tsize += btoc(newend - entry->start);
sys/vm/vm_map.c
4874
vm->vm_ssize += btoc(grow_amount);
sys/vm/vm_unix.c
207
vm->vm_dsize += btoc(new - old);
sys/vm/vm_unix.c
214
vm->vm_dsize -= btoc(old - new);
sys/vm/vnode_pager.c
1366
ncount = btoc(maxsize);
usr.sbin/bhyve/ahci.h
312
#define AHCI_SG_ENTRIES (roundup(btoc(MAXPHYS) + 1, 8))