Lines Matching refs:chann
77 struct channel *chann; in lookup_chann_list() local
79 list_for_each_entry(chann, &sess->ksmbd_chann_list, chann_list) { in lookup_chann_list()
80 if (chann->conn == conn) in lookup_chann_list()
81 return chann; in lookup_chann_list()
597 struct channel *chann; in destroy_previous_session() local
612 list_for_each_entry(chann, &prev_sess->ksmbd_chann_list, chann_list) in destroy_previous_session()
613 chann->conn->status = KSMBD_SESS_EXITING; in destroy_previous_session()
1418 struct channel *chann = NULL; in ntlm_authenticate() local
1522 chann = lookup_chann_list(sess, conn); in ntlm_authenticate()
1524 if (!chann) { in ntlm_authenticate()
1525 chann = kmalloc(sizeof(struct channel), GFP_KERNEL); in ntlm_authenticate()
1526 if (!chann) in ntlm_authenticate()
1529 chann->conn = conn; in ntlm_authenticate()
1530 INIT_LIST_HEAD(&chann->chann_list); in ntlm_authenticate()
1532 list_add(&chann->chann_list, &sess->ksmbd_chann_list); in ntlm_authenticate()
1560 struct channel *chann = NULL; in krb5_authenticate() local
1608 chann = lookup_chann_list(sess, conn); in krb5_authenticate()
1610 if (!chann) { in krb5_authenticate()
1611 chann = kmalloc(sizeof(struct channel), GFP_KERNEL); in krb5_authenticate()
1612 if (!chann) in krb5_authenticate()
1615 chann->conn = conn; in krb5_authenticate()
1616 INIT_LIST_HEAD(&chann->chann_list); in krb5_authenticate()
1618 list_add(&chann->chann_list, &sess->ksmbd_chann_list); in krb5_authenticate()
8385 struct channel *chann; in smb3_check_sign_req() local
8407 chann = lookup_chann_list(work->sess, conn); in smb3_check_sign_req()
8408 if (!chann) { in smb3_check_sign_req()
8412 signing_key = chann->smb3signingkey; in smb3_check_sign_req()
8446 struct channel *chann; in smb3_set_sign_rsp() local
8474 chann = lookup_chann_list(work->sess, work->conn); in smb3_set_sign_rsp()
8475 if (!chann) { in smb3_set_sign_rsp()
8479 signing_key = chann->smb3signingkey; in smb3_set_sign_rsp()