Searched refs:pages_count (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 287 int pages_count, in populate_rw_params() argument 309 for (; i < pages_count; ++i) { in populate_rw_params() 311 size_on_page = (i == pages_count - 1) ? in populate_rw_params() 336 int pages_count; in transfer_max_buffers() local 342 pages_count = goldfish_pin_pages(first_page, last_page, in transfer_max_buffers() 345 if (pages_count < 0) { in transfer_max_buffers() 347 return pages_count; in transfer_max_buffers() 350 populate_rw_params(pipe->pages, pages_count, address, address_end, in transfer_max_buffers() 360 unpin_user_pages_dirty_lock(pipe->pages, pages_count, in transfer_max_buffers()
|
/linux-6.1.9/tools/testing/selftests/kvm/ |
D | dirty_log_perf_test.c | 74 uint64_t pages_count = 0; in vcpu_worker() local 102 pages_count += vcpu_args->pages; in vcpu_worker() 124 vcpu_idx, pages_count, vcpu_last_completed_iteration[vcpu_idx], in vcpu_worker()
|
D | dirty_log_test.c | 513 uint64_t pages_count = 0; in vcpu_worker() local 536 pages_count += TEST_PAGES_PER_LOOP; in vcpu_worker() 547 pr_info("Dirtied %"PRIu64" pages\n", pages_count); in vcpu_worker()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_vma_types.h | 271 atomic_t pages_count; /* number of active binds to the pages */ member
|
D | i915_vma.c | 474 GEM_BUG_ON(!atomic_read(&vma->pages_count)); in i915_vma_bind() 1289 if (atomic_add_unless(&vma->pages_count, 1, 0)) in i915_vma_get_pages() 1301 atomic_inc(&vma->pages_count); in i915_vma_get_pages() 1327 GEM_BUG_ON(atomic_read(&vma->pages_count) < count); in __vma_put_pages() 1329 if (atomic_sub_return(count, &vma->pages_count) == 0) { in __vma_put_pages() 1342 if (atomic_add_unless(&vma->pages_count, -1, 1)) in i915_vma_put_pages() 1355 count = atomic_read(&vma->pages_count); in vma_unbind_pages() 1500 atomic_add(I915_VMA_PAGES_ACTIVE, &vma->pages_count); in i915_vma_pin_ww()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.c | 504 if (atomic_read(&vma->pages_count)) in i915_gem_object_evictable()
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_gtt.c | 1440 GEM_BUG_ON(atomic_read(&vma->pages_count)); in track_vma_bind() 1441 atomic_set(&vma->pages_count, I915_VMA_PAGES_ACTIVE); in track_vma_bind()
|