Home
last modified time | relevance | path

Searched refs:needs_flush (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/include/trace/events/
H A Dmemcg.h80 bool force, bool needs_flush),
82 TP_ARGS(memcg, stats_updates, force, needs_flush),
88 __field(bool, needs_flush)
95 __entry->needs_flush = needs_flush;
100 __entry->force, __entry->needs_flush)
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ids.c280 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_reserved() local
291 needs_flush = true; in amdgpu_vmid_grab_reserved()
294 (!adev->vm_manager.concurrent_flush && needs_flush)) { in amdgpu_vmid_grab_reserved()
321 job->vm_needs_flush = needs_flush; in amdgpu_vmid_grab_reserved()
352 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_used() local
364 needs_flush = true; in amdgpu_vmid_grab_used()
367 needs_flush = true; in amdgpu_vmid_grab_used()
369 if (needs_flush && !adev->vm_manager.concurrent_flush) in amdgpu_vmid_grab_used()
381 job->vm_needs_flush |= needs_flush; in amdgpu_vmid_grab_used()
H A Damdgpu_vm_cpu.c109 if (p->needs_flush) in amdgpu_vm_cpu_commit()
H A Damdgpu_trace.h229 __field(u32, needs_flush)
238 __entry->needs_flush = job->vm_needs_flush;
242 __entry->vm_hub, __entry->pd_addr, __entry->needs_flush)
H A Damdgpu_vm_sdma.c118 if (p->needs_flush) in amdgpu_vm_sdma_commit()
H A Damdgpu_vm.h295 bool needs_flush; member
H A Damdgpu_vm_pt.c933 params->needs_flush = true; in amdgpu_vm_ptes_update()
H A Damdgpu_vm.c1119 params.needs_flush = flush_tlb; in amdgpu_vm_update_range()
1199 if (params.needs_flush) { in amdgpu_vm_update_range()
/linux-6.15/arch/loongarch/kvm/
H A Dmmu.c447 int needs_flush; in kvm_arch_commit_memory_region() local
479 needs_flush = kvm_mkclean_gpa_pt(kvm, new->base_gfn, in kvm_arch_commit_memory_region()
482 if (needs_flush) in kvm_arch_commit_memory_region()
/linux-6.15/arch/parisc/kernel/
H A Dcache.c627 bool needs_flush = false; in flush_cache_page_if_present() local
633 needs_flush = pte_needs_flush(pte); in flush_cache_page_if_present()
636 if (needs_flush) in flush_cache_page_if_present()
/linux-6.15/arch/mips/kvm/
H A Dmips.c217 int needs_flush; in kvm_arch_commit_memory_region() local
233 needs_flush = kvm_mips_mkclean_gpa_pt(kvm, new->base_gfn, in kvm_arch_commit_memory_region()
235 if (needs_flush) in kvm_arch_commit_memory_region()
/linux-6.15/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_pages.c1075 unsigned int needs_flush; in __cpu_check_shmem() local
1080 err = i915_gem_object_prepare_read(obj, &needs_flush); in __cpu_check_shmem()
1087 if (needs_flush & CLFLUSH_BEFORE) in __cpu_check_shmem()
H A Di915_gem_context.c511 unsigned int needs_flush; in cpu_check() local
516 err = i915_gem_object_prepare_read(obj, &needs_flush); in cpu_check()
524 if (needs_flush & CLFLUSH_BEFORE) in cpu_check()
/linux-6.15/mm/
H A Dmemcontrol.c606 bool needs_flush = memcg_vmstats_needs_flush(memcg->vmstats); in __mem_cgroup_flush_stats() local
609 force, needs_flush); in __mem_cgroup_flush_stats()
611 if (!force && !needs_flush) in __mem_cgroup_flush_stats()