Searched refs:roce_bitmap (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
H A D | usnic_transport.c | 28 static unsigned long *roce_bitmap; variable 76 port_num = bitmap_find_next_zero_area(roce_bitmap, usnic_transport_rsrv_port() 82 } else if (test_bit(port_num, roce_bitmap)) { usnic_transport_rsrv_port() 88 bitmap_set(roce_bitmap, port_num, 1); usnic_transport_rsrv_port() 114 if (!test_bit(port_num, roce_bitmap)) { usnic_transport_unrsrv_port() 120 bitmap_clear(roce_bitmap, port_num, 1); usnic_transport_unrsrv_port() 188 roce_bitmap = kzalloc(ROCE_BITMAP_SZ, GFP_KERNEL); usnic_transport_init() 189 if (!roce_bitmap) { usnic_transport_init() 195 bitmap_set(roce_bitmap, 0, 1); usnic_transport_init() 201 kfree(roce_bitmap); usnic_transport_fini()
|
Completed in 74 milliseconds