Searched refs:kmap_cnt (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/staging/android/ion/
H A Dion.c103 * @kmap_cnt: count of times this client has mapped to kernel
114 unsigned int kmap_cnt; member in struct:ion_handle
274 if (WARN_ON(buffer->kmap_cnt > 0)) ion_buffer_destroy()
366 while (handle->kmap_cnt) ion_handle_destroy()
584 if (buffer->kmap_cnt) { ion_buffer_kmap_get()
585 buffer->kmap_cnt++; ion_buffer_kmap_get()
595 buffer->kmap_cnt++; ion_buffer_kmap_get()
604 if (handle->kmap_cnt) { ion_handle_kmap_get()
605 handle->kmap_cnt++; ion_handle_kmap_get()
611 handle->kmap_cnt++; ion_handle_kmap_get()
617 buffer->kmap_cnt--; ion_buffer_kmap_put()
618 if (!buffer->kmap_cnt) { ion_buffer_kmap_put()
628 if (!handle->kmap_cnt) { ion_handle_kmap_put()
632 handle->kmap_cnt--; ion_handle_kmap_put()
633 if (!handle->kmap_cnt) ion_handle_kmap_put()
1436 buffer->size, buffer->kmap_cnt, ion_debug_heap_show()
H A Dion_priv.h48 * @kmap_cnt: number of times the buffer is mapped to the kernel
49 * @vaddr: the kenrel mapping if kmap_cnt is not zero
77 int kmap_cnt; member in struct:ion_buffer

Completed in 92 milliseconds