Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/goldfish/
H A Dgoldfish_pipe.c287 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()
/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c74 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()
H A Ddirty_log_test.c525 uint64_t pages_count = 0; in vcpu_worker() local
548 pages_count += TEST_PAGES_PER_LOOP; in vcpu_worker()
559 pr_info("Dirtied %"PRIu64" pages\n", pages_count); in vcpu_worker()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_vma_types.h270 atomic_t pages_count; /* number of active binds to the pages */ member
H A Di915_vma.c501 GEM_BUG_ON(!atomic_read(&vma->pages_count)); in i915_vma_bind()
1342 if (atomic_add_unless(&vma->pages_count, 1, 0)) in i915_vma_get_pages()
1354 atomic_inc(&vma->pages_count); in i915_vma_get_pages()
1388 GEM_BUG_ON(atomic_read(&vma->pages_count) < count); in __vma_put_pages()
1390 if (atomic_sub_return(count, &vma->pages_count) == 0) { in __vma_put_pages()
1403 if (atomic_add_unless(&vma->pages_count, -1, 1)) in i915_vma_put_pages()
1416 count = atomic_read(&vma->pages_count); in vma_unbind_pages()
1567 atomic_add(I915_VMA_PAGES_ACTIVE, &vma->pages_count); in i915_vma_pin_ww()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.c595 if (atomic_read(&vma->pages_count)) in i915_gem_object_evictable()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c1442 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()