Searched refs:pinned (Results 1 - 25 of 89) sorted by last modified time

1234

/linux-master/drivers/gpu/drm/xe/
H A Dxe_vm.c76 int pinned, ret, i; local
102 pinned = ret = 0;
111 while (pinned < num_pages) {
113 pinned * PAGE_SIZE,
114 num_pages - pinned,
116 &pages[pinned]);
120 pinned += ret;
133 pinned, 0,
134 (u64)pinned << PAGE_SHIFT,
154 for (i = 0; i < pinned;
[all...]
H A Dxe_device_types.h351 /** @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...]
H A Dxe_device.c259 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 Dxe_bo.c165 * 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...]
/linux-master/include/linux/
H A Dpage-flags.h531 PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND)
532 TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND)
/linux-master/arch/x86/kvm/vmx/
H A Dpmu_intel.c212 * - set 'pinned = true' to make it task pinned so that if another
213 * cpu pinned event reclaims LBR, the event->oncpu will be set to -1;
232 .pinned = true,
660 * Higher priority host perf events (e.g. cpu pinned) could reclaim the
/linux-master/arch/x86/kvm/
H A Dpmu.c185 .pinned = true,
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.h286 * @pinned pin count for STDU display surface
296 int pinned; member in struct:vmw_plane_state
H A Dvmwgfx_kms.c537 if (vps->pinned) {
539 vps->pinned--;
543 if (vps->pinned)
544 DRM_ERROR("Surface still pinned\n");
1079 vps->pinned = 0;
/linux-master/fs/btrfs/
H A Dextent-tree.c2632 cache->pinned += num_bytes;
2834 cache->pinned -= len;
H A Dblock-group.c149 WARN_ON(cache->pinned > 0);
1357 num_bytes = cache->length - cache->reserved - cache->pinned -
1611 * We could have pending pinned extents for this block group,
1636 /* Reset pinned so btrfs_put_block_group doesn't complain */
1641 -block_group->pinned);
1642 space_info->bytes_readonly += block_group->pinned;
1643 block_group->pinned = 0;
1838 if (bg->reserved || bg->pinned || bg->ro) {
3027 cache->pinned - cache->bytes_super -
3223 * Keep in mind this has to include any pinned spac
[all...]
/linux-master/io_uring/
H A Dio_uring.c2729 int ret, i, pinned; local
2744 pinned = pin_user_pages_fast(uaddr, nr_pages, FOLL_WRITE | FOLL_LONGTERM,
2746 if (pinned != nr_pages) {
2747 ret = (pinned < 0) ? pinned : -EFAULT;
2780 io_pages_free(&page_array, pinned > 0 ? pinned : 0);
3951 * memory (locked/pinned vm). It's not used for anything else.
/linux-master/fs/xfs/
H A Dxfs_buf.c1154 * If we come across a stale, pinned, locked buffer, we know that we are
1156 * pinned, we know that the log has not been pushed to disk and hence it
1179 * If we come across a stale, pinned, locked buffer, we know that we
1181 * it is pinned, we know that the log has not been pushed to disk and
2274 int pinned = 0; local
2286 pinned++;
2326 return pinned;
2332 * This will take the @buffer_list, write all non-locked and non-pinned buffers
/linux-master/tools/testing/selftests/mm/
H A Duffd-unit-tests.c258 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/tools/lib/bpf/
H A Dlibbpf.c547 bool pinned; member in struct:bpf_map
2625 pr_warn("map '%s': inner def can't be pinned.\n", map_name);
4977 pr_debug("found no pinned map to reuse at '%s'\n",
4983 pr_warn("couldn't retrieve pinned map '%s': %s\n",
4989 pr_warn("couldn't reuse pinned map at '%s': parameter mismatch\n",
5000 map->pinned = true;
5001 pr_debug("reused pinned map at '%s'\n", map->pin_path);
5330 pr_warn("map '%s': error reusing pinned map\n",
5335 pr_warn("map '%s': cannot find pinned map\n",
5382 if (map->pin_path && !map->pinned) {
[all...]
/linux-master/drivers/s390/cio/
H A Dvfio_ccw_cp.c25 /* Array that receives the pinned pages. */
27 /* Number of pages pinned from @pa_iova. */
45 * @len: number of pages that should be pinned from @iova
88 * Only unpin if any pages were pinned to begin with, i.e. pa_nr > 0,
121 * Returns number of pages pinned upon success.
133 int pinned = 0, npage = 1; local
136 while (pinned < pa->pa_nr) {
137 dma_addr_t *first = &pa->pa_iova[pinned];
140 if (pinned + npage < pa->pa_nr &&
149 &pa->pa_page[pinned]);
[all...]
/linux-master/drivers/vhost/
H A Dvdpa.c917 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/vdpa/vdpa_user/
H A Dvduse_dev.c1063 long pinned = 0; local
1091 pinned = pin_user_pages(uaddr, npages, FOLL_LONGTERM | FOLL_WRITE,
1093 if (pinned != npages) {
1094 ret = pinned < 0 ? pinned : -ENOMEM;
1099 page_list, pinned);
1106 umem->npages = pinned;
1113 if (ret && pinned > 0)
1114 unpin_user_pages(page_list, pinned);
/linux-master/drivers/vfio/
H A Dvfio_iommu_type1.c19 * userspace pages pinned into memory. We also assume devices and IOMMU
98 struct rb_root pfn_list; /* Ex-user pinned pfn list */
607 long ret, pinned = 0, lock_acct = 0; local
652 if (pfn != *pfn_base + pinned ||
658 * externally pinned pages are already counted against
672 pinned++;
700 if (pinned && !rsvd) {
701 for (pfn = *pfn_base ; pinned ; pfn++, pinned--)
709 return pinned;
[all...]
/linux-master/arch/powerpc/perf/
H A Dcore-book3s.c601 if (!leader->attr.pinned || !leader->attr.exclusive)
/linux-master/arch/arm64/kvm/
H A Dpmu-emul.c639 attr.pinned = 1;
/linux-master/tools/perf/util/
H A Dpython.c833 "pinned",
859 pinned = 0, local
883 &pinned, &exclusive, &exclude_user,
902 attr.pinned = pinned;
H A Dparse-events.c1665 int pinned; member in struct:event_modifier
1683 int pinned = evsel ? evsel->core.attr.pinned : 0; local
1728 pinned = 1;
1764 mod->pinned = pinned;
1825 evsel->core.attr.pinned = mod.pinned;
/linux-master/tools/perf/tests/
H A Dparse-events.c751 TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned);
776 TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned);
788 TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned);
789 TEST_ASSERT_VAL("wrong exclusive", !evsel->core.attr.pinned);
1550 TEST_ASSERT_VAL("wrong pinned", evsel->core.attr.pinned);
1575 TEST_ASSERT_VAL("wrong pinned", evse
[all...]
/linux-master/drivers/pci/
H A Dpci.h827 unsigned int pinned:1; member in struct:pci_devres

Completed in 429 milliseconds

1234