Searched refs:pages_count (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 290 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()
|
/Linux-v5.10/tools/testing/selftests/kvm/ |
D | dirty_log_perf_test.c | 38 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()
|
D | dirty_log_test.c | 263 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()
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_vma.c | 792 if (atomic_add_unless(&vma->pages_count, 1, 0)) in vma_get_pages() 799 if (!atomic_read(&vma->pages_count)) { in vma_get_pages() 813 atomic_inc(&vma->pages_count); in vma_get_pages() 825 GEM_BUG_ON(atomic_read(&vma->pages_count) < count); in __vma_put_pages() 826 if (atomic_sub_return(count, &vma->pages_count) == 0) { in __vma_put_pages() 837 if (atomic_add_unless(&vma->pages_count, -1, 1)) in vma_put_pages() 850 count = atomic_read(&vma->pages_count); in vma_unbind_pages() 977 atomic_add(I915_VMA_PAGES_ACTIVE, &vma->pages_count); in i915_vma_pin_ww()
|
D | i915_vma_types.h | 256 atomic_t pages_count; /* number of active binds to the pages */ member
|
/Linux-v5.10/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_gtt.c | 1248 atomic_set(&vma->pages_count, I915_VMA_PAGES_ACTIVE); in track_vma_bind()
|