Home
last modified time | relevance | path

Searched refs:tmp_ddb_index (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/scsi/qla4xxx/
H A Dql4_os.c2947 uint16_t tmp_ddb_index; in qla4xxx_get_ddb_index() local
2951 tmp_ddb_index = find_first_zero_bit(ha->ddb_idx_map, MAX_DDB_ENTRIES); in qla4xxx_get_ddb_index()
2953 if (tmp_ddb_index >= MAX_DDB_ENTRIES) { in qla4xxx_get_ddb_index()
2960 if (test_and_set_bit(tmp_ddb_index, ha->ddb_idx_map)) in qla4xxx_get_ddb_index()
2964 "Found a free DDB index at %d\n", tmp_ddb_index)); in qla4xxx_get_ddb_index()
2965 ret = qla4xxx_req_ddb_entry(ha, tmp_ddb_index, &mbx_sts); in qla4xxx_get_ddb_index()
2970 tmp_ddb_index); in qla4xxx_get_ddb_index()
2977 *ddb_index = tmp_ddb_index; in qla4xxx_get_ddb_index()