Lines Matching defs:mapping
617 * Only return device mapping pages in the FOLL_GET or FOLL_PIN
787 * @vma: vm_area_struct mapping @address
805 * Return: the mapped (struct page *), %NULL if no mapping exists, or
806 * an error pointer if there is a mapping to something not represented
1005 * direct mapping.
1063 * set a breakpoint in a read-only mapping of an
2316 * DMA to devices or accessed via their kernel linear mapping (via the
2453 * therefore try to avoid the most egregious case of a long-term mapping doing
2462 struct address_space *mapping;
2488 * mapping cannot be freed beneath us and thus we can safely dereference
2494 * However, there may be operations which _alter_ the mapping, so ensure
2497 mapping = READ_ONCE(folio->mapping);
2500 * The mapping may have been truncated, in any case we cannot determine
2501 * if this mapping is safe - fall back to slow path to determine how to
2504 if (!mapping)
2508 mapping_flags = (unsigned long)mapping & PAGE_MAPPING_FLAGS;
2513 * At this point, we know the mapping is non-null and points to an
2517 return shmem_mapping(mapping);