Searched refs:allocated_size (Results 1 – 3 of 3) sorted by relevance
47 unsigned long allocated_size; in ion_chunk_heap_allocate() local52 allocated_size = ALIGN(size, chunk_heap->chunk_size); in ion_chunk_heap_allocate()53 num_chunks = allocated_size / chunk_heap->chunk_size; in ion_chunk_heap_allocate()55 if (allocated_size > chunk_heap->size - chunk_heap->allocated) in ion_chunk_heap_allocate()79 chunk_heap->allocated += allocated_size; in ion_chunk_heap_allocate()101 unsigned long allocated_size; in ion_chunk_heap_free() local103 allocated_size = ALIGN(buffer->size, chunk_heap->chunk_size); in ion_chunk_heap_free()115 chunk_heap->allocated -= allocated_size; in ion_chunk_heap_free()
697 resource_size_t allocated_size = 0; in pci_register_io_range() local706 allocated_size += range->size; in pci_register_io_range()710 if (allocated_size + size - 1 > IO_SPACE_LIMIT) { in pci_register_io_range()712 if (allocated_size + SZ_64K - 1 > IO_SPACE_LIMIT) { in pci_register_io_range()746 resource_size_t allocated_size = 0; in pci_pio_to_address() local753 if (pio >= allocated_size && pio < allocated_size + range->size) { in pci_pio_to_address()754 address = range->start + pio - allocated_size; in pci_pio_to_address()757 allocated_size += range->size; in pci_pio_to_address()
178 unsigned allocated_size; member