Home
last modified time | relevance | path

Searched refs:msix_bmap (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c5861 adap->msix_bmap.msix_bmap = kcalloc(BITS_TO_LONGS(num_vec), in alloc_msix_info()
5863 if (!adap->msix_bmap.msix_bmap) { in alloc_msix_info()
5868 spin_lock_init(&adap->msix_bmap.lock); in alloc_msix_info()
5869 adap->msix_bmap.mapsize = num_vec; in alloc_msix_info()
5877 kfree(adap->msix_bmap.msix_bmap); in free_msix_info()
5883 struct msix_bmap *bmap = &adap->msix_bmap; in cxgb4_get_msix_idx_from_bmap()
5888 msix_idx = find_first_zero_bit(bmap->msix_bmap, bmap->mapsize); in cxgb4_get_msix_idx_from_bmap()
5890 __set_bit(msix_idx, bmap->msix_bmap); in cxgb4_get_msix_idx_from_bmap()
5903 struct msix_bmap *bmap = &adap->msix_bmap; in cxgb4_free_msix_idx_in_bmap()
5907 __clear_bit(msix_idx, bmap->msix_bmap); in cxgb4_free_msix_idx_in_bmap()
Dcxgb4.h1046 struct msix_bmap { struct
1047 unsigned long *msix_bmap; argument
1132 struct msix_bmap msix_bmap; member