Home
last modified time | relevance | path

Searched refs:mm_stats (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c630 if (us <= 0 || !adev->mm_stats.log2_max_MBps) in us_to_bytes()
636 return us << adev->mm_stats.log2_max_MBps; in us_to_bytes()
641 if (!adev->mm_stats.log2_max_MBps) in bytes_to_us()
644 return bytes >> adev->mm_stats.log2_max_MBps; in bytes_to_us()
675 if (!adev->mm_stats.log2_max_MBps) { in amdgpu_cs_get_threshold_for_moves()
685 spin_lock(&adev->mm_stats.lock); in amdgpu_cs_get_threshold_for_moves()
689 increment_us = time_us - adev->mm_stats.last_update_us; in amdgpu_cs_get_threshold_for_moves()
690 adev->mm_stats.last_update_us = time_us; in amdgpu_cs_get_threshold_for_moves()
691 adev->mm_stats.accum_us = min(adev->mm_stats.accum_us + increment_us, in amdgpu_cs_get_threshold_for_moves()
717 adev->mm_stats.accum_us = max(min_us, adev->mm_stats.accum_us); in amdgpu_cs_get_threshold_for_moves()
[all …]
Damdgpu.h865 } mm_stats; member
Damdgpu_device.c3594 spin_lock_init(&adev->mm_stats.lock); in amdgpu_device_init()
3829 adev->mm_stats.log2_max_MBps = ilog2(max(1u, max_MBps)); in amdgpu_device_init()
/Linux-v6.1/mm/
Dvmscan.c3407 lruvec->mm_state.stats[hist][i] + walk->mm_stats[i]); in reset_mm_stats()
3408 walk->mm_stats[i] = 0; in reset_mm_stats()
3904 walk->mm_stats[MM_LEAF_TOTAL]++; in walk_pte_range()
3911 walk->mm_stats[MM_LEAF_OLD]++; in walk_pte_range()
3923 walk->mm_stats[MM_LEAF_YOUNG]++; in walk_pte_range()
4003 walk->mm_stats[MM_LEAF_YOUNG]++; in walk_pmd_range_locked()
4062 walk->mm_stats[MM_LEAF_TOTAL]++; in walk_pmd_range()
4071 walk->mm_stats[MM_LEAF_TOTAL]++; in walk_pmd_range()
4074 walk->mm_stats[MM_LEAF_OLD]++; in walk_pmd_range()
4086 walk->mm_stats[MM_NONLEAF_TOTAL]++; in walk_pmd_range()
[all …]
/Linux-v6.1/include/linux/
Dmmzone.h471 int mm_stats[NR_MM_STATS]; member