Searched refs:msix_bmap (Results 1 – 2 of 2) sorted by relevance
5853 adap->msix_bmap.msix_bmap = bitmap_zalloc(num_vec, GFP_KERNEL); in alloc_msix_info()5854 if (!adap->msix_bmap.msix_bmap) { in alloc_msix_info()5859 spin_lock_init(&adap->msix_bmap.lock); in alloc_msix_info()5860 adap->msix_bmap.mapsize = num_vec; in alloc_msix_info()5868 bitmap_free(adap->msix_bmap.msix_bmap); in free_msix_info()5874 struct msix_bmap *bmap = &adap->msix_bmap; in cxgb4_get_msix_idx_from_bmap()5879 msix_idx = find_first_zero_bit(bmap->msix_bmap, bmap->mapsize); in cxgb4_get_msix_idx_from_bmap()5881 __set_bit(msix_idx, bmap->msix_bmap); in cxgb4_get_msix_idx_from_bmap()5894 struct msix_bmap *bmap = &adap->msix_bmap; in cxgb4_free_msix_idx_in_bmap()5898 __clear_bit(msix_idx, bmap->msix_bmap); in cxgb4_free_msix_idx_in_bmap()
1044 struct msix_bmap { struct1045 unsigned long *msix_bmap; argument1130 struct msix_bmap msix_bmap; member