Lines Matching defs:mapping

115  * @vma: memory mapping
551 /* add the VMA to the mapping */
553 struct address_space *mapping = vma->vm_file->f_mapping;
555 i_mmap_lock_write(mapping);
556 flush_dcache_mmap_lock(mapping);
557 vma_interval_tree_insert(vma, &mapping->i_mmap);
558 flush_dcache_mmap_unlock(mapping);
559 i_mmap_unlock_write(mapping);
566 /* remove the VMA from the mapping */
568 struct address_space *mapping;
569 mapping = vma->vm_file->f_mapping;
571 i_mmap_lock_write(mapping);
572 flush_dcache_mmap_lock(mapping);
573 vma_interval_tree_remove(vma, &mapping->i_mmap);
574 flush_dcache_mmap_unlock(mapping);
575 i_mmap_unlock_write(mapping);
689 * determine whether a mapping should be permitted and, if so, what sort of
690 * mapping we're capable of supporting
787 /* we don't permit a private writable mapping to be
847 * we've determined that we can make the mapping, now translate what we
866 /* MAP_PRIVATE file mapping */
874 * R/O private file mapping which cannot be used to
878 * the file mapping, which will work e.g., on chardevs,
883 /* MAP_SHARED file mapping: NOMMU_MAP_DIRECT is set. */
892 * set up a shared mapping on a file (the driver or filesystem provides and
914 * set up a private mapping or an anonymous shared mapping
926 * Invoke the file's mapping function so that it can keep track of
949 /* allocate some memory to hold the mapping
1012 * handle mapping creation for uClinux
1033 /* decide whether we should attempt the mapping, and if so what sort of
1034 * mapping */
1044 /* we've determined that we can make the mapping, now translate what we
1049 /* we're going to need to record the mapping */
1073 * mmap() calls that overlap with our proposed mapping
1111 /* new mapping is not a subset of the region */
1145 /* obtain the address at which to make a shared mapping
1147 * tell us the location of a shared mapping
1158 * the mapping so we'll have to attempt to copy
1174 /* set up the mapping
1192 /* okay... we have a mapping; now we have to register it */
1209 * mapping of it is made */
1424 * release a mapping
1540 * expand (or shrink) an existing mapping, potentially moving it at the same
1543 * under NOMMU conditions, we only permit changing a mapping's size, and only
1666 /* don't overrun this mapping */