Home
last modified time | relevance | path

Searched refs:pages_count (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/platform/goldfish/
H A Dgoldfish_pipe.c290 int pages_count, in populate_rw_params() argument
312 for (; i < pages_count; ++i) { in populate_rw_params()
314 size_on_page = (i == pages_count - 1) ? in populate_rw_params()
339 int pages_count; in transfer_max_buffers() local
345 pages_count = goldfish_pin_pages(first_page, last_page, in transfer_max_buffers()
348 if (pages_count < 0) { in transfer_max_buffers()
350 return pages_count; in transfer_max_buffers()
353 populate_rw_params(pipe->pages, pages_count, address, address_end, in transfer_max_buffers()
363 unpin_user_pages_dirty_lock(pipe->pages, pages_count, in transfer_max_buffers()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c38 uint64_t pages_count = 0; in vcpu_worker() local
68 pages_count += vcpu_args->pages; in vcpu_worker()
85 vcpu_id, pages_count, vcpu_last_completed_iteration[vcpu_id], in vcpu_worker()
H A Ddirty_log_test.c263 uint64_t pages_count = 0; in vcpu_worker() local
276 pages_count += TEST_PAGES_PER_LOOP; in vcpu_worker()
285 pr_info("Dirtied %"PRIu64" pages\n", pages_count); in vcpu_worker()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_vma.c795 if (atomic_add_unless(&vma->pages_count, 1, 0)) in vma_get_pages()
802 if (!atomic_read(&vma->pages_count)) { in vma_get_pages()
816 atomic_inc(&vma->pages_count); in vma_get_pages()
828 GEM_BUG_ON(atomic_read(&vma->pages_count) < count); in __vma_put_pages()
829 if (atomic_sub_return(count, &vma->pages_count) == 0) { in __vma_put_pages()
840 if (atomic_add_unless(&vma->pages_count, -1, 1)) in vma_put_pages()
853 count = atomic_read(&vma->pages_count); in vma_unbind_pages()
980 atomic_add(I915_VMA_PAGES_ACTIVE, &vma->pages_count); in i915_vma_pin_ww()
H A Di915_vma_types.h256 atomic_t pages_count; /* number of active binds to the pages */ member
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_os_alloc.h40 u32 mali_mem_os_free(struct list_head *os_pages, u32 pages_count, mali_bool cow_flag);
H A Dmali_memory_os_alloc.c71 u32 mali_mem_os_free(struct list_head *os_pages, u32 pages_count, mali_bool cow_flag) in mali_mem_os_free() argument
95 atomic_sub(pages_count, &mali_mem_os_allocator.allocated_pages); in mali_mem_os_free()
96 free_pages_nr = pages_count; in mali_mem_os_free()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c1248 atomic_set(&vma->pages_count, I915_VMA_PAGES_ACTIVE); in track_vma_bind()