Searched refs:nrsrc (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu.c | 144 int rvu_alloc_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_alloc_rsrc_contig() argument 151 start = bitmap_find_next_zero_area(rsrc->bmap, rsrc->max, 0, nrsrc, 0); in rvu_alloc_rsrc_contig() 155 bitmap_set(rsrc->bmap, start, nrsrc); in rvu_alloc_rsrc_contig() 159 static void rvu_free_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc, int start) in rvu_free_rsrc_contig() argument 166 bitmap_clear(rsrc->bmap, start, nrsrc); in rvu_free_rsrc_contig() 169 bool rvu_rsrc_check_contig(struct rsrc_bmap *rsrc, int nrsrc) in rvu_rsrc_check_contig() argument 176 start = bitmap_find_next_zero_area(rsrc->bmap, rsrc->max, 0, nrsrc, 0); in rvu_rsrc_check_contig()
|
D | rvu.h | 743 int rvu_alloc_rsrc_contig(struct rsrc_bmap *rsrc, int nrsrc); 744 bool rvu_rsrc_check_contig(struct rsrc_bmap *rsrc, int nrsrc);
|