Searched refs:ftid_bmap (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_filter.c | 446 ftid = find_first_zero_bit(t->ftid_bmap, t->nftids); in cxgb4_get_free_ftid() 451 ftid = bitmap_find_free_region(t->ftid_bmap, in cxgb4_get_free_ftid() 459 bitmap_release_region(t->ftid_bmap, ftid, 1); in cxgb4_get_free_ftid() 461 ftid = bitmap_find_free_region(t->ftid_bmap, in cxgb4_get_free_ftid() 466 bitmap_release_region(t->ftid_bmap, ftid, 2); in cxgb4_get_free_ftid() 479 if (test_bit(fidx, t->ftid_bmap)) { in cxgb4_set_ftid() 485 __set_bit(fidx, t->ftid_bmap); in cxgb4_set_ftid() 488 bitmap_allocate_region(t->ftid_bmap, fidx, 2); in cxgb4_set_ftid() 490 bitmap_allocate_region(t->ftid_bmap, fidx, 1); in cxgb4_set_ftid() 502 __clear_bit(fidx, t->ftid_bmap); in cxgb4_clear_ftid() [all …]
|
D | cxgb4_uld.h | 111 unsigned long *ftid_bmap; member
|
D | cxgb4_main.c | 1352 t->ftid_bmap = (unsigned long *)&t->ftid_tab[max_ftids]; in tid_init() 1381 bitmap_zero(t->ftid_bmap, t->nftids); in tid_init()
|