Lines Matching refs:req_op_level
568 static int oplock_break_pending(struct oplock_info *opinfo, int req_op_level) in oplock_break_pending() argument
578 else if (!opinfo->is_lease && opinfo->level <= req_op_level) in oplock_break_pending()
582 if (!opinfo->is_lease && opinfo->level <= req_op_level) { in oplock_break_pending()
856 static int oplock_break(struct oplock_info *brk_opinfo, int req_op_level) in oplock_break() argument
870 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break()
904 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break()
1083 int smb_grant_oplock(struct ksmbd_work *work, int req_op_level, u64 pid, in smb_grant_oplock() argument
1117 req_op_level = SMB2_OPLOCK_LEVEL_NONE; in smb_grant_oplock()
1171 if (req_op_level != SMB2_OPLOCK_LEVEL_NONE) in smb_grant_oplock()
1172 req_op_level = SMB2_OPLOCK_LEVEL_II; in smb_grant_oplock()
1177 req_op_level = SMB2_OPLOCK_LEVEL_NONE; in smb_grant_oplock()
1180 req_op_level = SMB2_OPLOCK_LEVEL_II; in smb_grant_oplock()
1185 set_oplock_level(opinfo, req_op_level, lctx); in smb_grant_oplock()