Lines Matching refs:bytes
783 iopa_alloc(iopa_t * a, iopa_proc_t alloc, vm_size_t bytes, uint32_t balign)
799 if (!bytes) bytes = 1;
800 count = (bytes + kIOPageAllocChunkBytes - 1) / kIOPageAllocChunkBytes;
810 a->bytecount += bytes;
830 if (addr) a->bytecount += bytes;
840 iopa_free(iopa_t * a, uintptr_t addr, vm_size_t bytes)
846 if (!bytes) bytes = 1;
854 count = (bytes + kIOPageAllocChunkBytes - 1) / kIOPageAllocChunkBytes;
874 a->bytecount -= bytes;