/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem_userptr.c | 573 int pinned, ret; in __i915_gem_userptr_get_pages_worker() local 576 pinned = 0; in __i915_gem_userptr_get_pages_worker() 586 while (pinned < npages) { in __i915_gem_userptr_get_pages_worker() 588 obj->userptr.ptr + pinned * PAGE_SIZE, in __i915_gem_userptr_get_pages_worker() 589 npages - pinned, in __i915_gem_userptr_get_pages_worker() 591 pvec + pinned, NULL); in __i915_gem_userptr_get_pages_worker() 595 pinned += ret; in __i915_gem_userptr_get_pages_worker() 602 if (pinned == npages) { in __i915_gem_userptr_get_pages_worker() 609 pinned = 0; in __i915_gem_userptr_get_pages_worker() 621 release_pages(pvec, pinned, 0); in __i915_gem_userptr_get_pages_worker() [all …]
|
D | i915_gem_shrinker.c | 271 unsigned long pinned, bound, unbound, freed_pages; in i915_gem_shrinker_oom() local 296 unbound = bound = pinned = 0; in i915_gem_shrinker_oom() 302 pinned += obj->base.size; in i915_gem_shrinker_oom() 311 pinned += obj->base.size; in i915_gem_shrinker_oom() 321 freed_pages << PAGE_SHIFT, pinned); in i915_gem_shrinker_oom()
|
D | i915_gpu_error.c | 45 static const char *pin_flag(int pinned) in pin_flag() argument 47 if (pinned > 0) in pin_flag() 49 else if (pinned < 0) in pin_flag() 205 err_puts(m, pin_flag(err->pinned)); in print_error_buffers() 706 err->pinned = 0; in capture_bo() 708 err->pinned = 1; in capture_bo()
|
D | i915_gem.c | 137 size_t pinned; in i915_gem_get_aperture_ioctl() local 139 pinned = 0; in i915_gem_get_aperture_ioctl() 143 pinned += vma->node.size; in i915_gem_get_aperture_ioctl() 146 pinned += vma->node.size; in i915_gem_get_aperture_ioctl() 150 args->aper_available_size = args->aper_size - pinned; in i915_gem_get_aperture_ioctl()
|
D | i915_drv.h | 592 s32 pinned:2; member
|
/linux-4.4.14/fs/btrfs/ |
D | inode-map.c | 212 struct btrfs_free_space_ctl *pinned = root->free_ino_pinned; in btrfs_return_ino() local 218 __btrfs_add_free_space(pinned, objectid, 1); in btrfs_return_ino() 231 __btrfs_add_free_space(pinned, objectid, 1); in btrfs_return_ino() 367 struct btrfs_free_space_ctl *pinned = root->free_ino_pinned; in btrfs_init_free_ino_ctl() local 384 spin_lock_init(&pinned->tree_lock); in btrfs_init_free_ino_ctl() 385 pinned->unit = 1; in btrfs_init_free_ino_ctl() 386 pinned->start = 0; in btrfs_init_free_ino_ctl() 387 pinned->private = NULL; in btrfs_init_free_ino_ctl() 388 pinned->extents_thresh = 0; in btrfs_init_free_ino_ctl() 389 pinned->op = &pinned_free_ino_op; in btrfs_init_free_ino_ctl()
|
D | extent-tree.c | 135 WARN_ON(cache->pinned > 0); in btrfs_put_block_group() 5911 cache->pinned += num_bytes; in update_block_group() 5983 cache->pinned += num_bytes; in pin_down_extent() 6297 cache->pinned -= len; in unpin_extent_range() 7528 btrfs_block_group_used(&cache->item), cache->pinned, in dump_space_info() 9143 num_bytes = cache->key.offset - cache->reserved - cache->pinned - in inc_block_group_ro() 9293 cache->pinned - cache->bytes_super - in btrfs_dec_block_group_ro() 10451 space_info->bytes_pinned -= block_group->pinned; in btrfs_delete_unused_bgs() 10452 space_info->bytes_readonly += block_group->pinned; in btrfs_delete_unused_bgs() 10454 -block_group->pinned); in btrfs_delete_unused_bgs() [all …]
|
D | ctree.h | 1319 u64 pinned; member
|
D | relocation.c | 4290 WARN_ON(rc->block_group->pinned > 0);
|
/linux-4.4.14/include/trace/events/ |
D | xen.h | 328 TP_PROTO(struct mm_struct *mm, unsigned long pfn, unsigned level, bool pinned), 329 TP_ARGS(mm, pfn, level, pinned), 334 __field(bool, pinned) 339 __entry->pinned = pinned), 342 __entry->pinned ? "" : "un") 346 TP_PROTO(unsigned long pfn, unsigned level, bool pinned), 347 TP_ARGS(pfn, level, pinned), 351 __field(bool, pinned) 355 __entry->pinned = pinned), 358 __entry->pinned ? "" : "un")
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_object.c | 45 bool pinned) in virtio_gpu_init_ttm_placement() argument 48 u32 pflag = pinned ? TTM_PL_FLAG_NO_EVICT : 0; in virtio_gpu_init_ttm_placement() 62 unsigned long size, bool kernel, bool pinned, in virtio_gpu_object_create() argument 87 virtio_gpu_init_ttm_placement(bo, pinned); in virtio_gpu_object_create()
|
D | virtgpu_gem.c | 39 bool pinned) in virtio_gpu_alloc_object() argument 45 ret = virtio_gpu_object_create(vgdev, size, kernel, pinned, &obj); in virtio_gpu_alloc_object()
|
D | virtgpu_drv.h | 235 bool pinned); 354 unsigned long size, bool kernel, bool pinned,
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_object.c | 53 void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain, bool pinned) in qxl_ttm_placement_from_domain() argument 56 u32 pflag = pinned ? TTM_PL_FLAG_NO_EVICT : 0; in qxl_ttm_placement_from_domain() 79 unsigned long size, bool kernel, bool pinned, u32 domain, in qxl_bo_create() argument 102 bo->pin_count = pinned ? 1 : 0; in qxl_bo_create() 109 qxl_ttm_placement_from_domain(bo, domain, pinned); in qxl_bo_create()
|
D | qxl_object.h | 89 bool kernel, bool pinned, u32 domain, 100 extern void qxl_ttm_placement_from_domain(struct qxl_bo *qbo, u32 domain, bool pinned);
|
/linux-4.4.14/Documentation/infiniband/ |
D | user_verbs.txt | 49 amount of memory pinned in the process's locked_vm, and checks that 52 Pages that are pinned multiple times are counted each time they are 53 pinned, so the value of locked_vm may be an overestimate of the 54 number of pages pinned by a process.
|
/linux-4.4.14/Documentation/powerpc/ |
D | pmu-ebb.txt | 52 existing "pinned" and "exclusive" attributes of perf_events. This means EBB 53 events will be given priority over other events, unless they are also pinned. 54 If an EBB event and a regular event are both pinned, then whichever is enabled 69 An EBB event must be created with the "pinned" and "exclusive" attributes set. 99 This behaviour occurs because the EBB event is pinned and exclusive. When the 100 EBB event is enabled it will force all other non-pinned events off the PMU. In 102 pinned on the PMU then the enable will not be successful.
|
D | cxlflash.txt | 12 memory to be pinned.
|
/linux-4.4.14/kernel/events/ |
D | hw_breakpoint.c | 76 unsigned int pinned; member 161 if (nr > slots->pinned) in fetch_bp_busy_slots() 162 slots->pinned = nr; in fetch_bp_busy_slots() 178 slots->pinned += weight; in fetch_this_slot() 306 if (slots.pinned + (!!slots.flexible) > nr_slots[type]) in __reserve_bp_slot()
|
D | core.c | 1206 if (event->attr.pinned) in ctx_group_list() 2279 if (leader->attr.pinned) { in __perf_event_enable() 8450 if (attr.exclusive || attr.pinned) in SYSCALL_DEFINE5()
|
/linux-4.4.14/tools/perf/tests/attr/ |
D | base-stat | 15 pinned=0
|
D | base-record | 15 pinned=0
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
D | task_event_pinned_vs_ebb_test.c | 26 event->attr.pinned = 1; in setup_child_event()
|
D | cpu_event_pinned_vs_ebb_test.c | 26 event->attr.pinned = 1; in setup_cpu_event()
|
D | event_attributes_test.c | 117 leader.attr.pinned = 0; in event_attributes()
|
D | ebb.c | 348 e->attr.pinned = 1; in event_leader_ebb_init()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 495 unsigned pinned = 0, nents; in amdgpu_ttm_tt_pin_userptr() local 517 unsigned num_pages = ttm->num_pages - pinned; in amdgpu_ttm_tt_pin_userptr() 518 uint64_t userptr = gtt->userptr + pinned * PAGE_SIZE; in amdgpu_ttm_tt_pin_userptr() 519 struct page **pages = ttm->pages + pinned; in amdgpu_ttm_tt_pin_userptr() 526 pinned += r; in amdgpu_ttm_tt_pin_userptr() 528 } while (pinned < ttm->num_pages); in amdgpu_ttm_tt_pin_userptr() 550 release_pages(ttm->pages, pinned, 0); in amdgpu_ttm_tt_pin_userptr()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 534 unsigned pinned = 0, nents; in radeon_ttm_tt_pin_userptr() local 555 unsigned num_pages = ttm->num_pages - pinned; in radeon_ttm_tt_pin_userptr() 556 uint64_t userptr = gtt->userptr + pinned * PAGE_SIZE; in radeon_ttm_tt_pin_userptr() 557 struct page **pages = ttm->pages + pinned; in radeon_ttm_tt_pin_userptr() 564 pinned += r; in radeon_ttm_tt_pin_userptr() 566 } while (pinned < ttm->num_pages); in radeon_ttm_tt_pin_userptr() 588 release_pages(ttm->pages, pinned, 0); in radeon_ttm_tt_pin_userptr()
|
/linux-4.4.14/include/linux/ |
D | hw_breakpoint.h | 21 attr->pinned = 1; in hw_breakpoint_init()
|
D | page-flags.h | 219 PAGEFLAG(Pinned, pinned) TESTSCFLAG(Pinned, pinned) /* Xen */
|
/linux-4.4.14/kernel/time/ |
D | timer.c | 138 int pinned) in get_target_base() argument 140 if (pinned || !base->migration_enabled) in get_target_base() 146 int pinned) in get_target_base() argument 783 bool pending_only, int pinned) in __mod_timer() argument 800 new_base = get_target_base(base, pinned); in __mod_timer()
|
D | hrtimer.c | 183 int pinned) in get_target_base() argument 185 if (pinned || !base->migration_enabled) in get_target_base() 192 int pinned) in get_target_base() argument 212 int pinned) in switch_hrtimer_base() argument 219 new_cpu_base = get_target_base(this_cpu_base, pinned); in switch_hrtimer_base()
|
/linux-4.4.14/tools/perf/util/ |
D | parse-events.c | 1083 int pinned; member 1098 int pinned = evsel ? evsel->attr.pinned : 0; in get_event_modifier() local 1138 pinned = 1; in get_event_modifier() 1168 mod->pinned = pinned; in get_event_modifier() 1224 evsel->attr.pinned = mod.pinned; in parse_events__modifier_event()
|
D | python.c | 596 pinned = 0, in pyrf_evsel__init() local 620 &pinned, &exclusive, &exclude_user, in pyrf_evsel__init() 639 attr.pinned = pinned; in pyrf_evsel__init()
|
D | evsel.c | 1246 PRINT_ATTRf(pinned, p_unsigned); in perf_event_attr__fprintf()
|
/linux-4.4.14/drivers/oprofile/ |
D | nmi_timer_int.c | 24 .pinned = 1,
|
D | oprofile_perf.c | 70 attr->pinned = 1; in op_perf_setup()
|
/linux-4.4.14/tools/perf/tests/ |
D | attr.c | 98 WRITE_ASS(pinned, "d"); in store_event()
|
D | parse-events.c | 527 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events() 545 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events_mix() 557 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events_mix() 1184 TEST_ASSERT_VAL("wrong pinned", evsel->attr.pinned); in test__checkevent_pinned_modifier() 1202 TEST_ASSERT_VAL("wrong pinned", evsel->attr.pinned); in test__pinned_group() 1209 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__pinned_group() 1215 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__pinned_group()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | file_ops.c | 1621 unsigned free, pinned, pmapped = 0, bits_used; in exp_tid_setup() local 1674 pinned = min((bits_used * dd->rcv_entries.group_size), in exp_tid_setup() 1681 pinned, pages); in exp_tid_setup() 1691 (void *) vaddr, pinned, -ret); in exp_tid_setup() 1706 ngroups = (pinned / dd->rcv_entries.group_size) + in exp_tid_setup() 1707 !!(pinned % dd->rcv_entries.group_size); in exp_tid_setup() 1721 pmapped < pinned; j++, pmapped++, tid++) { in exp_tid_setup() 1767 mapped += pinned; in exp_tid_setup()
|
D | user_sdma.c | 1045 unsigned pinned; in pin_vector_pages() local 1058 pinned = get_user_pages_fast( in pin_vector_pages() 1064 if (pinned != iovec->npages) { in pin_vector_pages() 1065 SDMA_DBG(req, "Failed to pin pages (%u/%u)", pinned, in pin_vector_pages()
|
/linux-4.4.14/net/rds/ |
D | ib_rdma.c | 554 unsigned int pinned = ibmr->sg_len; in rds_ib_teardown_mr() local 557 if (pinned) { in rds_ib_teardown_mr() 560 atomic_sub(pinned, &pool->free_pinned); in rds_ib_teardown_mr()
|
/linux-4.4.14/fs/gfs2/ |
D | incore.h | 137 BUFFER_FNS(Pinned, pinned) 138 TAS_BUFFER_FNS(Pinned, pinned)
|
/linux-4.4.14/Documentation/frv/ |
D | features.txt | 296 Reading from the file will then show the context ID pinned. 301 The context ID will remain pinned as long as any process is using that 307 When there isn't a pinned context, the file shows -1:
|
/linux-4.4.14/arch/x86/kvm/ |
D | pmu.c | 108 .pinned = true, in pmc_reprogram_counter()
|
/linux-4.4.14/include/uapi/linux/ |
D | perf_event.h | 301 pinned : 1, /* must always be on PMU */ member
|
/linux-4.4.14/Documentation/devicetree/bindings/soc/fsl/ |
D | bman.txt | 87 (e.g. number of MAC(s) pinned-out, number of offline/host command FMan ports,
|
D | qman.txt | 104 specific board (e.g. number of MAC(s) pinned-out, number of offline/host command
|
/linux-4.4.14/arch/x86/xen/ |
D | mmu.c | 1674 bool pinned = PagePinned(virt_to_page(mm->pgd)); in xen_alloc_ptpage() local 1676 trace_xen_mmu_alloc_ptpage(mm, pfn, level, pinned); in xen_alloc_ptpage() 1678 if (pinned) { in xen_alloc_ptpage() 1714 bool pinned = PagePinned(page); in xen_release_ptpage() local 1716 trace_xen_mmu_release_ptpage(pfn, level, pinned); in xen_release_ptpage() 1718 if (pinned) { in xen_release_ptpage()
|
/linux-4.4.14/tools/perf/ |
D | design.txt | 52 pinned : 1, /* must always be on PMU */ 205 The 'pinned' bit, if set, specifies that the counter should always be 207 and only to group leaders. If a pinned counter cannot be put onto the
|
/linux-4.4.14/fs/xfs/ |
D | xfs_buf.c | 1793 int pinned = 0; in __xfs_buf_delwri_submit() local 1798 pinned++; in __xfs_buf_delwri_submit() 1844 return pinned; in __xfs_buf_delwri_submit()
|
/linux-4.4.14/kernel/ |
D | watchdog.c | 306 .pinned = 1,
|
/linux-4.4.14/Documentation/vm/ |
D | pagemap.txt | 142 It is somehow pinned and not a candidate for LRU page reclaims,
|
D | unevictable-lru.txt | 360 these mappings are inherently pinned, so we don't need to mark them as 365 2) VMAs mapping hugetlbfs page are already effectively pinned into memory. We
|
D | transhuge.txt | 387 anymore which tail page is pinned by gup and which is not while we run
|
/linux-4.4.14/Documentation/filesystems/ |
D | xfs-delayed-logging-design.txt | 258 that is in the AIL can be relogged, which causes the object to be pinned again 569 Currently log items are pinned during transaction commit while the items are 572 that items get pinned once for every transaction that is committed to the log 745 Pin item in memory if not pinned in CIL
|
D | sysfs.txt | 227 - The object passed to the methods will be pinned in memory via sysfs
|
D | path-lookup.txt | 241 start from current->fs->root, which is a pinned dentry. Alternatively,
|
D | Locking | 155 doesn't hold it when calling ->statfs() - superblock is pinned down
|
D | vfs.txt | 443 pinned, the data needed to release whatever we'd grabbed 994 However, our vfsmount is pinned, and RCU held, so the dentries and
|
D | coda.txt | 1198 These can be "pinned" in the Venus cache using vget and released with
|
/linux-4.4.14/Documentation/virtual/kvm/ |
D | mmu.txt | 24 - footprint: keep the amount of pinned kernel memory low (most memory 159 currently pinned (by a cpu hardware register pointing to it); once it is
|
/linux-4.4.14/drivers/pci/ |
D | pci.c | 1412 unsigned int pinned:1; member 1436 if (this->enabled && !this->pinned) in pcim_release() 1502 dr->pinned = 1; in pcim_pin_device()
|
/linux-4.4.14/Documentation/block/ |
D | data-integrity.txt | 82 to be pinned to I/Os and sent to/received from controllers that
|
/linux-4.4.14/Documentation/gpio/ |
D | driver.txt | 256 to request and free descriptors without being pinned to the kernel forever.
|
/linux-4.4.14/Documentation/sysctl/ |
D | vm.txt | 288 zone. This is because that memory could then be pinned via the mlock() 297 captured into pinned user memory.
|
/linux-4.4.14/arch/powerpc/perf/ |
D | core-book3s.c | 523 if (!leader->attr.pinned || !leader->attr.exclusive) in ebb_event_check()
|
/linux-4.4.14/Documentation/timers/ |
D | NO_HZ.txt | 314 where you want them whenever you want them pinned.
|
/linux-4.4.14/Documentation/cgroups/ |
D | cpusets.txt | 412 can move a task (not otherwised pinned, as by sched_setaffinity) 437 Of course, tasks pinned to a particular CPU can be left in a cpuset
|
/linux-4.4.14/Documentation/ |
D | vfio.txt | 455 receive a user space address and size of the block to be pinned.
|
D | dma-buf-sharing.txt | 327 unpinning of any pinned resources). The result of any dma_buf kmap calls
|
/linux-4.4.14/Documentation/filesystems/caching/ |
D | backend-api.txt | 297 These methods are used to pin an object into the cache. Once pinned an
|
D | netfs-api.txt | 794 These operations permit data cookies to be pinned into the cache and to
|
/linux-4.4.14/Documentation/DocBook/ |
D | device-drivers.xml.db | 60 API-mod-timer-pinned
|