Home
last modified time | relevance | path

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

/freebsd/sys/dev/ocs_fc/
H A Docs_hw.c11585 ocs_hw_rq_buffer_t *rq_buf = NULL; in ocs_hw_rx_buffer_alloc() local
11590 rq_buf = ocs_malloc(hw->os, sizeof(*rq_buf) * count, OCS_M_NOWAIT | OCS_M_ZERO); in ocs_hw_rx_buffer_alloc()
11591 if (rq_buf == NULL) { in ocs_hw_rx_buffer_alloc()
11596 for (i = 0, prq = rq_buf; i < count; i ++, prq++) { in ocs_hw_rx_buffer_alloc()
11600 ocs_free(hw->os, rq_buf, sizeof(*rq_buf) * count); in ocs_hw_rx_buffer_alloc()
11601 rq_buf = NULL; in ocs_hw_rx_buffer_alloc()
11606 return rq_buf; in ocs_hw_rx_buffer_alloc()
11622 ocs_hw_rx_buffer_free(ocs_hw_t *hw, ocs_hw_rq_buffer_t *rq_buf, uint32_t count) in ocs_hw_rx_buffer_free() argument
11628 if (rq_buf != NULL) { in ocs_hw_rx_buffer_free()
11629 for (i = 0, prq = rq_buf; i < count; i++, prq++) { in ocs_hw_rx_buffer_free()
[all …]
/freebsd/contrib/ofed/libmlx5/
H A Dverbs.c1124 goto rq_buf; in mlx5_alloc_qp_buf()
1131 rq_buf: in mlx5_alloc_qp_buf()