pinned 61 arch/powerpc/mm/book3s64/iommu_api.c long i, ret, locked_entries = 0, pinned = 0; pinned 110 arch/powerpc/mm/book3s64/iommu_api.c pinned += n; pinned 114 arch/powerpc/mm/book3s64/iommu_api.c pinned += ret; pinned 118 arch/powerpc/mm/book3s64/iommu_api.c if (pinned != entries) { pinned 171 arch/powerpc/mm/book3s64/iommu_api.c for (i = 0; i < pinned; i++) pinned 555 arch/powerpc/perf/core-book3s.c if (!leader->attr.pinned || !leader->attr.exclusive) pinned 913 arch/x86/kernel/cpu/resctrl/pseudo_lock.c .pinned = 1, pinned 921 arch/x86/kernel/cpu/resctrl/pseudo_lock.c .pinned = 1, pinned 108 arch/x86/kvm/pmu.c .pinned = true, pinned 1635 arch/x86/xen/mmu_pv.c bool pinned = xen_page_pinned(mm->pgd); pinned 1637 arch/x86/xen/mmu_pv.c trace_xen_mmu_alloc_ptpage(mm, pfn, level, pinned); pinned 1639 arch/x86/xen/mmu_pv.c if (pinned) { pinned 1676 arch/x86/xen/mmu_pv.c bool pinned = PagePinned(page); pinned 1678 arch/x86/xen/mmu_pv.c trace_xen_mmu_release_ptpage(pfn, level, pinned); pinned 1680 arch/x86/xen/mmu_pv.c if (pinned) { pinned 48 drivers/fpga/dfl-afu-dma-region.c int ret, pinned; pinned 60 drivers/fpga/dfl-afu-dma-region.c pinned = get_user_pages_fast(region->user_addr, npages, FOLL_WRITE, pinned 62 drivers/fpga/dfl-afu-dma-region.c if (pinned < 0) { pinned 63 drivers/fpga/dfl-afu-dma-region.c ret = pinned; pinned 65 drivers/fpga/dfl-afu-dma-region.c } else if (pinned != npages) { pinned 70 drivers/fpga/dfl-afu-dma-region.c dev_dbg(dev, "%d pages pinned\n", pinned); pinned 75 drivers/fpga/dfl-afu-dma-region.c put_all_pages(region->pages, pinned); pinned 662 drivers/gpu/drm/etnaviv/etnaviv_gem.c int ret, pinned = 0, npages = etnaviv_obj->base.size >> PAGE_SHIFT; pinned 674 drivers/gpu/drm/etnaviv/etnaviv_gem.c unsigned num_pages = npages - pinned; pinned 675 drivers/gpu/drm/etnaviv/etnaviv_gem.c uint64_t ptr = userptr->ptr + pinned * PAGE_SIZE; pinned 676 drivers/gpu/drm/etnaviv/etnaviv_gem.c struct page **pages = pvec + pinned; pinned 681 drivers/gpu/drm/etnaviv/etnaviv_gem.c release_pages(pvec, pinned); pinned 686 drivers/gpu/drm/etnaviv/etnaviv_gem.c pinned += ret; pinned 688 drivers/gpu/drm/etnaviv/etnaviv_gem.c } while (pinned < npages); pinned 195 drivers/gpu/drm/i915/gem/i915_gem_context.c LIST_HEAD(pinned); pinned 203 drivers/gpu/drm/i915/gem/i915_gem_context.c list_move_tail(&ctx->hw_id_link, &pinned); pinned 217 drivers/gpu/drm/i915/gem/i915_gem_context.c list_splice_tail(&pinned, &i915->contexts.hw_id_list); pinned 281 drivers/gpu/drm/i915/gem/i915_gem_pages.c bool pinned; pinned 292 drivers/gpu/drm/i915/gem/i915_gem_pages.c pinned = !(type & I915_MAP_OVERRIDE); pinned 306 drivers/gpu/drm/i915/gem/i915_gem_pages.c pinned = false; pinned 312 drivers/gpu/drm/i915/gem/i915_gem_pages.c if (pinned) { pinned 477 drivers/gpu/drm/i915/gem/i915_gem_userptr.c unsigned long pinned; pinned 482 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pinned = 0; pinned 495 drivers/gpu/drm/i915/gem/i915_gem_userptr.c while (pinned < npages) { pinned 498 drivers/gpu/drm/i915/gem/i915_gem_userptr.c obj->userptr.ptr + pinned * PAGE_SIZE, pinned 499 drivers/gpu/drm/i915/gem/i915_gem_userptr.c npages - pinned, pinned 501 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pvec + pinned, NULL, NULL); pinned 505 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pinned += ret; pinned 516 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (pinned == npages) { pinned 520 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pinned = 0; pinned 531 drivers/gpu/drm/i915/gem/i915_gem_userptr.c release_pages(pvec, pinned); pinned 587 drivers/gpu/drm/i915/gem/i915_gem_userptr.c int pinned; pinned 615 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pinned = 0; pinned 631 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pinned = __get_user_pages_fast(obj->userptr.ptr, pinned 638 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (pinned < 0) { pinned 639 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pages = ERR_PTR(pinned); pinned 640 drivers/gpu/drm/i915/gem/i915_gem_userptr.c pinned = 0; pinned 641 drivers/gpu/drm/i915/gem/i915_gem_userptr.c } else if (pinned < num_pages) { pinned 652 drivers/gpu/drm/i915/gem/i915_gem_userptr.c release_pages(pvec, pinned); pinned 167 drivers/gpu/drm/i915/gt/selftest_context.c void *pinned; pinned 183 drivers/gpu/drm/i915/gt/selftest_context.c saved.pinned = fetch_and_zero(&engine->pinned_default_state); pinned 192 drivers/gpu/drm/i915/gt/selftest_context.c engine->pinned_default_state = saved.pinned; pinned 88 drivers/gpu/drm/i915/i915_gem.c u64 pinned; pinned 92 drivers/gpu/drm/i915/i915_gem.c pinned = ggtt->vm.reserved; pinned 95 drivers/gpu/drm/i915/i915_gem.c pinned += vma->node.size; pinned 100 drivers/gpu/drm/i915/i915_gem.c args->aper_available_size = args->aper_size - pinned; pinned 111 drivers/gpu/drm/i915/selftests/i915_vma.c int pinned; pinned 114 drivers/gpu/drm/i915/selftests/i915_vma.c for (pinned = 0; pinned <= 1; pinned++) { pinned 129 drivers/gpu/drm/i915/selftests/i915_vma.c if (!pinned) { pinned 54 drivers/gpu/drm/qxl/qxl_object.c void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain, bool pinned) pinned 57 drivers/gpu/drm/qxl/qxl_object.c u32 pflag = pinned ? TTM_PL_FLAG_NO_EVICT : 0; pinned 81 drivers/gpu/drm/qxl/qxl_object.c unsigned long size, bool kernel, bool pinned, u32 domain, pinned 104 drivers/gpu/drm/qxl/qxl_object.c bo->pin_count = pinned ? 1 : 0; pinned 111 drivers/gpu/drm/qxl/qxl_object.c qxl_ttm_placement_from_domain(bo, domain, pinned); pinned 91 drivers/gpu/drm/qxl/qxl_object.h bool kernel, bool pinned, u32 domain, pinned 102 drivers/gpu/drm/qxl/qxl_object.h extern void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain, bool pinned); pinned 489 drivers/gpu/drm/radeon/radeon_ttm.c unsigned pinned = 0, nents; pinned 510 drivers/gpu/drm/radeon/radeon_ttm.c unsigned num_pages = ttm->num_pages - pinned; pinned 511 drivers/gpu/drm/radeon/radeon_ttm.c uint64_t userptr = gtt->userptr + pinned * PAGE_SIZE; pinned 512 drivers/gpu/drm/radeon/radeon_ttm.c struct page **pages = ttm->pages + pinned; pinned 519 drivers/gpu/drm/radeon/radeon_ttm.c pinned += r; pinned 521 drivers/gpu/drm/radeon/radeon_ttm.c } while (pinned < ttm->num_pages); pinned 543 drivers/gpu/drm/radeon/radeon_ttm.c release_pages(ttm->pages, pinned); pinned 305 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (vps->pinned) { pinned 307 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vps->pinned--; pinned 311 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (vps->pinned) pinned 673 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vps->pinned = 0; pinned 293 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h int pinned; pinned 1009 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c WARN_ON(!vps->pinned); pinned 1048 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c WARN_ON(vps->pinned != 0); pinned 1114 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c WARN_ON(vps->pinned != 0); pinned 1148 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c WARN_ON(vps->pinned != 0); pinned 1162 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vps->pinned++; pinned 217 drivers/infiniband/hw/hfi1/user_exp_rcv.c int pinned; pinned 255 drivers/infiniband/hw/hfi1/user_exp_rcv.c pinned = hfi1_acquire_user_pages(fd->mm, vaddr, npages, true, pages); pinned 256 drivers/infiniband/hw/hfi1/user_exp_rcv.c if (pinned <= 0) { pinned 258 drivers/infiniband/hw/hfi1/user_exp_rcv.c return pinned; pinned 262 drivers/infiniband/hw/hfi1/user_exp_rcv.c fd->tid_n_pinned += pinned; pinned 263 drivers/infiniband/hw/hfi1/user_exp_rcv.c return pinned; pinned 318 drivers/infiniband/hw/hfi1/user_exp_rcv.c int ret = 0, need_group = 0, pinned; pinned 342 drivers/infiniband/hw/hfi1/user_exp_rcv.c pinned = pin_rcv_pages(fd, tidbuf); pinned 343 drivers/infiniband/hw/hfi1/user_exp_rcv.c if (pinned <= 0) { pinned 346 drivers/infiniband/hw/hfi1/user_exp_rcv.c return pinned; pinned 350 drivers/infiniband/hw/hfi1/user_exp_rcv.c tidbuf->n_psets = find_phys_blocks(tidbuf, pinned); pinned 495 drivers/infiniband/hw/hfi1/user_exp_rcv.c if (mapped_pages != pinned) pinned 497 drivers/infiniband/hw/hfi1/user_exp_rcv.c (pinned - mapped_pages), false); pinned 74 drivers/infiniband/hw/hfi1/user_pages.c unsigned long ulimit = rlimit(RLIMIT_MEMLOCK), pinned, cache_limit, pinned 94 drivers/infiniband/hw/hfi1/user_pages.c pinned = atomic64_read(&mm->pinned_vm); pinned 97 drivers/infiniband/hw/hfi1/user_pages.c if (pinned + npages >= ulimit && !can_lock) pinned 972 drivers/infiniband/hw/hfi1/user_sdma.c int pinned, cleared; pinned 989 drivers/infiniband/hw/hfi1/user_sdma.c pinned = hfi1_acquire_user_pages(pq->mm, pinned 993 drivers/infiniband/hw/hfi1/user_sdma.c if (pinned < 0) { pinned 995 drivers/infiniband/hw/hfi1/user_sdma.c return pinned; pinned 997 drivers/infiniband/hw/hfi1/user_sdma.c if (pinned != npages) { pinned 998 drivers/infiniband/hw/hfi1/user_sdma.c unpin_vector_pages(pq->mm, pages, node->npages, pinned); pinned 1004 drivers/infiniband/hw/hfi1/user_sdma.c atomic_add(pinned, &pq->n_locked); pinned 1005 drivers/infiniband/hw/hfi1/user_sdma.c return pinned; pinned 1019 drivers/infiniband/hw/hfi1/user_sdma.c int ret = 0, pinned, npages; pinned 1055 drivers/infiniband/hw/hfi1/user_sdma.c pinned = pin_sdma_pages(req, iovec, node, npages); pinned 1056 drivers/infiniband/hw/hfi1/user_sdma.c if (pinned < 0) { pinned 1057 drivers/infiniband/hw/hfi1/user_sdma.c ret = pinned; pinned 1060 drivers/infiniband/hw/hfi1/user_sdma.c node->npages += pinned; pinned 25 drivers/oprofile/nmi_timer_int.c .pinned = 1, pinned 71 drivers/oprofile/oprofile_perf.c attr->pinned = 1; pinned 1753 drivers/pci/pci.c unsigned int pinned:1; pinned 1781 drivers/pci/pci.c if (this->enabled && !this->pinned) pinned 1847 drivers/pci/pci.c dr->pinned = 1; pinned 853 drivers/rapidio/devices/rio_mport_cdev.c long pinned; pinned 865 drivers/rapidio/devices/rio_mport_cdev.c pinned = get_user_pages_fast( pinned 871 drivers/rapidio/devices/rio_mport_cdev.c if (pinned != nr_pages) { pinned 872 drivers/rapidio/devices/rio_mport_cdev.c if (pinned < 0) { pinned 874 drivers/rapidio/devices/rio_mport_cdev.c pinned); pinned 878 drivers/rapidio/devices/rio_mport_cdev.c pinned, nr_pages); pinned 884 drivers/rapidio/devices/rio_mport_cdev.c nr_pages = pinned; pinned 402 drivers/vfio/vfio_iommu_type1.c long ret, pinned = 0, lock_acct = 0; pinned 414 drivers/vfio/vfio_iommu_type1.c pinned++; pinned 435 drivers/vfio/vfio_iommu_type1.c for (vaddr += PAGE_SIZE, iova += PAGE_SIZE; pinned < npage; pinned 436 drivers/vfio/vfio_iommu_type1.c pinned++, vaddr += PAGE_SIZE, iova += PAGE_SIZE) { pinned 441 drivers/vfio/vfio_iommu_type1.c if (pfn != *pfn_base + pinned || pinned 466 drivers/vfio/vfio_iommu_type1.c for (pfn = *pfn_base ; pinned ; pfn++, pinned--) pinned 473 drivers/vfio/vfio_iommu_type1.c return pinned; pinned 591 drivers/xen/privcmd.c int pinned; pinned 599 drivers/xen/privcmd.c pinned = get_user_pages_fast( pinned 602 drivers/xen/privcmd.c if (pinned < 0) pinned 603 drivers/xen/privcmd.c return pinned; pinned 605 drivers/xen/privcmd.c nr_pages -= pinned; pinned 606 drivers/xen/privcmd.c pages += pinned; pinned 131 fs/btrfs/block-group.c WARN_ON(cache->pinned > 0); pinned 1215 fs/btrfs/block-group.c num_bytes = cache->key.offset - cache->reserved - cache->pinned - pinned 1284 fs/btrfs/block-group.c if (block_group->reserved || block_group->pinned || pinned 1360 fs/btrfs/block-group.c -block_group->pinned); pinned 1361 fs/btrfs/block-group.c space_info->bytes_readonly += block_group->pinned; pinned 1363 fs/btrfs/block-group.c -block_group->pinned, pinned 1365 fs/btrfs/block-group.c block_group->pinned = 0; pinned 2111 fs/btrfs/block-group.c cache->pinned - cache->bytes_super - pinned 2697 fs/btrfs/block-group.c cache->pinned += num_bytes; pinned 51 fs/btrfs/block-group.h u64 pinned; pinned 2576 fs/btrfs/extent-tree.c cache->pinned += num_bytes; pinned 2841 fs/btrfs/extent-tree.c cache->pinned -= len; pinned 218 fs/btrfs/inode-map.c struct btrfs_free_space_ctl *pinned = root->free_ino_pinned; pinned 224 fs/btrfs/inode-map.c __btrfs_add_free_space(fs_info, pinned, objectid, 1); pinned 237 fs/btrfs/inode-map.c __btrfs_add_free_space(fs_info, pinned, objectid, 1); pinned 371 fs/btrfs/inode-map.c struct btrfs_free_space_ctl *pinned = root->free_ino_pinned; pinned 388 fs/btrfs/inode-map.c spin_lock_init(&pinned->tree_lock); pinned 389 fs/btrfs/inode-map.c pinned->unit = 1; pinned 390 fs/btrfs/inode-map.c pinned->start = 0; pinned 391 fs/btrfs/inode-map.c pinned->private = NULL; pinned 392 fs/btrfs/inode-map.c pinned->extents_thresh = 0; pinned 393 fs/btrfs/inode-map.c pinned->op = &pinned_free_ino_op; pinned 4456 fs/btrfs/relocation.c WARN_ON(rc->block_group->pinned > 0); pinned 305 fs/btrfs/space-info.c btrfs_block_group_used(&cache->item), cache->pinned, pinned 154 fs/gfs2/incore.h BUFFER_FNS(Pinned, pinned) pinned 155 fs/gfs2/incore.h TAS_BUFFER_FNS(Pinned, pinned) pinned 1894 fs/xfs/xfs_buf.c int pinned = 0; pinned 1903 fs/xfs/xfs_buf.c pinned++; pinned 1945 fs/xfs/xfs_buf.c return pinned; pinned 22 include/linux/hw_breakpoint.h attr->pinned = 1; pinned 330 include/linux/page-flags.h PAGEFLAG(Pinned, pinned, PF_NO_COMPOUND) pinned 331 include/linux/page-flags.h TESTSCFLAG(Pinned, pinned, PF_NO_COMPOUND) pinned 307 include/trace/events/xen.h TP_PROTO(struct mm_struct *mm, unsigned long pfn, unsigned level, bool pinned), pinned 308 include/trace/events/xen.h TP_ARGS(mm, pfn, level, pinned), pinned 313 include/trace/events/xen.h __field(bool, pinned) pinned 318 include/trace/events/xen.h __entry->pinned = pinned), pinned 321 include/trace/events/xen.h __entry->pinned ? "" : "un") pinned 325 include/trace/events/xen.h TP_PROTO(unsigned long pfn, unsigned level, bool pinned), pinned 326 include/trace/events/xen.h TP_ARGS(pfn, level, pinned), pinned 330 include/trace/events/xen.h __field(bool, pinned) pinned 334 include/trace/events/xen.h __entry->pinned = pinned), pinned 337 include/trace/events/xen.h __entry->pinned ? "" : "un") pinned 337 include/uapi/linux/perf_event.h pinned : 1, /* must always be on PMU */ pinned 1486 kernel/events/core.c event_type = event->attr.pinned ? EVENT_PINNED : EVENT_FLEXIBLE; pinned 1509 kernel/events/core.c if (event->attr.pinned) pinned 2021 kernel/events/core.c struct list_head *list = sibling->attr.pinned ? pinned 4061 kernel/events/core.c if (event->attr.pinned && event->oncpu != smp_processor_id()) { pinned 11122 kernel/events/core.c if (attr.exclusive || attr.pinned) pinned 64 kernel/events/hw_breakpoint.c unsigned int pinned; pinned 149 kernel/events/hw_breakpoint.c if (nr > slots->pinned) pinned 150 kernel/events/hw_breakpoint.c slots->pinned = nr; pinned 166 kernel/events/hw_breakpoint.c slots->pinned += weight; pinned 294 kernel/events/hw_breakpoint.c if (slots.pinned + (!!slots.flexible) > nr_slots[type]) pinned 199 kernel/time/hrtimer.c int pinned) pinned 202 kernel/time/hrtimer.c if (static_branch_likely(&timers_migration_enabled) && !pinned) pinned 222 kernel/time/hrtimer.c int pinned) pinned 229 kernel/time/hrtimer.c new_cpu_base = get_target_base(this_cpu_base, pinned); pinned 105 kernel/watchdog_hld.c .pinned = 1, pinned 261 net/rds/ib_rdma.c unsigned int pinned = ibmr->sg_len; pinned 264 net/rds/ib_rdma.c if (pinned) { pinned 267 net/rds/ib_rdma.c atomic_sub(pinned, &pool->free_pinned); pinned 337 tools/include/uapi/linux/perf_event.h pinned : 1, /* must always be on PMU */ pinned 108 tools/perf/tests/attr.c WRITE_ASS(pinned, "d"); pinned 559 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); pinned 577 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); pinned 589 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); pinned 1216 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", evsel->core.attr.pinned); pinned 1234 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", evsel->core.attr.pinned); pinned 1241 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); pinned 1247 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong pinned", !evsel->core.attr.pinned); pinned 1603 tools/perf/util/parse-events.c int pinned; pinned 1619 tools/perf/util/parse-events.c int pinned = evsel ? evsel->core.attr.pinned : 0; pinned 1660 tools/perf/util/parse-events.c pinned = 1; pinned 1692 tools/perf/util/parse-events.c mod->pinned = pinned; pinned 1750 tools/perf/util/parse-events.c evsel->core.attr.pinned = mod.pinned; pinned 105 tools/perf/util/perf_event_attr_fprintf.c PRINT_ATTRf(pinned, p_unsigned); pinned 734 tools/perf/util/python.c pinned = 0, pinned 758 tools/perf/util/python.c &pinned, &exclusive, &exclude_user, pinned 777 tools/perf/util/python.c attr.pinned = pinned; pinned 26 tools/testing/selftests/powerpc/pmu/ebb/cpu_event_pinned_vs_ebb_test.c event->attr.pinned = 1; pinned 346 tools/testing/selftests/powerpc/pmu/ebb/ebb.c e->attr.pinned = 1; pinned 117 tools/testing/selftests/powerpc/pmu/ebb/event_attributes_test.c leader.attr.pinned = 0; pinned 26 tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test.c event->attr.pinned = 1; pinned 594 virt/kvm/arm/pmu.c attr.pinned = 1;