Lines Matching refs:username
1573 int qla4xxx_get_chap(struct scsi_qla_host *ha, char *username, char *password, in qla4xxx_get_chap() argument
1615 strlcpy(username, chap_table->name, QL4_CHAP_MAX_NAME_LEN); in qla4xxx_get_chap()
1635 int qla4xxx_set_chap(struct scsi_qla_host *ha, char *username, char *password, in qla4xxx_set_chap() argument
1657 strncpy(chap_table->name, username, MAX_CHAP_NAME_LEN - 1); in qla4xxx_set_chap()
1691 int qla4xxx_get_uni_chap_at_index(struct scsi_qla_host *ha, char *username, in qla4xxx_get_uni_chap_at_index() argument
1704 if (!username || !password) { in qla4xxx_get_uni_chap_at_index()
1736 strlcpy(username, chap_table->name, MAX_CHAP_NAME_LEN); in qla4xxx_get_uni_chap_at_index()
1758 int qla4xxx_get_chap_index(struct scsi_qla_host *ha, char *username, in qla4xxx_get_chap_index() argument
1778 if (!username || !password) { in qla4xxx_get_chap_index()
1801 !strncmp(chap_table->name, username, 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()
2075 rval = qla4xxx_get_chap_index(ha, sess->username, in qla4xxx_set_param_ddbentry()