Lines Matching defs:lock
136 * prevents priority inversion when a low-priority reader acquires the read lock
137 * while sleeping on the write lock but the write lock is needed by
323 spinlock_t stat_lock; /* lock for below checkpoint time stats */
370 spinlock_t lock; /* for state/bio_ref updating */
665 rwlock_t lock; /* protect extent info rb-tree */
939 struct mutex build_lock; /* lock for build free nids */
1201 unsigned int need_lock:8; /* indicate we need to lock cp_rwsem */
1235 struct f2fs_rwsem bio_list_lock; /* lock to protect bio entry list */
1262 spinlock_t ino_lock; /* for ino entry lock */
1545 struct f2fs_rwsem sb_lock; /* lock for raw super block */
1574 struct f2fs_rwsem cp_global_sem; /* checkpoint procedure lock */
1585 spinlock_t fsync_node_lock; /* for node entry lock */
1595 spinlock_t inode_lock[NR_INODE_TYPE]; /* for dirty inode list lock */
1711 spinlock_t stat_lock; /* lock for stat operations */
3245 * Notice: check inline_data flag without inode page lock is unsafe.
3485 int f2fs_do_truncate_blocks(struct inode *inode, u64 from, bool lock);
3486 int f2fs_truncate_blocks(struct inode *inode, u64 from, bool lock);
4261 int f2fs_truncate_partial_cluster(struct inode *inode, u64 from, bool lock);