Lines Matching defs:rq_buf
11585 ocs_hw_rq_buffer_t *rq_buf = NULL;
11590 rq_buf = ocs_malloc(hw->os, sizeof(*rq_buf) * count, OCS_M_NOWAIT | OCS_M_ZERO);
11591 if (rq_buf == NULL) {
11596 for (i = 0, prq = rq_buf; i < count; i ++, prq++) {
11600 ocs_free(hw->os, rq_buf, sizeof(*rq_buf) * count);
11601 rq_buf = NULL;
11606 return rq_buf;
11616 * @param rq_buf Pointer to ocs_hw_rx_buffer_t array.
11622 ocs_hw_rx_buffer_free(ocs_hw_t *hw, ocs_hw_rq_buffer_t *rq_buf, uint32_t count)
11628 if (rq_buf != NULL) {
11629 for (i = 0, prq = rq_buf; i < count; i++, prq++) {
11632 ocs_free(hw->os, rq_buf, sizeof(*rq_buf) * count);