Searched refs:qpl_id_map (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
H A D | gve.h | 179 unsigned long *qpl_id_map; /* bitmap of used qpl ids */ member 456 int id = find_first_zero_bit(priv->qpl_cfg.qpl_id_map, in gve_assign_tx_qpl() 463 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_tx_qpl() 472 int id = find_next_zero_bit(priv->qpl_cfg.qpl_id_map, in gve_assign_rx_qpl() 480 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_rx_qpl() 488 clear_bit(id, priv->qpl_cfg.qpl_id_map); in gve_unassign_qpl()
|
H A D | gve_main.c | 717 priv->qpl_cfg.qpl_id_map = kvzalloc(BITS_TO_LONGS(num_qpls) * in gve_alloc_qpls() 719 if (!priv->qpl_cfg.qpl_id_map) { in gve_alloc_qpls() 738 kvfree(priv->qpl_cfg.qpl_id_map); in gve_free_qpls()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
H A D | gve.h | 599 unsigned long *qpl_id_map; /* bitmap of used qpl ids */ member 972 if (test_bit(id, priv->qpl_cfg.qpl_id_map)) in gve_assign_tx_qpl() 975 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_tx_qpl() 987 if (test_bit(id, priv->qpl_cfg.qpl_id_map)) in gve_assign_rx_qpl() 990 set_bit(id, priv->qpl_cfg.qpl_id_map); in gve_assign_rx_qpl() 998 clear_bit(id, priv->qpl_cfg.qpl_id_map); in gve_unassign_qpl()
|
H A D | gve_main.c | 1129 priv->qpl_cfg.qpl_id_map = kvcalloc(BITS_TO_LONGS(max_queues), in gve_alloc_qpls() 1131 if (!priv->qpl_cfg.qpl_id_map) { in gve_alloc_qpls() 1164 kvfree(priv->qpl_cfg.qpl_id_map); in gve_free_qpls() 1165 priv->qpl_cfg.qpl_id_map = NULL; in gve_free_qpls()
|
Completed in 8 milliseconds