Searched refs:prev_sess (Results 1 – 1 of 1) sorted by relevance
595 struct ksmbd_session *prev_sess = ksmbd_session_lookup_slowpath(id); in destroy_previous_session() local599 if (!prev_sess) in destroy_previous_session()602 prev_user = prev_sess->user; in destroy_previous_session()610 prev_sess->state = SMB2_SESSION_EXPIRED; in destroy_previous_session()611 write_lock(&prev_sess->chann_lock); in destroy_previous_session()612 list_for_each_entry(chann, &prev_sess->ksmbd_chann_list, chann_list) in destroy_previous_session()614 write_unlock(&prev_sess->chann_lock); in destroy_previous_session()