Searched refs:req_cnt (Results 1 – 2 of 2) sorted by relevance
3576 int req_cnt; in qla1280_64bit_start_scsi() local3582 req_cnt = 1; in qla1280_64bit_start_scsi()3589 req_cnt += (seg_cnt - 2) / 5; in qla1280_64bit_start_scsi()3591 req_cnt++; in qla1280_64bit_start_scsi()3599 if ((req_cnt + 2) >= ha->req_q_cnt) { in qla1280_64bit_start_scsi()3610 if ((req_cnt + 2) >= ha->req_q_cnt) { in qla1280_64bit_start_scsi()3614 req_cnt); in qla1280_64bit_start_scsi()3630 ha->req_q_cnt -= req_cnt; in qla1280_64bit_start_scsi()3645 pkt->entry_count = (uint8_t) req_cnt; in qla1280_64bit_start_scsi()3860 int req_cnt; in qla1280_32bit_start_scsi() local[all …]
5554 int req_cnt = 0; in ASC_INITFUNC() local5576 for (req_cnt = adv_dvc_varp->max_host_qng; in ASC_INITFUNC()5577 req_cnt > 0; req_cnt--) { in ASC_INITFUNC()5580 kmalloc(sizeof(adv_req_t) * req_cnt, GFP_ATOMIC); in ASC_INITFUNC()5584 (ulong) reqp, req_cnt, in ASC_INITFUNC()5585 (ulong) sizeof(adv_req_t) * req_cnt); in ASC_INITFUNC()5661 req_cnt--; in ASC_INITFUNC()5662 reqp[req_cnt].next_reqp = NULL; in ASC_INITFUNC()5663 for (; req_cnt > 0; req_cnt--) { in ASC_INITFUNC()5664 reqp[req_cnt - 1].next_reqp = &reqp[req_cnt]; in ASC_INITFUNC()