Searched refs:new_cb_arg (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/sys/dev/ocs_fc/
H A Docs_hw.c7327 ocs_hw_set_port_protocol_cb_arg_t *new_cb_arg; local
7359 new_cb_arg = ocs_malloc(hw->os, sizeof(ocs_hw_set_port_protocol_cb_arg_t), OCS_M_NOWAIT);
7360 if (new_cb_arg == NULL) {
7366 new_cb_arg->cb = cb_arg->cb;
7367 new_cb_arg->arg = cb_arg->arg;
7371 if (ocs_dma_alloc(hw->os, &new_cb_arg->payload, sizeof(sli4_req_common_set_profile_config_t) +
7376 ocs_free(hw->os, new_cb_arg, sizeof(ocs_hw_set_port_protocol_cb_arg_t));
7381 &new_cb_arg->payload,
7385 dst = (uint8_t *)&(((sli4_req_common_set_profile_config_t *) new_cb_arg->payload.virt)->desc);
7448 rc = ocs_hw_command(hw, mbxdata, OCS_CMD_NOWAIT, ocs_hw_set_port_protocol_cb2, new_cb_arg);
[all...]

Completed in 56 milliseconds