/linux-master/drivers/vdpa/vdpa_user/ |
H A D | vduse_dev.c | 1063 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/fs/gfs2/ |
H A D | incore.h | 135 BUFFER_FNS(Pinned, pinned) 136 TAS_BUFFER_FNS(Pinned, pinned)
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 528 tc filter add dev $DEV egress bpf da object-pinned ${BPF_PIN_TUNNEL_DIR}/$SET 529 tc filter add dev $DEV ingress bpf da object-pinned ${BPF_PIN_TUNNEL_DIR}/$GET
|
/linux-master/drivers/gpu/drm/ttm/ |
H A D | ttm_resource.c | 156 list_move_tail(&res->lru, &bdev->pinned); 198 list_add_tail(&res->lru, &bo->bdev->pinned);
|
/linux-master/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_bo_test.c | 301 /* Add a dummy resource to the pinned list */ 305 list_is_last(&res2->lru, &priv->ttm_dev->pinned), 1); 309 list_is_last(&res1->lru, &priv->ttm_dev->pinned), 1);
|
/linux-master/tools/perf/tests/ |
H A D | parse-events.c | 751 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/tools/perf/util/ |
H A D | parse-events.c | 1665 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;
|
H A D | python.c | 833 "pinned", 859 pinned = 0, local 883 &pinned, &exclusive, &exclude_user, 902 attr.pinned = pinned;
|
H A D | perf_event_attr_fprintf.c | 277 PRINT_ATTRf(pinned, p_unsigned);
|
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | ebb.c | 346 e->attr.pinned = 1;
|
/linux-master/kernel/time/ |
H A D | hrtimer.c | 205 int pinned) 208 if (static_branch_likely(&timers_migration_enabled) && !pinned) 228 int pinned) 235 new_cpu_base = get_target_base(this_cpu_base, pinned); 1284 * relative (HRTIMER_MODE_REL), and pinned (HRTIMER_MODE_PINNED); 204 get_target_base(struct hrtimer_cpu_base *base, int pinned) argument 227 switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_clock_base *base, int pinned) argument
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.h | 286 * @pinned pin count for STDU display surface 296 int pinned; member in struct:vmw_plane_state
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_vm.c | 76 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...] |
/linux-master/drivers/rapidio/devices/ |
H A D | rio_mport_cdev.c | 853 long pinned; local 865 pinned = pin_user_pages_fast( 871 if (pinned != nr_pages) { 872 if (pinned < 0) { 874 pinned); 877 rmcd_error("pinned %ld out of %ld pages", 878 pinned, nr_pages); 883 nr_pages = pinned;
|
/linux-master/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 19 * 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/drivers/gpu/drm/msm/ |
H A D | msm_gem.c | 72 drm_gem_lru_move_tail_locked(&priv->lru.pinned, obj); 248 drm_gem_lru_move_tail_locked(&priv->lru.pinned, obj); 1229 * Our buffers are kept pinned, so allocating them from the 1297 drm_gem_lru_move_tail(&priv->lru.pinned, obj);
|
H A D | msm_drv.h | 142 * pinned (for scannout or permanently mapped GPU buffers, like 143 * ringbuffer, memptr, fw, etc) it moves to the pinned LRU. When 163 * pinned: 165 * The LRU for pinned GEM objects 167 struct drm_gem_lru pinned; member in struct:msm_drm_private::__anon471
|
/linux-master/include/uapi/linux/ |
H A D | perf_event.h | 416 pinned : 1, /* must always be on PMU */ member in struct:perf_event_attr
|
/linux-master/tools/include/uapi/linux/ |
H A D | perf_event.h | 416 pinned : 1, /* must always be on PMU */ member in struct:perf_event_attr
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | pseudo_lock.c | 938 .pinned = 1, 946 .pinned = 1,
|
/linux-master/fs/btrfs/ |
H A D | block-group.c | 149 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/include/linux/ |
H A D | page-flags.h | 531 PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) 532 TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND)
|
/linux-master/io_uring/ |
H A D | io_uring.c | 2729 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 D | xfs_buf.c | 1154 * 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/arch/riscv/kvm/ |
H A D | vcpu_pmu.c | 470 .pinned = true,
|