Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_vport.c94 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); in lpfc_alloc_vpi()
98 set_bit(vpi, phba->vpi_bmask); in lpfc_alloc_vpi()
111 clear_bit(vpi, phba->vpi_bmask); in lpfc_free_vpi()
Dlpfc.h1020 unsigned long *vpi_bmask; /* vpi allocation table */ member
Dlpfc_sli.c5136 if ((phba->vpi_bmask == NULL) && (phba->vpi_ids == NULL)) { in lpfc_sli_hba_setup()
5138 phba->vpi_bmask = kcalloc(longs, in lpfc_sli_hba_setup()
5141 if (!phba->vpi_bmask) { in lpfc_sli_hba_setup()
5150 kfree(phba->vpi_bmask); in lpfc_sli_hba_setup()
5906 phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_alloc_extent()
5908 if (unlikely(!phba->vpi_bmask)) { in lpfc_sli4_alloc_extent()
5915 kfree(phba->vpi_bmask); in lpfc_sli4_alloc_extent()
5921 bmask = phba->vpi_bmask; in lpfc_sli4_alloc_extent()
6095 kfree(phba->vpi_bmask); in lpfc_sli4_dealloc_extent()
6598 phba->vpi_bmask = kcalloc(longs, sizeof(unsigned long), in lpfc_sli4_alloc_resource_identifiers()
[all …]
Dlpfc_init.c11208 kfree(phba->vpi_bmask); in lpfc_unset_hba()
11896 kfree(phba->vpi_bmask); in lpfc_pci_remove_one_s3()