Lines Matching refs:bytes
1336 vm_size_t bytes, in iopa_alloc() argument
1354 if (((uint32_t) bytes) != bytes) { in iopa_alloc()
1357 if (!bytes) { in iopa_alloc()
1358 bytes = 1; in iopa_alloc()
1360 count = (((uint32_t) bytes) + gIOPageAllocChunkBytes - 1) / gIOPageAllocChunkBytes; in iopa_alloc()
1371 a->bytecount += bytes; in iopa_alloc()
1392 a->bytecount += bytes; in iopa_alloc()
1403 iopa_free(iopa_t * a, uintptr_t addr, vm_size_t bytes) in iopa_free() argument
1409 if (((uint32_t) bytes) != bytes) { in iopa_free()
1412 if (!bytes) { in iopa_free()
1413 bytes = 1; in iopa_free()
1422 count = (((uint32_t) bytes) + gIOPageAllocChunkBytes - 1) / gIOPageAllocChunkBytes; in iopa_free()
1441 a->bytecount -= bytes; in iopa_free()