Lines Matching refs:rsrc_cnt
6426 uint16_t rsrc_id_cnt, rsrc_cnt, rsrc_size; in lpfc_sli4_alloc_extent() local
6442 &rsrc_cnt, in lpfc_sli4_alloc_extent()
6447 if ((rsrc_cnt == 0) || (rsrc_size == 0)) { in lpfc_sli4_alloc_extent()
6451 "Size 0x%x\n", type, rsrc_cnt, in lpfc_sli4_alloc_extent()
6458 "count:%d, size %d\n", type, rsrc_cnt, rsrc_size); in lpfc_sli4_alloc_extent()
6464 rc = lpfc_sli4_cfg_post_extnts(phba, rsrc_cnt, type, &emb, mbox); in lpfc_sli4_alloc_extent()
6479 rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, &rsrc_ext->u.rsp); in lpfc_sli4_alloc_extent()
6483 rsrc_cnt = bf_get(lpfc_mbx_rsrc_cnt, n_rsrc); in lpfc_sli4_alloc_extent()
6487 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent()
6488 rsrc_id_cnt = rsrc_cnt * rsrc_size; in lpfc_sli4_alloc_extent()
6605 for (i = 0, j = 0, k = 0; i < rsrc_cnt; i++) { in lpfc_sli4_alloc_extent()