Home
last modified time | relevance | path

Searched refs:pinned (Results 1 – 67 of 67) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_userptr.c553 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 …]
Di915_gem_shrinker.c260 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()
Di915_gpu_error.c50 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()
Di915_gem.c153 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()
Di915_drv.h508 s32 pinned:2; member
/linux-4.1.27/fs/btrfs/
Dinode-map.c212 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()
Dextent-tree.c137 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 …]
Dctree.h1285 u64 pinned; member
Drelocation.c4283 WARN_ON(rc->block_group->pinned > 0);
/linux-4.1.27/include/trace/events/
Dxen.h328 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/
Duser_verbs.txt49 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/
Dqxl_object.c53 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()
Dqxl_object.h89 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/
Dpmu-ebb.txt52 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/
Dhw_breakpoint.c76 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()
Dcore.c1218 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/
Dbase-stat15 pinned=0
Dbase-record15 pinned=0
/linux-4.1.27/tools/perf/util/
Dparse-events.c716 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()
Dpython.c549 pinned = 0, in pyrf_evsel__init() local
572 &pinned, &exclusive, &exclude_user, in pyrf_evsel__init()
591 attr.pinned = pinned; in pyrf_evsel__init()
Devsel.c1092 PRINT_ATTRf(pinned, p_unsigned); in perf_event_attr__fprintf()
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
Dtask_event_pinned_vs_ebb_test.c26 event->attr.pinned = 1; in setup_child_event()
Dcpu_event_pinned_vs_ebb_test.c26 event->attr.pinned = 1; in setup_cpu_event()
Devent_attributes_test.c115 leader.attr.pinned = 0; in event_attributes()
Debb.c337 e->attr.pinned = 1; in event_leader_ebb_init()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_ttm.c534 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/
Dhw_breakpoint.h21 attr->pinned = 1; in hw_breakpoint_init()
Dpage-flags.h220 PAGEFLAG(Pinned, pinned) TESTSCFLAG(Pinned, pinned) /* Xen */
Dsched.h338 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/
Dnmi_timer_int.c24 .pinned = 1,
Doprofile_perf.c70 attr->pinned = 1; in op_perf_setup()
/linux-4.1.27/net/rds/
Dib_rdma.c501 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/
Dattr.c98 WRITE_ASS(pinned, "d"); in store_event()
Dparse-events.c486 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/
Dmmu.c1562 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/
Dincore.h136 BUFFER_FNS(Pinned, pinned)
137 TAS_BUFFER_FNS(Pinned, pinned)
/linux-4.1.27/Documentation/frv/
Dfeatures.txt296 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/
Dperf_event.h296 pinned : 1, /* must always be on PMU */ member
/linux-4.1.27/Documentation/devicetree/bindings/soc/fsl/
Dbman.txt87 (e.g. number of MAC(s) pinned-out, number of offline/host command FMan ports,
Dqman.txt104 specific board (e.g. number of MAC(s) pinned-out, number of offline/host command
/linux-4.1.27/tools/perf/
Ddesign.txt52 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/
Dxfs_buf.c1794 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/
Dwatchdog.c269 .pinned = 1,
/linux-4.1.27/kernel/time/
Dtimer.c773 bool pending_only, int pinned) in __mod_timer() argument
790 cpu = get_nohz_timer_target(pinned); in __mod_timer()
Dhrtimer.c198 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/
Dpagemap.txt125 It is somehow pinned and not a candidate for LRU page reclaims,
Dunevictable-lru.txt360 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
Dtranshuge.txt377 anymore which tail page is pinned by gup and which is not while we run
/linux-4.1.27/arch/x86/kvm/
Dpmu.c173 .pinned = true, in reprogram_counter()
/linux-4.1.27/Documentation/gpio/
Ddriver.txt180 to request and free descriptors without being pinned to the kernel forever.
/linux-4.1.27/drivers/pci/
Dpci.c1367 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/
Dxfs-delayed-logging-design.txt258 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
Dsysfs.txt223 - The object passed to the methods will be pinned in memory via sysfs
Dpath-lookup.txt241 start from current->fs->root, which is a pinned dentry. Alternatively,
DLocking155 doesn't hold it when calling ->statfs() - superblock is pinned down
Dcoda.txt1198 These can be "pinned" in the Venus cache using vget and released with
Dvfs.txt987 However, our vfsmount is pinned, and RCU held, so the dentries and
/linux-4.1.27/Documentation/virtual/kvm/
Dmmu.txt24 - 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/
Ddata-integrity.txt82 to be pinned to I/Os and sent to/received from controllers that
/linux-4.1.27/Documentation/sysctl/
Dvm.txt288 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/
Dcore-book3s.c523 if (!leader->attr.pinned || !leader->attr.exclusive) in ebb_event_check()
/linux-4.1.27/Documentation/timers/
DNO_HZ.txt314 where you want them whenever you want them pinned.
/linux-4.1.27/Documentation/cgroups/
Dcpusets.txt412 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/
Ddma-buf-sharing.txt327 unpinning of any pinned resources). The result of any dma_buf kmap calls
/linux-4.1.27/Documentation/filesystems/caching/
Dbackend-api.txt297 These methods are used to pin an object into the cache. Once pinned an
Dnetfs-api.txt794 These operations permit data cookies to be pinned into the cache and to
/linux-4.1.27/kernel/sched/
Dcore.c596 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()