Searched refs:rsrc_size (Results 1 – 4 of 4) sorted by relevance
1977 u32 rsrc_size; in irdma_calc_mem_rsrc_size() local1979 rsrc_size = sizeof(struct irdma_arp_entry) * rf->arp_table_size; in irdma_calc_mem_rsrc_size()1980 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp); in irdma_calc_mem_rsrc_size()1981 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mr); in irdma_calc_mem_rsrc_size()1982 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_cq); in irdma_calc_mem_rsrc_size()1983 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_pd); in irdma_calc_mem_rsrc_size()1984 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->arp_table_size); in irdma_calc_mem_rsrc_size()1985 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_ah); in irdma_calc_mem_rsrc_size()1986 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mcg); in irdma_calc_mem_rsrc_size()1987 rsrc_size += sizeof(struct irdma_qp **) * rf->max_qp; in irdma_calc_mem_rsrc_size()[all …]
1030 uint16_t rsrc_size; member
5302 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()5313 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()5325 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()5337 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()
6313 if (rsrc_entry->rsrc_size != rsrc_ext_size) in lpfc_sli4_chk_avail_extnt_rsrc()6409 uint16_t rsrc_id_cnt, rsrc_cnt, rsrc_size; in lpfc_sli4_alloc_extent() local6426 &rsrc_size); in lpfc_sli4_alloc_extent()6430 if ((rsrc_cnt == 0) || (rsrc_size == 0)) { in lpfc_sli4_alloc_extent()6435 rsrc_size); in lpfc_sli4_alloc_extent()6441 "count:%d, size %d\n", type, rsrc_cnt, rsrc_size); in lpfc_sli4_alloc_extent()6470 longs = ((rsrc_cnt * rsrc_size) + BITS_PER_LONG - 1) / BITS_PER_LONG; in lpfc_sli4_alloc_extent()6471 rsrc_id_cnt = rsrc_cnt * rsrc_size; in lpfc_sli4_alloc_extent()6604 rsrc_blks->rsrc_size = rsrc_size; in lpfc_sli4_alloc_extent()6612 while (rsrc_id < (rsrc_start + rsrc_size)) { in lpfc_sli4_alloc_extent()[all …]