Home
last modified time | relevance | path

Searched refs:rw_lock (Results 1 – 6 of 6) sorted by relevance

/fs/ntfs3/
Drecord.c124 struct rw_semaphore *rw_lock = NULL; in mi_read() local
128 rw_lock = &mft_ni->file.run_lock; in mi_read()
129 down_read(rw_lock); in mi_read()
134 if (rw_lock) in mi_read()
135 up_read(rw_lock); in mi_read()
147 if (rw_lock) { in mi_read()
149 down_write(rw_lock); in mi_read()
153 if (rw_lock) { in mi_read()
154 up_write(rw_lock); in mi_read()
160 if (rw_lock) in mi_read()
[all …]
Drun.c1040 down_read_nested(&wnd->rw_lock, BITMAP_MUTEX_CLUSTERS); in run_unpack_ex()
1043 up_read(&wnd->rw_lock); in run_unpack_ex()
1050 if (down_write_trylock(&wnd->rw_lock)) { in run_unpack_ex()
1071 up_write(&wnd->rw_lock); in run_unpack_ex()
Dfsntfs.c366 down_write_nested(&wnd->rw_lock, BITMAP_MUTEX_CLUSTERS); in ntfs_look_for_free_space()
447 up_write(&wnd->rw_lock); in ntfs_look_for_free_space()
502 down_write_nested(&sbi->used.bitmap.rw_lock, BITMAP_MUTEX_CLUSTERS); in ntfs_extend_mft()
506 up_write(&sbi->used.bitmap.rw_lock); in ntfs_extend_mft()
542 down_write_nested(&wnd->rw_lock, BITMAP_MUTEX_MFT); in ntfs_look_free_mft()
699 up_write(&wnd->rw_lock); in ntfs_look_free_mft()
711 down_write_nested(&wnd->rw_lock, BITMAP_MUTEX_MFT); in ntfs_mark_rec_free()
730 up_write(&wnd->rw_lock); in ntfs_mark_rec_free()
2484 down_write_nested(&wnd->rw_lock, BITMAP_MUTEX_CLUSTERS); in mark_as_free_ex()
2518 up_write(&wnd->rw_lock); in mark_as_free_ex()
Dbitmap.c657 init_rwsem(&wnd->rw_lock); in wnd_init()
1435 down_read_nested(&wnd->rw_lock, BITMAP_MUTEX_CLUSTERS); in ntfs_trim_fs()
1490 up_read(&wnd->rw_lock); in ntfs_trim_fs()
Dattrib.c203 down_write_nested(&wnd->rw_lock, BITMAP_MUTEX_CLUSTERS); in attr_allocate_clusters()
205 up_write(&wnd->rw_lock); in attr_allocate_clusters()
Dntfs_fs.h139 struct rw_semaphore rw_lock; member