Searched refs:new_cb_arg (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_hw.c | 7348 ocs_hw_set_port_protocol_cb_arg_t *new_cb_arg; in ocs_hw_set_port_protocol_cb1() local 7380 new_cb_arg = ocs_malloc(hw->os, sizeof(ocs_hw_set_port_protocol_cb_arg_t), OCS_M_NOWAIT); in ocs_hw_set_port_protocol_cb1() 7381 if (new_cb_arg == NULL) { in ocs_hw_set_port_protocol_cb1() 7387 new_cb_arg->cb = cb_arg->cb; in ocs_hw_set_port_protocol_cb1() 7388 new_cb_arg->arg = cb_arg->arg; in ocs_hw_set_port_protocol_cb1() 7392 if (ocs_dma_alloc(hw->os, &new_cb_arg->payload, sizeof(sli4_req_common_set_profile_config_t) + in ocs_hw_set_port_protocol_cb1() 7397 ocs_free(hw->os, new_cb_arg, sizeof(ocs_hw_set_port_protocol_cb_arg_t)); in ocs_hw_set_port_protocol_cb1() 7402 &new_cb_arg->payload, in ocs_hw_set_port_protocol_cb1() 7406 dst = (uint8_t *)&(((sli4_req_common_set_profile_config_t *) new_cb_arg->payload.virt)->desc); in ocs_hw_set_port_protocol_cb1() 7469 rc = ocs_hw_command(hw, mbxdata, OCS_CMD_NOWAIT, ocs_hw_set_port_protocol_cb2, new_cb_arg); in ocs_hw_set_port_protocol_cb1() [all …]
|