Lines Matching refs:prev_opinfo
1195 struct oplock_info *opinfo = NULL, *prev_opinfo = NULL; in smb_grant_oplock() local
1243 prev_opinfo = opinfo_get_list(ci); in smb_grant_oplock()
1244 if (!prev_opinfo || in smb_grant_oplock()
1245 (prev_opinfo->level == SMB2_OPLOCK_LEVEL_NONE && lctx)) { in smb_grant_oplock()
1246 opinfo_conn_put(prev_opinfo); in smb_grant_oplock()
1249 prev_op_has_lease = prev_opinfo->is_lease; in smb_grant_oplock()
1251 prev_op_state = prev_opinfo->o_lease->state; in smb_grant_oplock()
1254 prev_opinfo->level == SMB2_OPLOCK_LEVEL_EXCLUSIVE) { in smb_grant_oplock()
1256 opinfo_conn_put(prev_opinfo); in smb_grant_oplock()
1260 if (prev_opinfo->level != SMB2_OPLOCK_LEVEL_BATCH && in smb_grant_oplock()
1261 prev_opinfo->level != SMB2_OPLOCK_LEVEL_EXCLUSIVE) { in smb_grant_oplock()
1262 opinfo_conn_put(prev_opinfo); in smb_grant_oplock()
1266 list_add(&work->interim_entry, &prev_opinfo->interim_list); in smb_grant_oplock()
1267 err = oplock_break(prev_opinfo, SMB2_OPLOCK_LEVEL_II); in smb_grant_oplock()
1268 opinfo_conn_put(prev_opinfo); in smb_grant_oplock()