/linux-master/include/linux/ |
H A D | hw_breakpoint.h | 29 * As it's for in-kernel or ptrace use, we want it to be pinned 32 attr->pinned = 1;
|
/linux-master/drivers/infiniband/core/ |
H A D | umem_dmabuf.c | 179 "Invalidate callback should not be called when memory is pinned\n"); 204 umem_dmabuf->pinned = 1; 228 if (umem_dmabuf->pinned)
|
/linux-master/drivers/gpu/drm/ttm/ |
H A D | ttm_device.c | 233 INIT_LIST_HEAD(&bdev->pinned); 300 ttm_device_clear_lru_dma_mappings(bdev, &bdev->pinned);
|
/linux-master/fs/btrfs/ |
H A D | block-group.h | 122 u64 pinned; member in struct:btrfs_block_group 277 return (bg->used > 0 || bg->reserved > 0 || bg->pinned > 0);
|
/linux-master/drivers/vhost/ |
H A D | vdpa.c | 917 unsigned long pfn, pinned; local 920 pinned = PFN_DOWN(map->size); 922 pinned > 0; pfn++, pinned--) { 1097 long pinned; local 1128 pinned = pin_user_pages(cur_base, sz2pin, 1130 if (sz2pin != pinned) { 1131 if (pinned < 0) { 1132 ret = pinned; 1134 unpin_user_pages(page_list, pinned); [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 327 unsigned pinned = 0; local 348 unsigned num_pages = ttm->num_pages - pinned; 349 uint64_t userptr = gtt->userptr + pinned * PAGE_SIZE; 350 struct page **pages = ttm->pages + pinned; 357 pinned += r; 359 } while (pinned < ttm->num_pages); 380 release_pages(ttm->pages, pinned);
|
/linux-master/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_resource_test.c | 167 KUNIT_ASSERT_TRUE(test, list_empty(&bo->bdev->pinned)); 172 KUNIT_ASSERT_TRUE(test, list_is_singular(&bo->bdev->pinned)); 178 KUNIT_ASSERT_TRUE(test, list_empty(&bo->bdev->pinned));
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_pages.c | 117 * and pinned into our object. i915_gem_object_pin_pages() may be called 362 bool pinned; local 375 pinned = !(type & I915_MAP_OVERRIDE); 389 pinned = false; 423 if (pinned) { 504 * We allow removing the mapping from underneath pinned pages!
|
/linux-master/include/rdma/ |
H A D | ib_umem.h | 40 u8 pinned : 1; member in struct:ib_umem_dmabuf
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gem_shrinker.c | 185 &priv->lru.pinned,
|
/linux-master/tools/perf/tests/ |
H A D | attr.c | 109 WRITE_ASS(pinned, "d");
|
/linux-master/arch/arm64/include/asm/ |
H A D | mmu_context.h | 177 refcount_set(&mm->context.pinned, 0);
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_device.c | 259 spin_lock_init(&xe->pinned.lock); 260 INIT_LIST_HEAD(&xe->pinned.kernel_bo_present); 261 INIT_LIST_HEAD(&xe->pinned.external_vram); 262 INIT_LIST_HEAD(&xe->pinned.evicted);
|
H A D | xe_bo.c | 165 * pinned in VRAM must be contiguous 722 * Kernel memory that is pinned should only be moved on suspend 723 * / resume, some of the pinned memory is required for the 726 * futher where we find the minimum set of pinned memory 728 * pinned memory. 793 * xe_bo_evict_pinned() - Evict a pinned VRAM object to system memory 799 * This is needed to for special handling of pinned VRAM object during 865 * xe_bo_restore_pinned() - Restore a pinned VRAM object 871 * This is needed to for special handling of pinned VRAM object during 1622 * @bo: buffer object to be pinned [all...] |
H A D | xe_device_types.h | 351 /** @pinned: pinned BO state */ 353 /** @pinned.lock: protected pinned BO list state */ 355 /** @pinned.kernel_bo_present: pinned kernel BO that are present */ 357 /** @pinned.evicted: pinned BO that have been evicted */ 359 /** @pinned.external_vram: pinned externa 361 } pinned; member in struct:xe_device [all...] |
/linux-master/drivers/pci/ |
H A D | devres.c | 181 if (this->enabled && !this->pinned) 251 dr->pinned = 1;
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 244 return "pinned %s" % (name) 1086 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp") 1088 ret, _, err = sim.set_xdp(pinned, "offload", 1093 ret, _, err = sim.set_xdp(pinned, "offload", 1119 start_test("Test binding TC from pinned...") 1120 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp") 1122 sim.cls_bpf_add_filter(pinned, da=True, skip_sw=True) 1125 start_test("Test binding XDP from pinned...") 1127 pin_file, pinned = pin_prog("/sys/fs/bpf/tmp2", idx=1) 1129 sim.set_xdp(pinned, "offloa [all...] |
/linux-master/arch/x86/xen/ |
H A D | mmu_pv.c | 177 * During early boot all page table pages are pinned, but we do not have struct 248 /* If page is not pinned, we can just update the entry 431 /* If page is not pinned, we can just update the entry 491 * 2. It is always pinned 514 /* If page is not pinned, we can just update the entry 526 /* If it's pinned, then we can at least batch the kernel and 710 * pinned, so Xen won't do the trap'n'emulate. 744 read-only, and can be pinned. */ 804 * The init_mm pagetable is really pinned as soon as its created, but 834 * partially-pinned stat 1540 bool pinned = xen_page_pinned(mm->pgd); local 1578 bool pinned = PagePinned(page); local [all...] |
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 113 int pinned; local 116 for (pinned = 0; pinned <= 1; pinned++) { 133 if (!pinned) {
|
/linux-master/tools/testing/selftests/mm/ |
H A D | uffd-unit-tests.c | 258 bool pinned; member in struct:__anon180 276 if (args->pinned) 277 err("already pinned"); 288 args->pinned = true; 294 if (!args->pinned) 299 args->pinned = false; 325 * Normally when reach here we have pinned in
|
/linux-master/net/rds/ |
H A D | ib_rdma.c | 271 unsigned int pinned = ibmr->sg_len; local 274 if (pinned) { 277 atomic_sub(pinned, &pool->free_pinned); 508 /* If we've pinned too many pages, request a flush */
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_object.c | 108 bool kernel, bool pinned, u32 domain, u32 priority, 152 if (pinned) 107 qxl_bo_create(struct qxl_device *qdev, unsigned long size, bool kernel, bool pinned, u32 domain, u32 priority, struct qxl_surface *surf, struct qxl_bo **bo_ptr) argument
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gem.c | 98 u64 pinned; local 103 pinned = ggtt->vm.reserved; 106 pinned += vma->node.size; 111 args->aper_available_size = args->aper_size - pinned; 866 * in use by hardware (i.e. they are pinned), we should not be powering 963 * half the size of aperture) or hasn't been pinned
|
/linux-master/drivers/xen/ |
H A D | privcmd.c | 590 struct page *pages[], unsigned int nr_pages, unsigned int *pinned) 610 *pinned += page_count; 636 unsigned int pinned = 0; local 690 rc = lock_pages(kbufs, kdata.num, pages, nr_pages, &pinned); 704 unlock_pages(pages, pinned); 588 lock_pages( struct privcmd_dm_op_buf kbufs[], unsigned int num, struct page *pages[], unsigned int nr_pages, unsigned int *pinned) argument
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_stdu.c | 877 WARN_ON(!vps->pinned); 894 * backed by a buffer object. The display surface is pinned here, and it'll 915 WARN_ON(vps->pinned != 0); 979 WARN_ON(vps->pinned != 0); 1001 WARN_ON(vps->pinned != 0); 1015 vps->pinned++;
|