Lines Matching refs:mapping
161 * the file while it has a (shared) futex waiting on it. This mapping will have
199 * @rw: mapping needs to be read/write (values: FUTEX_READ,
228 struct address_space *mapping;
272 /* Ignore any VERIFY_READ mapping (futex common case) */
291 * The treatment of mapping from this point on is critical. The folio
293 * stabilizes mapping, prevents inode freeing in the shared
298 * From this point on, mapping will be re-verified if necessary and
308 mapping = READ_ONCE(folio->mapping);
311 * If folio->mapping is NULL, then it cannot be an anonymous
313 * in a special mapping (all cases which we are happy to fail);
319 * prevents drop_caches from setting mapping to NULL beneath us.
323 * an unlikely race, but we do need to retry for folio->mapping.
325 if (unlikely(!mapping)) {
334 shmem_swizzled = folio_test_swapcache(folio) || folio->mapping;
350 * NOTE: When userspace waits on a MAP_SHARED mapping, even if
373 * the folio->mapping must be traversed. Ordinarily this should
379 * under RCU. If the mapping still matches expectations then the
380 * mapping->host can be safely accessed as being a valid inode.
384 if (READ_ONCE(folio->mapping) != mapping) {
391 inode = READ_ONCE(mapping->host);