Home
last modified time | relevance | path

Searched refs:is_shmem (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/include/trace/events/
Dhuge_memory.h211 unsigned long addr, bool is_shmem, struct file *file,
213 TP_ARGS(mm, new_folio, index, addr, is_shmem, file, nr, result),
219 __field(bool, is_shmem)
230 __entry->is_shmem = is_shmem;
241 __entry->is_shmem,
/linux-6.12.1/mm/
Dkhugepaged.c1816 bool is_shmem = shmem_file(file); in collapse_file() local
1818 VM_BUG_ON(!IS_ENABLED(CONFIG_READ_ONLY_THP_FOR_FS) && !is_shmem); in collapse_file()
1826 if (is_shmem) in collapse_file()
1852 if (is_shmem) { in collapse_file()
1960 if (!is_shmem && (folio_test_dirty(folio) || in collapse_file()
2020 if (!is_shmem) { in collapse_file()
2143 if (is_shmem) in collapse_file()
2162 if (is_shmem) in collapse_file()
2215 if (!is_shmem && result == SCAN_COPY_MC) { in collapse_file()
2230 …trace_mm_khugepaged_collapse_file(mm, new_folio, index, addr, is_shmem, file, HPAGE_PMD_NR, result… in collapse_file()
/linux-6.12.1/tools/testing/selftests/mm/
Dthp_settings.c350 static unsigned long __thp_supported_orders(bool is_shmem) in __thp_supported_orders() argument
361 (getpagesize() >> 10) << i, is_shmem ? shmem_dir : anon_dir); in __thp_supported_orders()
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c54 bool is_shmem; member
291 i915_tt->is_shmem = true; in i915_ttm_tt_create()
321 if (i915_tt->is_shmem) in i915_ttm_tt_populate()
335 if (i915_tt->is_shmem) { in i915_ttm_tt_unpopulate()
471 GEM_BUG_ON(!i915_tt->is_shmem); in i915_ttm_shrink()