Home
last modified time | relevance | path

Searched refs:size_remaining (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/staging/android/ion/heaps/
H A Dion_system_heap.c112 unsigned long size_remaining = PAGE_ALIGN(size); in ion_system_heap_allocate() local
129 while (size_remaining > 0) { in ion_system_heap_allocate()
130 page = alloc_largest_available(sys_heap, buffer, size_remaining, in ion_system_heap_allocate()
135 size_remaining -= page_size(page); in ion_system_heap_allocate()
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/
H A Dion_protected_heap.c266 unsigned long size_remaining = PAGE_ALIGN(size); in ion_protected_heap_allocate() local
277 while (size_remaining > 0) { in ion_protected_heap_allocate()
278 info = alloc_largest_available(heap, buffer, size_remaining, in ion_protected_heap_allocate()
283 size_remaining -= PAGE_SIZE << info->order; in ion_protected_heap_allocate()
/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Dsystem_heap.c405 unsigned long size_remaining = len; in system_heap_do_allocate() local
426 while (size_remaining > 0) { in system_heap_do_allocate()
434 page = alloc_largest_available(size_remaining, max_order); in system_heap_do_allocate()
439 size_remaining -= page_size(page); in system_heap_do_allocate()
H A Drk_system_heap.c520 unsigned long size_remaining = len; in system_heap_do_allocate() local
550 while (size_remaining > 0) { in system_heap_do_allocate()
559 size_remaining, in system_heap_do_allocate()
564 size_remaining -= page_size(page); in system_heap_do_allocate()
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Debtables.c2084 unsigned int size_remaining = size_user; in compat_copy_entries() local
2088 &size_remaining, state); in compat_copy_entries()
2092 if (size_remaining) in compat_copy_entries()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c3181 uint32_t size_remaining = *size; in vmw_cmd_check_not_3d() local
3203 if (*size > size_remaining) { in vmw_cmd_check_not_3d()
3609 uint32_t size_remaining = *size; in vmw_cmd_check() local
3625 if (unlikely(*size > size_remaining)) in vmw_cmd_check()