chap_rec 740 drivers/scsi/qla4xxx/ql4_os.c struct iscsi_chap_rec *chap_rec; chap_rec 761 drivers/scsi/qla4xxx/ql4_os.c chap_rec = (struct iscsi_chap_rec *) buf; chap_rec 769 drivers/scsi/qla4xxx/ql4_os.c chap_rec->chap_tbl_idx = i; chap_rec 770 drivers/scsi/qla4xxx/ql4_os.c strlcpy(chap_rec->username, chap_table->name, chap_rec 772 drivers/scsi/qla4xxx/ql4_os.c strlcpy(chap_rec->password, chap_table->secret, chap_rec 774 drivers/scsi/qla4xxx/ql4_os.c chap_rec->password_length = chap_table->secret_len; chap_rec 777 drivers/scsi/qla4xxx/ql4_os.c chap_rec->chap_type = CHAP_TYPE_OUT; chap_rec 780 drivers/scsi/qla4xxx/ql4_os.c chap_rec->chap_type = CHAP_TYPE_IN; chap_rec 782 drivers/scsi/qla4xxx/ql4_os.c chap_rec++; chap_rec 929 drivers/scsi/qla4xxx/ql4_os.c struct iscsi_chap_rec chap_rec; chap_rec 939 drivers/scsi/qla4xxx/ql4_os.c memset(&chap_rec, 0, sizeof(chap_rec)); chap_rec 946 drivers/scsi/qla4xxx/ql4_os.c chap_rec.chap_tbl_idx = *(uint16_t *)param_info->value; chap_rec 949 drivers/scsi/qla4xxx/ql4_os.c chap_rec.chap_type = param_info->value[0]; chap_rec 952 drivers/scsi/qla4xxx/ql4_os.c size = min_t(size_t, sizeof(chap_rec.username), chap_rec 954 drivers/scsi/qla4xxx/ql4_os.c memcpy(chap_rec.username, param_info->value, size); chap_rec 957 drivers/scsi/qla4xxx/ql4_os.c size = min_t(size_t, sizeof(chap_rec.password), chap_rec 959 drivers/scsi/qla4xxx/ql4_os.c memcpy(chap_rec.password, param_info->value, size); chap_rec 962 drivers/scsi/qla4xxx/ql4_os.c chap_rec.password_length = param_info->value[0]; chap_rec 972 drivers/scsi/qla4xxx/ql4_os.c if (chap_rec.chap_type == CHAP_TYPE_IN) chap_rec 984 drivers/scsi/qla4xxx/ql4_os.c if (chap_rec.chap_tbl_idx < max_chap_entries) { chap_rec 985 drivers/scsi/qla4xxx/ql4_os.c rc = qla4xxx_get_chap_by_index(ha, chap_rec.chap_tbl_idx, chap_rec 991 drivers/scsi/qla4xxx/ql4_os.c chap_rec.chap_tbl_idx); chap_rec 998 drivers/scsi/qla4xxx/ql4_os.c chap_rec.chap_tbl_idx); chap_rec 1002 drivers/scsi/qla4xxx/ql4_os.c chap_rec.chap_tbl_idx); chap_rec 1008 drivers/scsi/qla4xxx/ql4_os.c rc = qla4xxx_find_free_chap_index(ha, &chap_rec.chap_tbl_idx); chap_rec 1016 drivers/scsi/qla4xxx/ql4_os.c rc = qla4xxx_set_chap(ha, chap_rec.username, chap_rec.password, chap_rec 1017 drivers/scsi/qla4xxx/ql4_os.c chap_rec.chap_tbl_idx, type); chap_rec 3025 drivers/scsi/scsi_transport_iscsi.c struct iscsi_chap_rec *chap_rec; chap_rec 3041 drivers/scsi/scsi_transport_iscsi.c chap_buf_size = (ev->u.get_chap.num_entries * sizeof(*chap_rec));