Searched refs:req_op_level (Results 1 – 3 of 3) sorted by relevance
/linux/fs/smb/server/ |
H A D | oplock.c | 587 static int oplock_break_pending(struct oplock_info *opinfo, int req_op_level) in oplock_break_pending() argument 597 else if (opinfo->level <= req_op_level) { in oplock_break_pending() 608 if (opinfo->level <= req_op_level) { in oplock_break_pending() 868 static int oplock_break(struct oplock_info *brk_opinfo, int req_op_level, in oplock_break() argument 882 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break() 923 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break() 1177 int smb_grant_oplock(struct ksmbd_work *work, int req_op_level, u64 pid, in smb_grant_oplock() argument 1215 req_op_level = SMB2_OPLOCK_LEVEL_NONE; in smb_grant_oplock() 1270 if (req_op_level != SMB2_OPLOCK_LEVEL_NONE) in smb_grant_oplock() 1271 req_op_level = SMB2_OPLOCK_LEVEL_II; in smb_grant_oplock() [all …]
|
H A D | oplock.h | 90 int smb_grant_oplock(struct ksmbd_work *work, int req_op_level,
|
H A D | smb2pdu.c | 2686 int req_op_level; in parse_durable_handle_context() local 2689 req_op_level = req->RequestedOplockLevel; in parse_durable_handle_context() 2788 req_op_level == SMB2_OPLOCK_LEVEL_BATCH) { in parse_durable_handle_context() 2809 req_op_level == SMB2_OPLOCK_LEVEL_BATCH) { in parse_durable_handle_context() 2845 int req_op_level = 0, open_flags = 0, may_flags = 0, file_info = 0; in smb2_open() local 2917 req_op_level = req->RequestedOplockLevel; in smb2_open() 2957 } else if (req_op_level == SMB2_OPLOCK_LEVEL_LEASE) in smb2_open() 3425 (req_op_level == SMB2_OPLOCK_LEVEL_LEASE && in smb2_open() 3432 if (req_op_level == SMB2_OPLOCK_LEVEL_LEASE && lc) { in smb2_open() 3445 req_op_level = smb2_map_lease_to_oplock(lc->req_state); in smb2_open() [all …]
|