Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c5852 adap->msix_bmap.msix_bmap = bitmap_zalloc(num_vec, GFP_KERNEL); in alloc_msix_info()
5853 if (!adap->msix_bmap.msix_bmap) { in alloc_msix_info()
5858 spin_lock_init(&adap->msix_bmap.lock); in alloc_msix_info()
5859 adap->msix_bmap.mapsize = num_vec; in alloc_msix_info()
5867 bitmap_free(adap->msix_bmap.msix_bmap); in free_msix_info()
5873 struct msix_bmap *bmap = &adap->msix_bmap; in cxgb4_get_msix_idx_from_bmap()
5878 msix_idx = find_first_zero_bit(bmap->msix_bmap, bmap->mapsize); in cxgb4_get_msix_idx_from_bmap()
5880 __set_bit(msix_idx, bmap->msix_bmap); in cxgb4_get_msix_idx_from_bmap()
5893 struct msix_bmap *bmap = &adap->msix_bmap; in cxgb4_free_msix_idx_in_bmap()
5897 __clear_bit(msix_idx, bmap->msix_bmap); in cxgb4_free_msix_idx_in_bmap()
Dcxgb4.h1044 struct msix_bmap { struct
1045 unsigned long *msix_bmap; member
1128 struct msix_bmap msix_bmap; member