Lines Matching refs:password
1573 int qla4xxx_get_chap(struct scsi_qla_host *ha, char *username, char *password,
1614 strlcpy(password, chap_table->secret, QL4_CHAP_MAX_SECRET_LEN);
1627 * @password: CHAP password to set
1635 int qla4xxx_set_chap(struct scsi_qla_host *ha, char *username, char *password,
1655 chap_table->secret_len = strlen(password);
1656 strncpy(chap_table->secret, password, MAX_CHAP_SECRET_LEN - 1);
1692 char *password, uint16_t chap_index)
1704 if (!username || !password) {
1735 strlcpy(password, chap_table->secret, MAX_CHAP_SECRET_LEN);
1750 * @password: CHAP password to be searched
1754 * Match the username and password in the chap_list, return the index if a
1759 char *password, int bidi, uint16_t *chap_index)
1778 if (!username || !password) {
1799 if (!strncmp(chap_table->secret, password,
1813 rval = qla4xxx_set_chap(ha, username, password,
2071 if (sess->username != NULL && sess->password != NULL) {
2072 if (strlen(sess->username) && strlen(sess->password)) {
2076 sess->password,