Lines Matching refs:max_chap_entries

685 	int max_chap_entries;  in qla4xxx_get_chap_by_index()  local
693 max_chap_entries = (ha->hw.flt_chap_size / 2) / in qla4xxx_get_chap_by_index()
696 max_chap_entries = MAX_CHAP_ENTRIES_40XX; in qla4xxx_get_chap_by_index()
698 if (chap_index > max_chap_entries) { in qla4xxx_get_chap_by_index()
729 int max_chap_entries = 0; in qla4xxx_find_free_chap_index() local
733 max_chap_entries = (ha->hw.flt_chap_size / 2) / in qla4xxx_find_free_chap_index()
736 max_chap_entries = MAX_CHAP_ENTRIES_40XX; in qla4xxx_find_free_chap_index()
744 for (i = 0; i < max_chap_entries; i++) { in qla4xxx_find_free_chap_index()
772 int max_chap_entries = 0; in qla4xxx_get_chap_list() local
777 max_chap_entries = (ha->hw.flt_chap_size / 2) / in qla4xxx_get_chap_list()
780 max_chap_entries = MAX_CHAP_ENTRIES_40XX; in qla4xxx_get_chap_list()
794 for (i = chap_tbl_idx; i < max_chap_entries; i++) { in qla4xxx_get_chap_list()
869 int max_chap_entries = 0; in qla4xxx_delete_chap() local
879 max_chap_entries = (ha->hw.flt_chap_size / 2) / in qla4xxx_delete_chap()
882 max_chap_entries = MAX_CHAP_ENTRIES_40XX; in qla4xxx_delete_chap()
884 if (chap_tbl_idx > max_chap_entries) { in qla4xxx_delete_chap()
962 int max_chap_entries = 0; in qla4xxx_set_chap_entry() local
1012 max_chap_entries = (ha->hw.flt_chap_size / 2) / in qla4xxx_set_chap_entry()
1015 max_chap_entries = MAX_CHAP_ENTRIES_40XX; in qla4xxx_set_chap_entry()
1018 if (chap_rec.chap_tbl_idx < max_chap_entries) { in qla4xxx_set_chap_entry()
6037 int max_chap_entries = 0; in qla4xxx_get_bidi_chap() local
6041 max_chap_entries = (ha->hw.flt_chap_size / 2) / in qla4xxx_get_bidi_chap()
6044 max_chap_entries = MAX_CHAP_ENTRIES_40XX; in qla4xxx_get_bidi_chap()
6052 for (i = 0; i < max_chap_entries; i++) { in qla4xxx_get_bidi_chap()