Searched refs:req_op_level (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | oplock.c | 569 static int oplock_break_pending(struct oplock_info *opinfo, int req_op_level) in oplock_break_pending() argument 579 else if (!opinfo->is_lease && opinfo->level <= req_op_level) in oplock_break_pending() 583 if (!opinfo->is_lease && opinfo->level <= req_op_level) { in oplock_break_pending() 866 static int oplock_break(struct oplock_info *brk_opinfo, int req_op_level) in oplock_break() argument 880 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break() 914 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break() 1093 int smb_grant_oplock(struct ksmbd_work *work, int req_op_level, u64 pid, in smb_grant_oplock() argument 1127 req_op_level = SMB2_OPLOCK_LEVEL_NONE; in smb_grant_oplock() 1181 if (req_op_level != SMB2_OPLOCK_LEVEL_NONE) in smb_grant_oplock() 1182 req_op_level = SMB2_OPLOCK_LEVEL_II; in smb_grant_oplock() [all …]
|
D | oplock.h | 95 int smb_grant_oplock(struct ksmbd_work *work, int req_op_level,
|
D | smb2pdu.c | 2523 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; in smb2_open() local 2601 req_op_level = req->RequestedOplockLevel; in smb2_open() 2602 if (req_op_level == SMB2_OPLOCK_LEVEL_LEASE) in smb2_open() 3062 (req_op_level == SMB2_OPLOCK_LEVEL_LEASE && in smb2_open() 3069 if (req_op_level == SMB2_OPLOCK_LEVEL_LEASE) { in smb2_open() 3070 req_op_level = smb2_map_lease_to_oplock(lc->req_state); in smb2_open() 3073 name, req_op_level, lc->req_state); in smb2_open() 3078 (req_op_level == SMB2_OPLOCK_LEVEL_BATCH || in smb2_open() 3079 req_op_level == SMB2_OPLOCK_LEVEL_EXCLUSIVE)) in smb2_open() 3080 req_op_level = SMB2_OPLOCK_LEVEL_II; in smb2_open() [all …]
|