Searched refs:res_cbs (Results 1 – 2 of 2) sorted by relevance
688 struct hnae_desc_cb res_cbs; in hns_nic_alloc_rx_buffers() local699 ret = hnae_reserve_buffer_map(ring, &res_cbs); in hns_nic_alloc_rx_buffers()705 hnae_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns_nic_alloc_rx_buffers()
3687 struct hns3_desc_cb res_cbs; in hns3_nic_alloc_rx_buffers() local3697 ret = hns3_alloc_and_map_buffer(ring, &res_cbs); in hns3_nic_alloc_rx_buffers()3709 hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns3_nic_alloc_rx_buffers()5500 struct hns3_desc_cb res_cbs; in hns3_clear_rx_ring() local5509 ret = hns3_alloc_and_map_buffer(ring, &res_cbs); in hns3_clear_rx_ring()5520 hns3_replace_buffer(ring, ring->next_to_use, &res_cbs); in hns3_clear_rx_ring()