Searched refs:i_mmap_rwsem (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/fs/hugetlbfs/
H A Dinode.c446 * Hugetlbfs is not reclaimable; therefore its i_mmap_rwsem will never
449 * i_mmap_rwsem.
469 lockdep_set_class(&inode->i_mapping->i_mmap_rwsem, hugetlbfs_get_inode()
/linux-4.1.27/mm/
H A Drmap.c26 * mapping->i_mmap_rwsem
1305 * we now hold anon_vma->rwsem or mapping->i_mmap_rwsem. try_to_unmap_one()
1518 * so we can safely take mapping->i_mmap_rwsem. rmap_walk_file()
H A Dmremap.c100 * When need_rmap_locks is true, we take the i_mmap_rwsem and anon_vma move_ptes()
H A Dfilemap.c64 * ->i_mmap_rwsem (truncate_pagecache)
70 * ->i_mmap_rwsem (truncate->unmap_mapping_range)
73 * ->i_mmap_rwsem
87 * ->i_mmap_rwsem
107 * ->i_mmap_rwsem
H A Dhugetlb.c2846 * is to clear it before releasing the i_mmap_rwsem. This works __unmap_hugepage_range_final()
2848 * destroyed and the i_mmap_rwsem is held. __unmap_hugepage_range_final()
3549 * Must flush TLB before releasing i_mmap_rwsem: x86's huge_pmd_unshare hugetlb_change_protection()
3551 * once we release i_mmap_rwsem, another task can do the final put_page hugetlb_change_protection()
3717 * pud has to be populated inside the same i_mmap_rwsem section - otherwise
H A Dmmap.c235 * Requires inode->i_mapping->i_mmap_rwsem
2874 * then i_mmap_rwsem is taken here.
3169 down_write_nest_lock(&mapping->i_mmap_rwsem, &mm->mmap_sem); vm_lock_mapping()
3195 * taking i_mmap_rwsem or anon_vma->rwsem outside the mmap_sem never
/linux-4.1.27/include/linux/
H A Dmmu_notifier.h180 * 2. One of the reverse map locks is held (i_mmap_rwsem or anon_vma->rwsem).
H A Dfs.h431 struct rw_semaphore i_mmap_rwsem; /* protect tree, count, list */ member in struct:address_space
498 down_write(&mapping->i_mmap_rwsem); i_mmap_lock_write()
503 up_write(&mapping->i_mmap_rwsem); i_mmap_unlock_write()
508 down_read(&mapping->i_mmap_rwsem); i_mmap_lock_read()
513 up_read(&mapping->i_mmap_rwsem); i_mmap_unlock_read()
/linux-4.1.27/fs/
H A Dinode.c343 init_rwsem(&mapping->i_mmap_rwsem); address_space_init_once()
/linux-4.1.27/kernel/events/
H A Duprobes.c734 * Needs GFP_NOWAIT to avoid i_mmap_rwsem recursion through build_map_info()

Completed in 297 milliseconds