Lines Matching refs:prev_opinfo
1182 struct oplock_info *opinfo = NULL, *prev_opinfo = NULL; in smb_grant_oplock() local
1232 prev_opinfo = opinfo_get_list(ci); in smb_grant_oplock()
1233 if (!prev_opinfo || in smb_grant_oplock()
1234 (prev_opinfo->level == SMB2_OPLOCK_LEVEL_NONE && lctx)) { in smb_grant_oplock()
1235 opinfo_put(prev_opinfo); in smb_grant_oplock()
1238 prev_op_has_lease = prev_opinfo->is_lease; in smb_grant_oplock()
1240 prev_op_state = prev_opinfo->o_lease->state; in smb_grant_oplock()
1243 prev_opinfo->level == SMB2_OPLOCK_LEVEL_EXCLUSIVE) { in smb_grant_oplock()
1245 opinfo_put(prev_opinfo); in smb_grant_oplock()
1249 if (prev_opinfo->level != SMB2_OPLOCK_LEVEL_BATCH && in smb_grant_oplock()
1250 prev_opinfo->level != SMB2_OPLOCK_LEVEL_EXCLUSIVE) { in smb_grant_oplock()
1251 opinfo_put(prev_opinfo); in smb_grant_oplock()
1255 list_add(&work->interim_entry, &prev_opinfo->interim_list); in smb_grant_oplock()
1256 err = oplock_break(prev_opinfo, SMB2_OPLOCK_LEVEL_II); in smb_grant_oplock()
1257 opinfo_put(prev_opinfo); in smb_grant_oplock()