Home
last modified time | relevance | path

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

/linux/include/trace/events/
H A Dhuge_memory.h204 unsigned long addr, bool is_shmem, struct file *file,
206 TP_ARGS(mm, new_folio, index, addr, is_shmem, file, nr, result),
212 __field(bool, is_shmem)
223 __entry->is_shmem = is_shmem;
234 __entry->is_shmem,
/linux/mm/
H A Dkhugepaged.c1860 bool is_shmem = shmem_file(file); in collapse_file() local
1862 VM_BUG_ON(!IS_ENABLED(CONFIG_READ_ONLY_THP_FOR_FS) && !is_shmem); in collapse_file()
1872 if (is_shmem) in collapse_file()
1898 if (is_shmem) { in collapse_file()
2006 if (!is_shmem && (folio_test_dirty(folio) || in collapse_file()
2066 if (!is_shmem) { in collapse_file()
2189 if (is_shmem) { in collapse_file()
2205 if (is_shmem) in collapse_file()
2231 if (is_shmem) in collapse_file()
2263 if (!is_shmem && result == SCAN_COPY_MC) { in collapse_file()
[all …]
/linux/tools/testing/selftests/mm/
H A 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/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c56 bool is_shmem; member
294 i915_tt->is_shmem = true; in i915_ttm_tt_create()
324 if (i915_tt->is_shmem) in i915_ttm_tt_populate()
338 if (i915_tt->is_shmem) { in i915_ttm_tt_unpopulate()
474 GEM_BUG_ON(!i915_tt->is_shmem); in i915_ttm_shrink()