Home
last modified time | relevance | path

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

/openbmc/linux/include/trace/events/
H A 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,
/openbmc/linux/mm/
H A Dkhugepaged.c1793 bool is_shmem = shmem_file(file); in collapse_file() local
1795 VM_BUG_ON(!IS_ENABLED(CONFIG_READ_ONLY_THP_FOR_FS) && !is_shmem); in collapse_file()
1803 if (is_shmem) in collapse_file()
1829 if (is_shmem) { in collapse_file()
1943 if (!is_shmem && (folio_test_dirty(folio) || in collapse_file()
2001 if (!is_shmem) { in collapse_file()
2119 if (is_shmem) in collapse_file()
2138 if (is_shmem) in collapse_file()
2191 if (!is_shmem && result == SCAN_COPY_MC) { in collapse_file()
2206 …trace_mm_khugepaged_collapse_file(mm, new_folio, index, addr, is_shmem, file, HPAGE_PMD_NR, result… in collapse_file()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c54 bool is_shmem; member
298 i915_tt->is_shmem = true; in i915_ttm_tt_create()
328 if (i915_tt->is_shmem) in i915_ttm_tt_populate()
342 if (i915_tt->is_shmem) { in i915_ttm_tt_unpopulate()
478 GEM_BUG_ON(!i915_tt->is_shmem); in i915_ttm_shrink()