Lines Matching refs:password
1573 int qla4xxx_get_chap(struct scsi_qla_host *ha, char *username, char *password, in qla4xxx_get_chap() argument
1614 strlcpy(password, chap_table->secret, QL4_CHAP_MAX_SECRET_LEN); in qla4xxx_get_chap()
1635 int qla4xxx_set_chap(struct scsi_qla_host *ha, char *username, char *password, in qla4xxx_set_chap() argument
1655 chap_table->secret_len = strlen(password); in qla4xxx_set_chap()
1656 strncpy(chap_table->secret, password, MAX_CHAP_SECRET_LEN - 1); in qla4xxx_set_chap()
1692 char *password, uint16_t chap_index) in qla4xxx_get_uni_chap_at_index() argument
1704 if (!username || !password) { in qla4xxx_get_uni_chap_at_index()
1735 strlcpy(password, chap_table->secret, MAX_CHAP_SECRET_LEN); in qla4xxx_get_uni_chap_at_index()
1759 char *password, int bidi, uint16_t *chap_index) in qla4xxx_get_chap_index() argument
1778 if (!username || !password) { in qla4xxx_get_chap_index()
1799 if (!strncmp(chap_table->secret, password, in qla4xxx_get_chap_index()
1813 rval = qla4xxx_set_chap(ha, username, password, in qla4xxx_get_chap_index()
2071 if (sess->username != NULL && sess->password != NULL) { in qla4xxx_set_param_ddbentry()
2072 if (strlen(sess->username) && strlen(sess->password)) { in qla4xxx_set_param_ddbentry()
2076 sess->password, in qla4xxx_set_param_ddbentry()