/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gpu_trace.h | 119 TP_PROTO(u32 nr_to_scan, u32 purged, u32 evicted, 121 TP_ARGS(nr_to_scan, purged, evicted, active_purged, active_evicted), 125 __field(u32, evicted) 132 __entry->evicted = evicted; 136 TP_printk("nr_to_scan=%u pg, purged=%u pg, evicted=%u pg, active_purged=%u pg, active_evicted=%u pg", 137 __entry->nr_to_scan, __entry->purged, __entry->evicted,
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_bo_evict.c | 82 * Wait for all user BO to be evicted as those evictions depend on the 95 list_move_tail(&bo->pinned_link, &xe->pinned.evicted); 133 bo = list_first_entry_or_null(&xe->pinned.evicted,
|
H A D | xe_device_types.h | 357 /** @pinned.evicted: pinned BO that have been evicted */ 358 struct list_head evicted; member in struct:xe_device::__anon74
|
H A D | xe_device.c | 262 INIT_LIST_HEAD(&xe->pinned.evicted);
|
H A D | xe_vm.c | 481 vm_bo->evicted = false; 492 * Validates all evicted gem objects and rebinds their vmas. Note that 1548 * but even so, the unbind when evicted would still
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm.h | 306 struct list_head evicted; member in struct:amdgpu_vm 481 struct amdgpu_bo *bo, bool evicted);
|
H A D | amdgpu_vm.c | 170 * amdgpu_vm_bo_evicted - vm_bo is evicted 172 * @vm_bo: vm_bo which is evicted 185 list_move(&vm_bo->vm_status, &vm->evicted); 187 list_move_tail(&vm_bo->vm_status, &vm->evicted); 237 * amdgpu_vm_bo_evicted_user - vm_bo is evicted 239 * @vm_bo: vm_bo which is evicted 353 * is currently evicted. add the bo to the evicted list to make sure it 446 * amdgpu_vm_validate - validate evicted BOs tracked in the VM 455 * necessary. If a ticket is given, also try to validate evicted use 2088 amdgpu_vm_bo_invalidate(struct amdgpu_device *adev, struct amdgpu_bo *bo, bool evicted) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device_queue_manager.c | 560 * Eviction state logic: mark all queues as evicted, even ones 564 q->properties.is_evicted = !!qpd->evicted; 1055 if (qpd->evicted++ > 0) /* already evicted, do nothing */ 1063 /* Mark all queues as evicted. Deactivate all active queues on 1105 if (qpd->evicted++ > 0) /* already evicted, do nothing */ 1120 /* Mark all queues as evicted. Deactivate all active queues on 1169 if (WARN_ON_ONCE(!qpd->evicted)) /* already restored, do nothing */ 1171 if (qpd->evicted > [all...] |
H A D | kfd_priv.h | 470 * @is_evicted: Defines if the queue is evicted. Only active queues 471 * are evicted, rendering them inactive. 651 unsigned int evicted; /* eviction counter, 0=active */ member in struct:qcm_process_device 700 /* Approx. wait time before attempting to restore evicted BOs */
|
H A D | kfd_process.c | 59 /* Ordered, single-threaded workqueue for restoring evicted 63 * remain evicted indefinitely. 1595 pdd->qpd.evicted = 0; 1843 * we would like to set all the queues to be in evicted state to prevent 2009 * before KFD BOs are unreserved. If not, the process can be evicted
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gpuvm.c | 87 * as entry for the &drm_gpuvm's lists of external and evicted objects. Those 89 * validation of evicted objects bound in a &drm_gpuvm. For instance, all 92 * order to validate all evicted &drm_gem_objects. It is also possible to lock 448 * The &drm_gpuvm's lists for keeping track of external and evicted objects are 1154 if (vm_bo->evicted) 1398 if (!vm_bo->evicted) 1406 * drm_gpuvm_validate() - validate all BOs marked as evicted 1407 * @gpuvm: the &drm_gpuvm to validate evicted BOs 1410 * Calls the &drm_gpuvm_ops::vm_bo_validate callback for all evicted buffer 1686 * evicted lis [all...] |
/linux-master/mm/ |
H A D | workingset.c | 44 * are evicted from the inactive list every time before another access 92 * 1. When a page is finally evicted from memory, the number of 132 * had (R - E) more page slots, the page would not have been evicted 156 * used once will be evicted from memory. 177 * slot of the evicted page. This is called a shadow entry. 254 atomic_long_add(delta, &lrugen->evicted[hist][type][tier]); 260 * Tests if the shadow entry is for a folio that was recently evicted. 377 * @folio: the folio being evicted 380 * of the evicted @folio so that a later refault can be detected. 409 * recently evicted [all...] |
H A D | vmscan.c | 2057 * are not likely to be evicted by use-once streaming 3010 * The P term is refaulted/(evicted+protected) from a tier in the generation 3011 * currently being evicted; the I term is the exponential moving average of the 3012 * P term over the generations previously evicted, using the smoothing factor 3041 atomic_long_read(&lrugen->evicted[hist][type][tier]); 3070 atomic_long_read(&lrugen->evicted[hist][type][tier]); 3078 atomic_long_set(&lrugen->evicted[hist][type][tier], 0); 5245 n[1] = atomic_long_read(&lrugen->evicted[hist][type][tier]);
|
/linux-master/include/drm/ |
H A D | drm_gpuvm.h | 318 * being evicted 324 * storing entries from the evicted object list 616 * drm_gpuvm_exec_validate() - validate all BOs marked as evicted 638 * Furthermore it is used cache evicted GEM objects for a certain GPU-VM to 659 * @evicted: Indicates whether the &drm_gem_object is evicted; field 662 bool evicted; member in struct:drm_gpuvm_bo 743 * to/from the &drm_gpuvms evicted list 745 * @evict: indicates whether @obj is evicted 1148 * Drivers receive this callback for every evicted [all...] |
/linux-master/fs/gfs2/ |
H A D | glock.c | 954 bool evicted = false; local 958 * to grab and release the inode so that it can be evicted. This will 977 /* If the inode was evicted, gl->gl_object will now be NULL. */ 990 evicted = !ip; 992 return evicted;
|
/linux-master/include/linux/ |
H A D | mmzone.h | 370 * comparisons of refaulted/(evicted+protected) from the first tier and the 406 /* whether to keep historical stats from evicted generations */ 417 * can be evicted regardless of swap constraints. 439 /* the exponential moving average of evicted+protected */ 444 atomic_long_t evicted[NR_HIST_GENS][ANON_AND_FILE][MAX_NR_TIERS]; member in struct:lru_gen_folio
|