Lines Matching refs:chap_list
667 if (ha->chap_list == NULL) in qla4xxx_create_chap_list()
668 ha->chap_list = vmalloc(chap_size); in qla4xxx_create_chap_list()
669 if (ha->chap_list == NULL) { in qla4xxx_create_chap_list()
674 memcpy(ha->chap_list, chap_flash_data, chap_size); in qla4xxx_create_chap_list()
687 if (!ha->chap_list) { in qla4xxx_get_chap_by_index()
703 *chap_entry = (struct ql4_chap_table *)ha->chap_list + chap_index; in qla4xxx_get_chap_by_index()
738 if (!ha->chap_list) { in qla4xxx_find_free_chap_index()
745 chap_table = (struct ql4_chap_table *)ha->chap_list + i; in qla4xxx_find_free_chap_index()
795 chap_table = (struct ql4_chap_table *)ha->chap_list + i; in qla4xxx_get_chap_list()
932 if (ret == QLA_SUCCESS && ha->chap_list) { in qla4xxx_delete_chap()
935 memcpy((struct ql4_chap_table *)ha->chap_list + chap_tbl_idx, in qla4xxx_delete_chap()
4193 vfree(ha->chap_list); in qla4xxx_mem_free()
4194 ha->chap_list = NULL; in qla4xxx_mem_free()
6036 if (!ha->chap_list) { in qla4xxx_get_bidi_chap()
6043 chap_table = (struct ql4_chap_table *)ha->chap_list + i; in qla4xxx_get_bidi_chap()