Home
last modified time | relevance | path

Searched refs:allocated_size (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/android/ion/
Dion_chunk_heap.c47 unsigned long allocated_size; in ion_chunk_heap_allocate() local
52 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() local
103 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()
/drivers/of/
Daddress.c697 resource_size_t allocated_size = 0; in pci_register_io_range() local
706 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() local
753 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()
/drivers/video/fbdev/
Dmxsfb.c178 unsigned allocated_size; member