/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_userptr.c | 553 int pinned, ret; in __i915_gem_userptr_get_pages_worker() local 556 pinned = 0; in __i915_gem_userptr_get_pages_worker() 566 while (pinned < num_pages) { in __i915_gem_userptr_get_pages_worker() 568 obj->userptr.ptr + pinned * PAGE_SIZE, in __i915_gem_userptr_get_pages_worker() 569 num_pages - pinned, in __i915_gem_userptr_get_pages_worker() 571 pvec + pinned, NULL); in __i915_gem_userptr_get_pages_worker() 575 pinned += ret; in __i915_gem_userptr_get_pages_worker() 583 } else if (pinned == num_pages) { in __i915_gem_userptr_get_pages_worker() 587 pinned = 0; in __i915_gem_userptr_get_pages_worker() 596 release_pages(pvec, pinned, 0); in __i915_gem_userptr_get_pages_worker() [all …]
|
D | i915_gem_shrinker.c | 260 unsigned long pinned, bound, unbound, freed_pages; in i915_gem_shrinker_oom() local 285 unbound = bound = pinned = 0; in i915_gem_shrinker_oom() 291 pinned += obj->base.size; in i915_gem_shrinker_oom() 300 pinned += obj->base.size; in i915_gem_shrinker_oom() 310 freed_pages << PAGE_SHIFT, pinned); in i915_gem_shrinker_oom()
|
D | i915_gpu_error.c | 50 static const char *pin_flag(int pinned) in pin_flag() argument 52 if (pinned > 0) in pin_flag() 54 else if (pinned < 0) in pin_flag() 204 err_puts(m, pin_flag(err->pinned)); in print_error_buffers() 691 err->pinned = 0; in capture_bo() 693 err->pinned = 1; in capture_bo()
|
D | i915_gem.c | 153 size_t pinned; in i915_gem_get_aperture_ioctl() local 155 pinned = 0; in i915_gem_get_aperture_ioctl() 159 pinned += i915_gem_obj_ggtt_size(obj); in i915_gem_get_aperture_ioctl() 163 args->aper_available_size = args->aper_size - pinned; in i915_gem_get_aperture_ioctl()
|
D | i915_drv.h | 508 s32 pinned:2; member
|
/linux-4.1.27/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 | 137 WARN_ON(cache->pinned > 0); in btrfs_put_block_group() 5679 cache->pinned += num_bytes; in update_block_group() 5748 cache->pinned += num_bytes; in pin_down_extent() 6011 cache->pinned -= len; in unpin_extent_range() 7162 btrfs_block_group_used(&cache->item), cache->pinned, in dump_space_info() 8788 num_bytes = cache->key.offset - cache->reserved - cache->pinned - in set_block_group_ro() 8938 num_bytes = cache->key.offset - cache->reserved - cache->pinned - in btrfs_set_block_group_rw() 10016 space_info->bytes_pinned -= block_group->pinned; in btrfs_delete_unused_bgs() 10017 space_info->bytes_readonly += block_group->pinned; in btrfs_delete_unused_bgs() 10019 -block_group->pinned); in btrfs_delete_unused_bgs() [all …]
|
D | ctree.h | 1285 u64 pinned; member
|
D | relocation.c | 4283 WARN_ON(rc->block_group->pinned > 0);
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.
|
/linux-4.1.27/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 | 1218 if (event->attr.pinned) in ctx_group_list() 2260 if (leader->attr.pinned) { in __perf_event_enable() 8108 if (attr.exclusive || attr.pinned) in SYSCALL_DEFINE5()
|
/linux-4.1.27/tools/perf/tests/attr/ |
D | base-stat | 15 pinned=0
|
D | base-record | 15 pinned=0
|
/linux-4.1.27/tools/perf/util/ |
D | parse-events.c | 716 int pinned; member 730 int pinned = evsel ? evsel->attr.pinned : 0; in get_event_modifier() local 768 pinned = 1; in get_event_modifier() 797 mod->pinned = pinned; in get_event_modifier() 852 evsel->attr.pinned = mod.pinned; in parse_events__modifier_event()
|
D | python.c | 549 pinned = 0, in pyrf_evsel__init() local 572 &pinned, &exclusive, &exclude_user, in pyrf_evsel__init() 591 attr.pinned = pinned; in pyrf_evsel__init()
|
D | evsel.c | 1092 PRINT_ATTRf(pinned, p_unsigned); in perf_event_attr__fprintf()
|
/linux-4.1.27/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 | 115 leader.attr.pinned = 0; in event_attributes()
|
D | ebb.c | 337 e->attr.pinned = 1; in event_leader_ebb_init()
|
/linux-4.1.27/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.1.27/include/linux/ |
D | hw_breakpoint.h | 21 attr->pinned = 1; in hw_breakpoint_init()
|
D | page-flags.h | 220 PAGEFLAG(Pinned, pinned) TESTSCFLAG(Pinned, pinned) /* Xen */
|
D | sched.h | 338 extern int get_nohz_timer_target(int pinned); 342 static inline int get_nohz_timer_target(int pinned) in get_nohz_timer_target() argument
|
/linux-4.1.27/drivers/oprofile/ |
D | nmi_timer_int.c | 24 .pinned = 1,
|
D | oprofile_perf.c | 70 attr->pinned = 1; in op_perf_setup()
|
/linux-4.1.27/net/rds/ |
D | ib_rdma.c | 501 unsigned int pinned = ibmr->sg_len; in rds_ib_teardown_mr() local 504 if (pinned) { in rds_ib_teardown_mr() 508 atomic_sub(pinned, &pool->free_pinned); in rds_ib_teardown_mr()
|
/linux-4.1.27/tools/perf/tests/ |
D | attr.c | 98 WRITE_ASS(pinned, "d"); in store_event()
|
D | parse-events.c | 486 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events() 504 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events_mix() 516 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__checkevent_pmu_events_mix() 1143 TEST_ASSERT_VAL("wrong pinned", evsel->attr.pinned); in test__checkevent_pinned_modifier() 1161 TEST_ASSERT_VAL("wrong pinned", evsel->attr.pinned); in test__pinned_group() 1168 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__pinned_group() 1174 TEST_ASSERT_VAL("wrong pinned", !evsel->attr.pinned); in test__pinned_group()
|
/linux-4.1.27/arch/x86/xen/ |
D | mmu.c | 1562 bool pinned = PagePinned(virt_to_page(mm->pgd)); in xen_alloc_ptpage() local 1564 trace_xen_mmu_alloc_ptpage(mm, pfn, level, pinned); in xen_alloc_ptpage() 1566 if (pinned) { in xen_alloc_ptpage() 1602 bool pinned = PagePinned(page); in xen_release_ptpage() local 1604 trace_xen_mmu_release_ptpage(pfn, level, pinned); in xen_release_ptpage() 1606 if (pinned) { in xen_release_ptpage()
|
/linux-4.1.27/fs/gfs2/ |
D | incore.h | 136 BUFFER_FNS(Pinned, pinned) 137 TAS_BUFFER_FNS(Pinned, pinned)
|
/linux-4.1.27/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.1.27/include/uapi/linux/ |
D | perf_event.h | 296 pinned : 1, /* must always be on PMU */ member
|
/linux-4.1.27/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.1.27/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.1.27/fs/xfs/ |
D | xfs_buf.c | 1794 int pinned = 0; in __xfs_buf_delwri_submit() local 1799 pinned++; in __xfs_buf_delwri_submit() 1845 return pinned; in __xfs_buf_delwri_submit()
|
/linux-4.1.27/kernel/ |
D | watchdog.c | 269 .pinned = 1,
|
/linux-4.1.27/kernel/time/ |
D | timer.c | 773 bool pending_only, int pinned) in __mod_timer() argument 790 cpu = get_nohz_timer_target(pinned); in __mod_timer()
|
D | hrtimer.c | 198 int pinned) in switch_hrtimer_base() argument 203 int cpu = get_nohz_timer_target(pinned); in switch_hrtimer_base()
|
/linux-4.1.27/Documentation/vm/ |
D | pagemap.txt | 125 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 | 377 anymore which tail page is pinned by gup and which is not while we run
|
/linux-4.1.27/arch/x86/kvm/ |
D | pmu.c | 173 .pinned = true, in reprogram_counter()
|
/linux-4.1.27/Documentation/gpio/ |
D | driver.txt | 180 to request and free descriptors without being pinned to the kernel forever.
|
/linux-4.1.27/drivers/pci/ |
D | pci.c | 1367 unsigned int pinned:1; member 1391 if (this->enabled && !this->pinned) in pcim_release() 1457 dr->pinned = 1; in pcim_pin_device()
|
/linux-4.1.27/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 | 223 - 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 | coda.txt | 1198 These can be "pinned" in the Venus cache using vget and released with
|
D | vfs.txt | 987 However, our vfsmount is pinned, and RCU held, so the dentries and
|
/linux-4.1.27/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.1.27/Documentation/block/ |
D | data-integrity.txt | 82 to be pinned to I/Os and sent to/received from controllers that
|
/linux-4.1.27/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.1.27/arch/powerpc/perf/ |
D | core-book3s.c | 523 if (!leader->attr.pinned || !leader->attr.exclusive) in ebb_event_check()
|
/linux-4.1.27/Documentation/timers/ |
D | NO_HZ.txt | 314 where you want them whenever you want them pinned.
|
/linux-4.1.27/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.1.27/Documentation/ |
D | dma-buf-sharing.txt | 327 unpinning of any pinned resources). The result of any dma_buf kmap calls
|
/linux-4.1.27/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.1.27/kernel/sched/ |
D | core.c | 596 int get_nohz_timer_target(int pinned) in get_nohz_timer_target() argument 602 if (pinned || !get_sysctl_timer_migration() || !idle_cpu(cpu)) in get_nohz_timer_target()
|