Home
last modified time | relevance | path

Searched refs:write_locked (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/md/persistent-data/
Ddm-block-manager.c349 int write_locked; member
489 aux->write_locked = 0; in dm_bm_read_lock()
525 aux->write_locked = 1; in dm_bm_write_lock()
559 aux->write_locked = 0; in dm_bm_read_try_lock()
595 aux->write_locked = 1; in dm_bm_write_lock_zero()
606 if (aux->write_locked) { in dm_bm_unlock()
/linux-6.6.21/fs/ntfs/
Dattrib.h54 const bool write_locked);
Dattrib.c328 const bool write_locked) in ntfs_attr_vcn_to_lcn_nolock() argument
337 write_locked ? "write" : "read"); in ntfs_attr_vcn_to_lcn_nolock()
361 if (!write_locked) { in ntfs_attr_vcn_to_lcn_nolock()
372 if (!write_locked) { in ntfs_attr_vcn_to_lcn_nolock()
/linux-6.6.21/block/
Dsed-opal.c2154 u8 read_locked = 1, write_locked = 1; in lock_unlock_locking_range() local
2164 write_locked = 1; in lock_unlock_locking_range()
2168 write_locked = 0; in lock_unlock_locking_range()
2191 add_token_u8(&err, dev, write_locked); in lock_unlock_locking_range()
2209 u8 read_locked = 1, write_locked = 1; in lock_unlock_locking_range_sum() local
2223 write_locked = 1; in lock_unlock_locking_range_sum()
2227 write_locked = 0; in lock_unlock_locking_range_sum()
2237 read_locked, write_locked); in lock_unlock_locking_range_sum()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c2899 bool write_locked = false; in svm_range_restore_pages() local
2954 if (!write_locked) { in svm_range_restore_pages()
2962 write_locked = true; in svm_range_restore_pages()
2974 if (write_locked) in svm_range_restore_pages()