Home
last modified time | relevance | path

Searched refs:wasted (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sa.c155 unsigned soffset, eoffset, wasted; in amdgpu_sa_bo_try_alloc() local
159 wasted = (align - (soffset % align)) % align; in amdgpu_sa_bo_try_alloc()
161 if ((eoffset - soffset) >= (size + wasted)) { in amdgpu_sa_bo_try_alloc()
162 soffset += wasted; in amdgpu_sa_bo_try_alloc()
188 unsigned soffset, eoffset, wasted; in amdgpu_sa_event() local
197 wasted = (align - (soffset % align)) % align; in amdgpu_sa_event()
199 if ((eoffset - soffset) >= (size + wasted)) { in amdgpu_sa_event()
/kernel/linux/linux-5.10/fs/jffs2/
H A Ddebug.c35 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", in __jffs2_dbg_acct_sanity_check_nolock()
44 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + erasing %#08x + bad %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", in __jffs2_dbg_acct_sanity_check_nolock()
163 uint32_t free = 0, dirty = 0, used = 0, wasted = 0, in __jffs2_dbg_superblock_counts() local
173 wasted += c->gcblock->wasted_size; in __jffs2_dbg_superblock_counts()
181 wasted += c->nextblock->wasted_size; in __jffs2_dbg_superblock_counts()
189 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
197 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
205 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
213 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
221 wasted in __jffs2_dbg_superblock_counts()
[all...]
/kernel/linux/linux-6.6/fs/jffs2/
H A Ddebug.c35 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", in __jffs2_dbg_acct_sanity_check_nolock()
44 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + erasing %#08x + bad %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", in __jffs2_dbg_acct_sanity_check_nolock()
163 uint32_t free = 0, dirty = 0, used = 0, wasted = 0, in __jffs2_dbg_superblock_counts() local
173 wasted += c->gcblock->wasted_size; in __jffs2_dbg_superblock_counts()
181 wasted += c->nextblock->wasted_size; in __jffs2_dbg_superblock_counts()
189 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
197 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
205 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
213 wasted += jeb->wasted_size; in __jffs2_dbg_superblock_counts()
221 wasted in __jffs2_dbg_superblock_counts()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_sa.c194 unsigned soffset, eoffset, wasted; in radeon_sa_bo_try_alloc() local
198 wasted = (align - (soffset % align)) % align; in radeon_sa_bo_try_alloc()
200 if ((eoffset - soffset) >= (size + wasted)) { in radeon_sa_bo_try_alloc()
201 soffset += wasted; in radeon_sa_bo_try_alloc()
227 unsigned soffset, eoffset, wasted; in radeon_sa_event() local
238 wasted = (align - (soffset % align)) % align; in radeon_sa_event()
240 if ((eoffset - soffset) >= (size + wasted)) { in radeon_sa_event()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_suballoc.c166 size_t soffset, eoffset, wasted; in drm_suballoc_try_alloc() local
170 wasted = round_up(soffset, align) - soffset; in drm_suballoc_try_alloc()
172 if ((eoffset - soffset) >= (size + wasted)) { in drm_suballoc_try_alloc()
173 soffset += wasted; in drm_suballoc_try_alloc()
189 size_t soffset, eoffset, wasted; in __drm_suballoc_event() local
198 wasted = round_up(soffset, align) - soffset; in __drm_suballoc_event()
200 return ((eoffset - soffset) >= (size + wasted)); in __drm_suballoc_event()
/kernel/linux/linux-5.10/tools/vm/
H A Dslabinfo.c836 unsigned long long wasted; in totals() local
848 wasted = size - used; in totals()
869 if (wasted < min_waste) in totals()
870 min_waste = wasted; in totals()
894 if (wasted > max_waste) in totals()
895 max_waste = wasted; in totals()
914 total_waste += wasted; in totals()
/kernel/linux/linux-6.6/tools/mm/
H A Dslabinfo.c860 unsigned long long wasted; in totals() local
872 wasted = size - used; in totals()
893 if (wasted < min_waste) in totals()
894 min_waste = wasted; in totals()
918 if (wasted > max_waste) in totals()
919 max_waste = wasted; in totals()
938 total_waste += wasted; in totals()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
H A Dhash_pgtable.c22 #warning Limited user VSID range means pagetable space is wasted
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/
H A Dhash_pgtable.c23 #warning Limited user VSID range means pagetable space is wasted
/kernel/linux/linux-5.10/mm/
H A Dpercpu.c2731 int allocs = 0, wasted = 0; in pcpu_build_alloc_info() local
2739 wasted += this_allocs * upa - group_cnt[group]; in pcpu_build_alloc_info()
2747 if (wasted > num_possible_cpus() / 3) in pcpu_build_alloc_info()
/kernel/linux/linux-6.6/mm/
H A Dpercpu.c2909 int allocs = 0, wasted = 0; in pcpu_build_alloc_info() local
2917 wasted += this_allocs * upa - group_cnt[group]; in pcpu_build_alloc_info()
2925 if (wasted > num_possible_cpus() / 3) in pcpu_build_alloc_info()

Completed in 19 milliseconds