Searched refs:rsrc_size (Results 1 – 4 of 4) sorted by relevance
1948 u32 rsrc_size; in irdma_calc_mem_rsrc_size() local1950 rsrc_size = sizeof(struct irdma_arp_entry) * rf->arp_table_size; in irdma_calc_mem_rsrc_size()1951 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp); in irdma_calc_mem_rsrc_size()1952 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mr); in irdma_calc_mem_rsrc_size()1953 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_cq); in irdma_calc_mem_rsrc_size()1954 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_pd); in irdma_calc_mem_rsrc_size()1955 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->arp_table_size); in irdma_calc_mem_rsrc_size()1956 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_ah); in irdma_calc_mem_rsrc_size()1957 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mcg); in irdma_calc_mem_rsrc_size()1958 rsrc_size += sizeof(struct irdma_qp **) * rf->max_qp; in irdma_calc_mem_rsrc_size()[all …]
1030 uint16_t rsrc_size; member
5295 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()5306 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()5318 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()5330 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()
6330 if (rsrc_entry->rsrc_size != rsrc_ext_size) in lpfc_sli4_chk_avail_extnt_rsrc()6426 uint16_t rsrc_id_cnt, rsrc_cnt, rsrc_size; in lpfc_sli4_alloc_extent() local6443 &rsrc_size); in lpfc_sli4_alloc_extent()6447 if ((rsrc_cnt == 0) || (rsrc_size == 0)) { in lpfc_sli4_alloc_extent()6452 rsrc_size); in lpfc_sli4_alloc_extent()6458 "count:%d, size %d\n", type, rsrc_cnt, rsrc_size); 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()6621 rsrc_blks->rsrc_size = rsrc_size; in lpfc_sli4_alloc_extent()6629 while (rsrc_id < (rsrc_start + rsrc_size)) { in lpfc_sli4_alloc_extent()[all …]