Searched refs:pages_count (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/platform/goldfish/ |
H A 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/tools/testing/selftests/kvm/ |
H A D | dirty_log_perf_test.c | 72 uint64_t pages_count = 0; in vcpu_worker() local 100 pages_count += vcpu_args->pages; in vcpu_worker() 122 vcpu_idx, pages_count, vcpu_last_completed_iteration[vcpu_idx], in vcpu_worker()
|
H A D | dirty_log_test.c | 512 uint64_t pages_count = 0; in vcpu_worker() local 532 pages_count += TEST_PAGES_PER_LOOP; in vcpu_worker() 543 pr_info("Dirtied %"PRIu64" pages\n", pages_count); in vcpu_worker()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_vma_types.h | 270 atomic_t pages_count; /* number of active binds to the pages */ member
|
H A D | i915_vma.c | 510 GEM_BUG_ON(!atomic_read(&vma->pages_count)); in i915_vma_bind() 1351 if (atomic_add_unless(&vma->pages_count, 1, 0)) in i915_vma_get_pages() 1363 atomic_inc(&vma->pages_count); in i915_vma_get_pages() 1397 GEM_BUG_ON(atomic_read(&vma->pages_count) < count); in __vma_put_pages() 1399 if (atomic_sub_return(count, &vma->pages_count) == 0) { in __vma_put_pages() 1412 if (atomic_add_unless(&vma->pages_count, -1, 1)) in i915_vma_put_pages() 1425 count = atomic_read(&vma->pages_count); in vma_unbind_pages() 1576 atomic_add(I915_VMA_PAGES_ACTIVE, &vma->pages_count); in i915_vma_pin_ww()
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object.c | 601 if (atomic_read(&vma->pages_count)) in i915_gem_object_evictable()
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 1442 GEM_BUG_ON(atomic_read(&vma->pages_count)); in track_vma_bind() 1443 atomic_set(&vma->pages_count, I915_VMA_PAGES_ACTIVE); in track_vma_bind()
|