Home
last modified time | relevance | path

Searched refs:l_flags (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/ocfs2/dlmfs/
Duserdlm.c43 ret = lockres->l_flags & flag; in user_check_wait_flag()
89 lockres->l_flags &= ~USER_LOCK_BUSY; in user_recover_from_dlm_error()
134 lockres->l_namelen, lockres->l_name, lockres->l_flags); in user_ast()
141 lockres->l_flags &= ~USER_LOCK_BLOCKED; in user_ast()
147 lockres->l_flags |= USER_LOCK_ATTACHED; in user_ast()
148 lockres->l_flags &= ~USER_LOCK_BUSY; in user_ast()
167 if (!(lockres->l_flags & USER_LOCK_QUEUED)) { in __user_dlm_queue_lockres()
173 lockres->l_flags |= USER_LOCK_QUEUED; in __user_dlm_queue_lockres()
181 if (!(lockres->l_flags & USER_LOCK_BLOCKED)) in __user_dlm_cond_queue_lockres()
209 lockres->l_flags |= USER_LOCK_BLOCKED; in user_bast()
[all …]
Duserdlm.h38 int l_flags; member
Ddlmfs.c217 if (ip->ip_lockres.l_flags & USER_LOCK_BLOCKED) in dlmfs_file_poll()
/kernel/linux/linux-5.10/fs/ocfs2/
Ddlmglue.c527 res->l_flags = OCFS2_LOCK_INITIALIZED; in ocfs2_lock_res_init_common()
742 lockres->l_flags |= OCFS2_LOCK_NOCACHE; in ocfs2_file_lock_res_init()
769 if (!(res->l_flags & OCFS2_LOCK_INITIALIZED)) in ocfs2_lock_res_free()
793 res->l_flags = 0UL; in ocfs2_lock_res_free()
896 lockres->l_flags = newflags; in lockres_set_flags()
899 if ((lockres->l_flags & mw->mw_mask) != mw->mw_goal) in lockres_set_flags()
910 lockres_set_flags(lockres, lockres->l_flags | or); in lockres_or_flags()
915 lockres_set_flags(lockres, lockres->l_flags & ~clear); in lockres_clear_flags()
920 BUG_ON(!(lockres->l_flags & OCFS2_LOCK_BUSY)); in ocfs2_generic_handle_downconvert_action()
921 BUG_ON(!(lockres->l_flags & OCFS2_LOCK_ATTACHED)); in ocfs2_generic_handle_downconvert_action()
[all …]
Dlocks.c38 if (lockres->l_flags & OCFS2_LOCK_ATTACHED && in ocfs2_do_flock()
Docfs2.h166 unsigned long l_flags; member
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_log_priv.h392 uint l_flags; member
445 (unlikely((log)->l_flags & XLOG_IO_ERROR))
Dxfs_log.c299 ASSERT(!(log->l_flags & XLOG_ACTIVE_RECOVERY)); in xlog_grant_head_check()
678 mp->m_log->l_flags &= ~XLOG_ACTIVE_RECOVERY; in xfs_log_mount()
713 bool recovered = mp->m_log->l_flags & XLOG_RECOVERY_NEEDED; in xfs_log_mount_finish()
769 ASSERT(!error || (mp->m_log->l_flags & XLOG_IO_ERROR)); in xfs_log_mount_finish()
1020 ASSERT(!(log->l_flags & XLOG_ACTIVE_RECOVERY)); in xfs_log_space_wake()
1029 ASSERT(!(log->l_flags & XLOG_ACTIVE_RECOVERY)); in xfs_log_space_wake()
1332 log->l_flags |= XLOG_ACTIVE_RECOVERY; in xlog_alloc_log()
3517 !(log->l_flags & XLOG_TAIL_WARN)) { in xlog_verify_grant_tail()
3520 log->l_flags |= XLOG_TAIL_WARN; in xlog_verify_grant_tail()
3524 !(log->l_flags & XLOG_TAIL_WARN)) { in xlog_verify_grant_tail()
[all …]
Dxfs_log_recover.c3339 log->l_flags &= ~XLOG_ACTIVE_RECOVERY; in xlog_do_recover()
3423 log->l_flags |= XLOG_RECOVERY_NEEDED; in xlog_recover()
3449 if (log->l_flags & XLOG_RECOVERY_NEEDED) { in xlog_recover_finish()
3481 log->l_flags &= ~XLOG_RECOVERY_NEEDED; in xlog_recover_finish()
3492 if (log->l_flags & XLOG_RECOVERY_NEEDED) in xlog_recover_cancel()
Dxfs_super.c738 ASSERT(ip->i_mount->m_log->l_flags & XLOG_RECOVERY_NEEDED); in xfs_fs_drop_inode()