Lines Matching defs:mapping

535 	/* add the VMA to the mapping */
537 struct address_space *mapping = vma->vm_file->f_mapping;
539 i_mmap_lock_write(mapping);
540 flush_dcache_mmap_lock(mapping);
541 vma_interval_tree_insert(vma, &mapping->i_mmap);
542 flush_dcache_mmap_unlock(mapping);
543 i_mmap_unlock_write(mapping);
550 /* remove the VMA from the mapping */
552 struct address_space *mapping;
553 mapping = vma->vm_file->f_mapping;
555 i_mmap_lock_write(mapping);
556 flush_dcache_mmap_lock(mapping);
557 vma_interval_tree_remove(vma, &mapping->i_mmap);
558 flush_dcache_mmap_unlock(mapping);
559 i_mmap_unlock_write(mapping);
673 * determine whether a mapping should be permitted and, if so, what sort of
674 * mapping we're capable of supporting
771 /* we don't permit a private writable mapping to be
831 * we've determined that we can make the mapping, now translate what we
850 /* MAP_PRIVATE file mapping */
858 * R/O private file mapping which cannot be used to
862 * the file mapping, which will work e.g., on chardevs,
867 /* MAP_SHARED file mapping: NOMMU_MAP_DIRECT is set. */
876 * set up a shared mapping on a file (the driver or filesystem provides and
898 * set up a private mapping or an anonymous shared mapping
910 * Invoke the file's mapping function so that it can keep track of
933 /* allocate some memory to hold the mapping
996 * handle mapping creation for uClinux
1017 /* decide whether we should attempt the mapping, and if so what sort of
1018 * mapping */
1028 /* we've determined that we can make the mapping, now translate what we
1033 /* we're going to need to record the mapping */
1057 * mmap() calls that overlap with our proposed mapping
1095 /* new mapping is not a subset of the region */
1129 /* obtain the address at which to make a shared mapping
1131 * tell us the location of a shared mapping
1142 * the mapping so we'll have to attempt to copy
1158 /* set up the mapping
1176 /* okay... we have a mapping; now we have to register it */
1193 * mapping of it is made */
1408 * release a mapping
1519 * expand (or shrink) an existing mapping, potentially moving it at the same
1522 * under NOMMU conditions, we only permit changing a mapping's size, and only
1645 /* don't overrun this mapping */