Home
last modified time | relevance | path

Searched refs:counter_buf (Results 1 – 1 of 1) sorted by relevance

/freebsd-12-stable/sys/dev/ice/
Dice_switch.c254 struct ice_aqc_alloc_free_res_elem *counter_buf; in ice_alloc_sw() local
257 counter_buf = (struct ice_aqc_alloc_free_res_elem *) in ice_alloc_sw()
259 if (!counter_buf) { in ice_alloc_sw()
268 counter_buf->num_elems = CPU_TO_LE16(1); in ice_alloc_sw()
269 counter_buf->res_type = in ice_alloc_sw()
272 status = ice_aq_alloc_free_res(hw, 1, counter_buf, buf_len, in ice_alloc_sw()
276 ice_free(hw, counter_buf); in ice_alloc_sw()
279 counter_ele = &counter_buf->elem[0]; in ice_alloc_sw()
281 ice_free(hw, counter_buf); in ice_alloc_sw()
303 struct ice_aqc_alloc_free_res_elem *sw_buf, *counter_buf; in ice_free_sw() local
[all …]