Lines Matching refs:rsrc_cnt
5326 uint16_t rsrc_id_cnt, rsrc_cnt, rsrc_size; in lpfc_sli4_alloc_extent() local
5342 &rsrc_cnt, in lpfc_sli4_alloc_extent()
5347 if ((rsrc_cnt == 0) || (rsrc_size == 0)) { in lpfc_sli4_alloc_extent()
5351 "Size 0x%x\n", type, rsrc_cnt, in lpfc_sli4_alloc_extent()
5358 "count:%d, size %d\n", type, rsrc_cnt, rsrc_size); in lpfc_sli4_alloc_extent()
5364 rc = lpfc_sli4_cfg_post_extnts(phba, rsrc_cnt, type, &emb, mbox); in lpfc_sli4_alloc_extent()
5379 rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, &rsrc_ext->u.rsp); in lpfc_sli4_alloc_extent()
5383 rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, n_rsrc); in lpfc_sli4_alloc_extent()
5387 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent()
5388 rsrc_id_cnt = rsrc_cnt * rsrc_size; in lpfc_sli4_alloc_extent()
5507 for (i = 0, j = 0, k = 0; i < rsrc_cnt; i++) { in lpfc_sli4_alloc_extent()