Searched refs:mrec_lock (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/fs/ntfs/
H A Dmft.c109 * First, take the mrec_lock mutex. We might now be sleeping, while waiting
137 * So that code will end up having to own the mrec_lock of all mft
140 * accessing anything without owning the mrec_lock mutex. But we do need to
165 mutex_lock(&ni->mrec_lock); map_mft_record()
171 mutex_unlock(&ni->mrec_lock); map_mft_record()
206 * We release the page mapping and the mrec_lock mutex which unmaps the mft
222 mutex_unlock(&ni->mrec_lock); unmap_mft_record()
984 if (unlikely(!mutex_trylock(&ni->mrec_lock))) { ntfs_may_write_mft_record()
1089 if (unlikely(!mutex_trylock(&eni->mrec_lock))) { ntfs_may_write_mft_record()
2710 mutex_lock(&ni->mrec_lock); ntfs_mft_record_alloc()
H A Dinode.h85 struct mutex mrec_lock; /* Lock for serializing access to the member in struct:_ntfs_inode
H A Dinode.c402 mutex_init(&ni->mrec_lock); __ntfs_init_inode()
423 * a separate class for nested inode's mrec_lock's:
435 lockdep_set_class(&ni->mrec_lock, &extent_inode_mrec_lock_key); ntfs_new_extent_inode()
2181 lockdep_set_class(&ni->mrec_lock, &mft_ni_mrec_lock_key); ntfs_read_inode_mount()
H A Daops.c1291 mutex_unlock(&tni->mrec_lock); ntfs_write_mst_block()
H A Dsuper.c1821 lockdep_set_class(&NTFS_I(vol->mftbmp_ino)->mrec_lock, load_system_files()
1847 lockdep_set_class(&NTFS_I(vol->lcnbmp_ino)->mrec_lock, load_system_files()

Completed in 486 milliseconds