Symbol: ctob
sys/amd64/amd64/sys_machdep.c
437
tssp = kmem_malloc(ctob(IOPAGES + 1), M_WAITOK);
sys/amd64/amd64/sys_machdep.c
439
ctob(IOPAGES + 1), false);
sys/amd64/amd64/vm_machdep.c
372
(vm_offset_t)pcb->pcb_tssp + ctob(IOPAGES + 1));
sys/amd64/amd64/vm_machdep.c
373
kmem_free(pcb->pcb_tssp, ctob(IOPAGES + 1));
sys/compat/linux/linux_misc.c
224
old = (uintptr_t)vm->vm_daddr + ctob(vm->vm_dsize);
sys/dev/aac/aac.c
1877
ip->HostPhysMemPages = ctob(physmem) / AAC_PAGE_SIZE;
sys/dev/aacraid/aacraid.c
1777
ip->HostPhysMemPages = ctob(physmem) / AAC_PAGE_SIZE;
sys/dev/ahci/ahci.c
2875
cpi->maxio = ctob(AHCI_SG_ENTRIES - 1);
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
1808
cpi->maxio = ctob(AGTIAPI_NSEGS - 1);
sys/i386/i386/bios.c
376
if (arg_end - arg_start > ctob(16))
sys/i386/i386/sys_machdep.c
286
ctob(IOPAGES + 1) - 1, /* length */
sys/i386/i386/sys_machdep.c
295
ext = pmap_trm_alloc(ctob(IOPAGES + 1), M_WAITOK | M_ZERO);
sys/i386/i386/sys_machdep.c
310
for (i = 0; i < (ctob(IOPAGES) + 32 + 16) / sizeof(u_long); i++)
sys/i386/i386/vm86.c
391
#define IOMAP_SIZE ctob(IOPAGES)
sys/i386/i386/vm86.c
414
_Static_assert(sizeof(struct vm86_layout_pae) <= ctob(3),
sys/i386/i386/vm86.c
416
_Static_assert(sizeof(struct vm86_layout_nopae) <= ctob(3),
sys/i386/i386/vm86.c
521
ctob(3) - sizeof(struct vm86_layout));
sys/i386/i386/vm86.c
585
ctob(3) - sizeof(struct vm86_layout));
sys/i386/i386/vm_machdep.c
373
pmap_trm_free(pcb->pcb_ext, ctob(IOPAGES + 1));
sys/kern/kern_mib.c
207
val = ctob(p);
sys/kern/kern_mib.c
223
val = ctob(p);
sys/kern/kern_mib.c
240
val = ctob(p);
sys/powerpc/booke/pmap.c
1578
if (pa_end < ctob(Maxmem))
sys/sys/param.h
226
#ifndef ctob
sys/vm/vm_map.c
4340
entry->start < (vm_offset_t)vm1->vm_daddr + ctob(vm1->vm_dsize)) {
sys/vm/vm_map.c
4342
(vm_offset_t)vm1->vm_daddr + ctob(vm1->vm_dsize));
sys/vm/vm_map.c
4345
entry->start < (vm_offset_t)vm1->vm_taddr + ctob(vm1->vm_tsize)) {
sys/vm/vm_map.c
4347
(vm_offset_t)vm1->vm_taddr + ctob(vm1->vm_tsize));
sys/vm/vm_map.c
4765
if (is_procstack && (ctob(vm->vm_ssize) + grow_amount > stacklim))
sys/vm/vm_map.c
4772
ctob(vm->vm_ssize) + grow_amount)) {
sys/vm/vm_map.c
4783
if (is_procstack && (ctob(vm->vm_ssize) + grow_amount > stacklim)) {
sys/vm/vm_map.c
4785
ctob(vm->vm_ssize);
sys/vm/vm_map.c
4792
if (is_procstack && (ctob(vm->vm_ssize) + grow_amount > limit))
sys/vm/vm_map.c
4793
grow_amount = limit - ctob(vm->vm_ssize);
sys/vm/vm_map.c
4897
error = racct_set(p, RACCT_STACK, ctob(vm->vm_ssize));
sys/vm/vm_unix.c
102
old = base + ctob(vm->vm_dsize);