Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_userptr.c573 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 …]
Di915_gem_shrinker.c271 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()
Di915_gpu_error.c45 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()
Di915_gem.c137 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()
Di915_drv.h592 s32 pinned:2; member
/linux-4.4.14/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.c135 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 …]
Dctree.h1319 u64 pinned; member
Drelocation.c4290 WARN_ON(rc->block_group->pinned > 0);
/linux-4.4.14/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.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_object.c45 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()
Dvirtgpu_gem.c39 bool pinned) in virtio_gpu_alloc_object() argument
45 ret = virtio_gpu_object_create(vgdev, size, kernel, pinned, &obj); in virtio_gpu_alloc_object()
Dvirtgpu_drv.h235 bool pinned);
354 unsigned long size, bool kernel, bool pinned,
/linux-4.4.14/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.4.14/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.4.14/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.
Dcxlflash.txt12 memory to be pinned.
/linux-4.4.14/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.c1206 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/
Dbase-stat15 pinned=0
Dbase-record15 pinned=0
/linux-4.4.14/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.c117 leader.attr.pinned = 0; in event_attributes()
Debb.c348 e->attr.pinned = 1; in event_leader_ebb_init()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c495 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/
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.4.14/include/linux/
Dhw_breakpoint.h21 attr->pinned = 1; in hw_breakpoint_init()
Dpage-flags.h219 PAGEFLAG(Pinned, pinned) TESTSCFLAG(Pinned, pinned) /* Xen */
/linux-4.4.14/kernel/time/
Dtimer.c138 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()
Dhrtimer.c183 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/
Dparse-events.c1083 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()
Dpython.c596 pinned = 0, in pyrf_evsel__init() local
620 &pinned, &exclusive, &exclude_user, in pyrf_evsel__init()
639 attr.pinned = pinned; in pyrf_evsel__init()
Devsel.c1246 PRINT_ATTRf(pinned, p_unsigned); in perf_event_attr__fprintf()
/linux-4.4.14/drivers/oprofile/
Dnmi_timer_int.c24 .pinned = 1,
Doprofile_perf.c70 attr->pinned = 1; in op_perf_setup()
/linux-4.4.14/tools/perf/tests/
Dattr.c98 WRITE_ASS(pinned, "d"); in store_event()
Dparse-events.c527 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/
Dfile_ops.c1621 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()
Duser_sdma.c1045 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/
Dib_rdma.c554 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/
Dincore.h137 BUFFER_FNS(Pinned, pinned)
138 TAS_BUFFER_FNS(Pinned, pinned)
/linux-4.4.14/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.4.14/arch/x86/kvm/
Dpmu.c108 .pinned = true, in pmc_reprogram_counter()
/linux-4.4.14/include/uapi/linux/
Dperf_event.h301 pinned : 1, /* must always be on PMU */ member
/linux-4.4.14/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.4.14/arch/x86/xen/
Dmmu.c1674 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/
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.4.14/fs/xfs/
Dxfs_buf.c1793 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/
Dwatchdog.c306 .pinned = 1,
/linux-4.4.14/Documentation/vm/
Dpagemap.txt142 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.txt387 anymore which tail page is pinned by gup and which is not while we run
/linux-4.4.14/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.txt227 - 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
Dvfs.txt443 pinned, the data needed to release whatever we'd grabbed
994 However, our vfsmount is pinned, and RCU held, so the dentries and
Dcoda.txt1198 These can be "pinned" in the Venus cache using vget and released with
/linux-4.4.14/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.4.14/drivers/pci/
Dpci.c1412 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/
Ddata-integrity.txt82 to be pinned to I/Os and sent to/received from controllers that
/linux-4.4.14/Documentation/gpio/
Ddriver.txt256 to request and free descriptors without being pinned to the kernel forever.
/linux-4.4.14/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.4.14/arch/powerpc/perf/
Dcore-book3s.c523 if (!leader->attr.pinned || !leader->attr.exclusive) in ebb_event_check()
/linux-4.4.14/Documentation/timers/
DNO_HZ.txt314 where you want them whenever you want them pinned.
/linux-4.4.14/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.4.14/Documentation/
Dvfio.txt455 receive a user space address and size of the block to be pinned.
Ddma-buf-sharing.txt327 unpinning of any pinned resources). The result of any dma_buf kmap calls
/linux-4.4.14/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.4.14/Documentation/DocBook/
Ddevice-drivers.xml.db60 API-mod-timer-pinned