Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c5857 adap->msix_bmap.msix_bmap = kcalloc(BITS_TO_LONGS(num_vec), in alloc_msix_info()
5859 if (!adap->msix_bmap.msix_bmap) { in alloc_msix_info()
5864 spin_lock_init(&adap->msix_bmap.lock); in alloc_msix_info()
5865 adap->msix_bmap.mapsize = num_vec; in alloc_msix_info()
5873 kfree(adap->msix_bmap.msix_bmap); in free_msix_info()
5879 struct msix_bmap *bmap = &adap->msix_bmap; in cxgb4_get_msix_idx_from_bmap()
5884 msix_idx = find_first_zero_bit(bmap->msix_bmap, bmap->mapsize); in cxgb4_get_msix_idx_from_bmap()
5886 __set_bit(msix_idx, bmap->msix_bmap); in cxgb4_get_msix_idx_from_bmap()
5899 struct msix_bmap *bmap = &adap->msix_bmap; in cxgb4_free_msix_idx_in_bmap()
5903 __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; argument
1130 struct msix_bmap msix_bmap; member