Lines Matching refs:username
1573 int qla4xxx_get_chap(struct scsi_qla_host *ha, char *username, char *password,
1615 strlcpy(username, chap_table->name, QL4_CHAP_MAX_NAME_LEN);
1626 * @username: CHAP username to set
1635 int qla4xxx_set_chap(struct scsi_qla_host *ha, char *username, char *password,
1657 strncpy(chap_table->name, username, MAX_CHAP_NAME_LEN - 1);
1691 int qla4xxx_get_uni_chap_at_index(struct scsi_qla_host *ha, char *username,
1704 if (!username || !password) {
1705 ql4_printk(KERN_ERR, ha, "No memory for username & secret\n");
1736 strlcpy(username, chap_table->name, MAX_CHAP_NAME_LEN);
1747 * qla4xxx_get_chap_index - Get chap index given username and secret
1749 * @username: CHAP username to be searched
1754 * Match the username and password in the chap_list, return the index if a
1758 int qla4xxx_get_chap_index(struct scsi_qla_host *ha, char *username,
1778 if (!username || !password) {
1779 ql4_printk(KERN_ERR, ha, "Do not have username and psw\n");
1801 !strncmp(chap_table->name, username,
1813 rval = qla4xxx_set_chap(ha, username, password,
2071 if (sess->username != NULL && sess->password != NULL) {
2072 if (strlen(sess->username) && strlen(sess->password)) {
2075 rval = qla4xxx_get_chap_index(ha, sess->username,