Searched refs:msix_bmap (Results 1 – 2 of 2) sorted by relevance
5852 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()
1044 struct msix_bmap { struct1045 unsigned long *msix_bmap; member1128 struct msix_bmap msix_bmap; member