Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ntfs/
H A Dinode.h71 struct mutex mrec_lock; /* Lock for serializing access to the member
H A Dmft.c98 * First, take the mrec_lock mutex. We might now be sleeping, while waiting
126 * So that code will end up having to own the mrec_lock of all mft
129 * accessing anything without owning the mrec_lock mutex. But we do need to
154 mutex_lock(&ni->mrec_lock); in map_mft_record()
160 mutex_unlock(&ni->mrec_lock); in map_mft_record()
195 * We release the page mapping and the mrec_lock mutex which unmaps the mft
211 mutex_unlock(&ni->mrec_lock); in unmap_mft_record()
979 if (unlikely(!mutex_trylock(&ni->mrec_lock))) { in ntfs_may_write_mft_record()
1084 if (unlikely(!mutex_trylock(&eni->mrec_lock))) { in ntfs_may_write_mft_record()
2699 mutex_lock(&ni->mrec_lock); in ntfs_mft_record_alloc()
[all...]
H A Dinode.c377 mutex_init(&ni->mrec_lock); in __ntfs_init_inode()
398 * a separate class for nested inode's mrec_lock's:
410 lockdep_set_class(&ni->mrec_lock, &extent_inode_mrec_lock_key); in ntfs_new_extent_inode()
2170 lockdep_set_class(&ni->mrec_lock, &mft_ni_mrec_lock_key); in ntfs_read_inode_mount()
H A Dsuper.c1807 lockdep_set_class(&NTFS_I(vol->mftbmp_ino)->mrec_lock, in load_system_files()
1833 lockdep_set_class(&NTFS_I(vol->lcnbmp_ino)->mrec_lock, in load_system_files()
H A Daops.c1274 mutex_unlock(&tni->mrec_lock); in ntfs_write_mst_block()
/kernel/linux/linux-6.6/fs/ntfs/
H A Dinode.h71 struct mutex mrec_lock; /* Lock for serializing access to the member
H A Dmft.c98 * First, take the mrec_lock mutex. We might now be sleeping, while waiting
126 * So that code will end up having to own the mrec_lock of all mft
129 * accessing anything without owning the mrec_lock mutex. But we do need to
154 mutex_lock(&ni->mrec_lock); in map_mft_record()
160 mutex_unlock(&ni->mrec_lock); in map_mft_record()
195 * We release the page mapping and the mrec_lock mutex which unmaps the mft
211 mutex_unlock(&ni->mrec_lock); in unmap_mft_record()
979 if (unlikely(!mutex_trylock(&ni->mrec_lock))) { in ntfs_may_write_mft_record()
1084 if (unlikely(!mutex_trylock(&eni->mrec_lock))) { in ntfs_may_write_mft_record()
2700 mutex_lock(&ni->mrec_lock); in ntfs_mft_record_alloc()
[all...]
H A Dinode.c377 mutex_init(&ni->mrec_lock); in __ntfs_init_inode()
398 * a separate class for nested inode's mrec_lock's:
410 lockdep_set_class(&ni->mrec_lock, &extent_inode_mrec_lock_key); in ntfs_new_extent_inode()
2170 lockdep_set_class(&ni->mrec_lock, &mft_ni_mrec_lock_key); in ntfs_read_inode_mount()
H A Dsuper.c1815 lockdep_set_class(&NTFS_I(vol->mftbmp_ino)->mrec_lock, in load_system_files()
1841 lockdep_set_class(&NTFS_I(vol->lcnbmp_ino)->mrec_lock, in load_system_files()
H A Daops.c1276 mutex_unlock(&tni->mrec_lock); in ntfs_write_mst_block()

Completed in 25 milliseconds