Lines Matching defs:mapping
160 * the file while it has a (shared) futex waiting on it. This mapping will have
198 * @rw: mapping needs to be read/write (values: FUTEX_READ,
226 struct address_space *mapping;
267 /* Ignore any VERIFY_READ mapping (futex common case) */
286 * The treatment of mapping from this point on is critical. The page
288 * stabilizes mapping, prevents inode freeing in the shared
293 * From this point on, mapping will be re-verified if necessary and
297 * head page and mapping is looked up now. For anonymous pages, it
305 mapping = READ_ONCE(page->mapping);
308 * If page->mapping is NULL, then it cannot be a PageAnon
310 * in a special mapping (all cases which we are happy to fail);
316 * prevents drop_caches from setting mapping to NULL beneath us.
320 * an unlikely race, but we do need to retry for page->mapping.
322 if (unlikely(!mapping)) {
331 shmem_swizzled = PageSwapCache(page) || page->mapping;
347 * NOTE: When userspace waits on a MAP_SHARED mapping, even if
370 * the page->mapping must be traversed. Ordinarily this should
376 * under RCU. If the mapping still matches expectations then the
377 * mapping->host can be safely accessed as being a valid inode.
381 if (READ_ONCE(page->mapping) != mapping) {
388 inode = READ_ONCE(mapping->host);