Home
last modified time | relevance | path

Searched refs:rsrc_size (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/irdma/
Dhw.c1987 u32 rsrc_size; in irdma_calc_mem_rsrc_size() local
1989 rsrc_size = sizeof(struct irdma_arp_entry) * rf->arp_table_size; in irdma_calc_mem_rsrc_size()
1990 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_qp); in irdma_calc_mem_rsrc_size()
1991 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mr); in irdma_calc_mem_rsrc_size()
1992 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_cq); in irdma_calc_mem_rsrc_size()
1993 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_pd); in irdma_calc_mem_rsrc_size()
1994 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->arp_table_size); in irdma_calc_mem_rsrc_size()
1995 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_ah); in irdma_calc_mem_rsrc_size()
1996 rsrc_size += sizeof(unsigned long) * BITS_TO_LONGS(rf->max_mcg); in irdma_calc_mem_rsrc_size()
1997 rsrc_size += sizeof(struct irdma_qp **) * rf->max_qp; in irdma_calc_mem_rsrc_size()
[all …]
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_sli4.h1030 uint16_t rsrc_size; member
Dlpfc_debugfs.c5300 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()
5311 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()
5323 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()
5335 rsrc_blks->rsrc_size); in lpfc_idiag_extacc_drivr_get()
Dlpfc_sli.c6330 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() local
6443 &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 …]