Home
last modified time | relevance | path

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

/drivers/vfio/pci/mlx5/
Dcmd.c480 struct mlx5vf_async_data *async_data = container_of(_work, in mlx5vf_mig_file_cleanup_cb() local
482 struct mlx5_vf_migration_file *migf = container_of(async_data, in mlx5vf_mig_file_cleanup_cb()
483 struct mlx5_vf_migration_file, async_data); in mlx5vf_mig_file_cleanup_cb()
486 if (async_data->status) { in mlx5vf_mig_file_cleanup_cb()
487 mlx5vf_put_data_buffer(async_data->buf); in mlx5vf_mig_file_cleanup_cb()
488 if (async_data->header_buf) in mlx5vf_mig_file_cleanup_cb()
489 mlx5vf_put_data_buffer(async_data->header_buf); in mlx5vf_mig_file_cleanup_cb()
490 if (async_data->status == MLX5_CMD_STAT_BAD_RES_STATE_ERR) in mlx5vf_mig_file_cleanup_cb()
497 kvfree(async_data->out); in mlx5vf_mig_file_cleanup_cb()
533 struct mlx5vf_async_data *async_data = container_of(context, in mlx5vf_save_callback() local
[all …]
Dcmd.h106 struct mlx5vf_async_data async_data; member
Dmain.c573 INIT_WORK(&migf->async_data.work, mlx5vf_mig_file_cleanup_cb); in mlx5vf_pci_save_device_data()
1020 cancel_work_sync(&mvdev->saving_migf->async_data.work); in mlx5vf_disable_fds()
/drivers/infiniband/hw/mlx5/
Ddevx.c1747 struct devx_async_data *async_data = in devx_query_callback() local
1749 struct devx_async_cmd_event_file *ev_file = async_data->ev_file; in devx_query_callback()
1759 list_add_tail(&async_data->list, &ev_queue->event_list); in devx_query_callback()
1783 struct devx_async_data *async_data; in UVERBS_HANDLER() local
1817 async_data = kvzalloc(struct_size(async_data, hdr.out_data, in UVERBS_HANDLER()
1819 if (!async_data) { in UVERBS_HANDLER()
1824 err = uverbs_copy_from(&async_data->hdr.wr_id, attrs, in UVERBS_HANDLER()
1829 async_data->cmd_out_len = cmd_out_len; in UVERBS_HANDLER()
1830 async_data->mdev = mdev; in UVERBS_HANDLER()
1831 async_data->ev_file = ev_file; in UVERBS_HANDLER()
[all …]
/drivers/net/ethernet/qlogic/qed/
Dqed_iwarp.c739 union async_output *async_data; in qed_iwarp_mpa_received() local
745 async_data = &ep->ep_buffer_virt->async_output; in qed_iwarp_mpa_received()
747 mpa_rev = async_data->mpa_request.mpa_handshake_mode; in qed_iwarp_mpa_received()
750 async_data->mpa_request.ulp_data_len, in qed_iwarp_mpa_received()
801 async_data->mpa_request.ulp_data_len, mpa_hdr_size); in qed_iwarp_mpa_received()
806 ulp_data_len = le16_to_cpu(async_data->mpa_request.ulp_data_len); in qed_iwarp_mpa_received()
944 union async_output *async_data; in qed_iwarp_parse_private_data() local
960 async_data = &ep->ep_buffer_virt->async_output; in qed_iwarp_parse_private_data()
963 ulp_data_len = le16_to_cpu(async_data->mpa_response.ulp_data_len); in qed_iwarp_parse_private_data()
/drivers/scsi/be2iscsi/
Dbe_main.c1632 pasync_ctx->async_data.buffer_size) in beiscsi_hdl_fwd_pdu()
1744 pasync_sge = pasync_ctx->async_data.ring_base; in beiscsi_hdq_post_handles()
1745 pi = pasync_ctx->async_data.pi; in beiscsi_hdq_post_handles()
1771 pasync_ctx->async_data.pi = pi; in beiscsi_hdq_post_handles()
2832 pasync_ctx->async_data.ring_base = in hwi_init_async_pdu_ctx()
2845 pasync_ctx->async_data.handle_base = in hwi_init_async_pdu_ctx()
2853 pasync_ctx->async_data.handle_base; in hwi_init_async_pdu_ctx()
2873 pasync_ctx->async_data.pi = 0; in hwi_init_async_pdu_ctx()
2874 pasync_ctx->async_data.buffer_size = p->defpdu_data_sz; in hwi_init_async_pdu_ctx()
2875 pasync_ctx->async_data.va_base = in hwi_init_async_pdu_ctx()
[all …]
Dbe_main.h591 struct hd_async_buf_context async_data; member