Home
last modified time | relevance | path

Searched refs:context_id (Results 1 – 20 of 20) sorted by relevance

/drivers/misc/vmw_vmci/
Dvmci_datagram.c65 u32 context_id; in dg_create_handle() local
73 context_id = VMCI_INVALID_ID; in dg_create_handle()
75 context_id = vmci_get_context_id(); in dg_create_handle()
76 if (context_id == VMCI_INVALID_ID) in dg_create_handle()
80 handle = vmci_make_handle(context_id, resource_id); in dg_create_handle()
113 static int vmci_datagram_get_priv_flags(u32 context_id, in vmci_datagram_get_priv_flags() argument
117 if (context_id == VMCI_INVALID_ID) in vmci_datagram_get_priv_flags()
120 if (context_id == VMCI_HOST_CONTEXT_ID) { in vmci_datagram_get_priv_flags()
133 } else if (context_id == VMCI_HYPERVISOR_CONTEXT_ID) in vmci_datagram_get_priv_flags()
136 *priv_flags = vmci_context_get_priv_flags(context_id); in vmci_datagram_get_priv_flags()
[all …]
Dvmci_context.c202 static int ctx_fire_notification(u32 context_id, u32 priv_flags) in ctx_fire_notification() argument
208 vmci_make_handle(context_id, VMCI_EVENT_HANDLER); in ctx_fire_notification()
256 ev.payload.context_id = context_id; in ctx_fire_notification()
599 int vmci_ctx_add_notification(u32 context_id, u32 remote_cid) in vmci_ctx_add_notification() argument
606 context = vmci_ctx_get(context_id); in vmci_ctx_add_notification()
610 if (VMCI_CONTEXT_IS_VM(context_id) && VMCI_CONTEXT_IS_VM(remote_cid)) { in vmci_ctx_add_notification()
612 context_id, remote_cid); in vmci_ctx_add_notification()
660 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid) in vmci_ctx_remove_notification() argument
667 context = vmci_ctx_get(context_id); in vmci_ctx_remove_notification()
763 int vmci_ctx_get_chkpt_state(u32 context_id, in vmci_ctx_get_chkpt_state() argument
[all …]
Dvmci_context.h148 int vmci_ctx_add_notification(u32 context_id, u32 remote_cid);
149 int vmci_ctx_remove_notification(u32 context_id, u32 remote_cid);
150 int vmci_ctx_get_chkpt_state(u32 context_id, u32 cpt_type,
152 int vmci_ctx_set_chkpt_state(u32 context_id, u32 cpt_type,
162 int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle);
163 int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle);
164 int vmci_ctx_dbell_destroy_all(u32 context_id);
168 int vmci_ctx_rcv_notifications_get(u32 context_id, struct vmci_handle_arr
171 void vmci_ctx_rcv_notifications_release(u32 context_id, struct vmci_handle_arr
Dvmci_queue_pair.c937 u32 context_id = vmci_get_context_id(); in qp_notify_peer_local() local
940 ev.msg.hdr.dst = vmci_make_handle(context_id, VMCI_EVENT_HANDLER); in qp_notify_peer_local()
946 ev.payload.peer_id = context_id; in qp_notify_peer_local()
975 u32 context_id = vmci_get_context_id(); in qp_guest_endpoint_create() local
977 handle = vmci_make_handle(context_id, VMCI_INVALID_ID); in qp_guest_endpoint_create()
1271 u32 context_id = vmci_get_context_id(); in qp_alloc_guest_work() local
1282 if (queue_pair_entry->qp.handle.context != context_id || in qp_alloc_guest_work()
1284 queue_pair_entry->qp.peer != context_id)) { in qp_alloc_guest_work()
1374 const u32 context_id = vmci_ctx_get_id(context); in qp_broker_create() local
1388 if (handle.context != context_id && handle.context != peer) in qp_broker_create()
[all …]
Dvmci_resource.c75 static u32 vmci_resource_find_id(u32 context_id, in vmci_resource_find_id() argument
96 handle = vmci_make_handle(context_id, current_rid); in vmci_resource_find_id()
Dvmci_datagram.h48 int vmci_datagram_dispatch(u32 context_id, struct vmci_datagram *dg,
Dvmci_guest.c149 if (!event_data || ev_payload->context_id == VMCI_INVALID_ID) { in vmci_guest_cid_update()
155 vm_context_id, ev_payload->context_id, event_data->event); in vmci_guest_cid_update()
157 vm_context_id = ev_payload->context_id; in vmci_guest_cid_update()
Dvmci_doorbell.c432 u32 context_id = vmci_get_context_id(); in vmci_doorbell_create() local
435 new_handle = vmci_make_handle(context_id, VMCI_INVALID_ID); in vmci_doorbell_create()
/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c408 enbl_req.context_id = tgt->context_id; in bnx2fc_send_session_enable_req()
467 disable_req.context_id = tgt->context_id; in bnx2fc_send_session_disable_req()
502 destroy_req.context_id = tgt->context_id; in bnx2fc_send_session_destroy_req()
1126 u32 context_id; in bnx2fc_process_ofld_cmpl() local
1129 context_id = ofld_kcqe->fcoe_conn_context_id; in bnx2fc_process_ofld_cmpl()
1147 tgt->context_id = context_id; in bnx2fc_process_ofld_cmpl()
1179 u32 context_id; in bnx2fc_process_enable_conn_cmpl() local
1181 context_id = ofld_kcqe->fcoe_conn_context_id; in bnx2fc_process_enable_conn_cmpl()
1196 if (tgt->context_id != context_id) { in bnx2fc_process_enable_conn_cmpl()
1415 u32 context_id = tgt->context_id; in bnx2fc_map_doorbell() local
[all …]
D57xx_hsi_bnx2fc.h492 __le32 context_id; member
503 __le32 context_id; member
Dbnx2fc.h293 u32 context_id; member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c225 cmd.req.arg[1] = recv_ctx->context_id; in qlcnic_fw_cmd_set_mtu()
373 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_rx_ctx()
392 cmd.req.arg[1] = recv_ctx->context_id; in qlcnic_82xx_fw_cmd_del_rx_ctx()
469 tx_ring->ctx_id = le16_to_cpu(prsp->context_id); in qlcnic_82xx_fw_cmd_create_tx_ctx()
952 esw_stats->context_id = le16_to_cpu(stats->context_id); in qlcnic_get_port_stats()
1053 esw_stats->context_id = eswitch; in qlcnic_get_eswitch_stats()
Dqlcnic_83xx_hw.c959 u16 context_id; in qlcnic_83xx_add_rings() local
969 context_id = recv_ctx->context_id; in qlcnic_83xx_add_rings()
973 cmd.req.arg[1] = 0 | (num_sds << 8) | (context_id << 16); in qlcnic_83xx_add_rings()
1045 cmd.req.arg[1] = recv_ctx->context_id | temp; in qlcnic_83xx_del_rx_ctx()
1146 recv_ctx->context_id = mbx_out->ctx_id; in qlcnic_83xx_create_rx_ctx()
1150 recv_ctx->context_id, recv_ctx->state); in qlcnic_83xx_create_rx_ctx()
1543 temp = adapter->recv_ctx->context_id << 16; in qlcnic_83xx_setup_link_event()
1560 *interface_id = adapter->recv_ctx->context_id << 16; in qlcnic_83xx_set_interface_id_promisc()
1741 *interface_id = adapter->recv_ctx->context_id << 16; in qlcnic_83xx_set_interface_id_ipaddr()
1792 temp = adapter->recv_ctx->context_id << 16; in qlcnic_83xx_config_hw_lro()
[all …]
Dqlcnic.h556 u16 context_id; member
667 __le16 context_id; /* Handle for context */ member
720 __le16 context_id; /* Handle for context */ member
1331 __le16 context_id; member
1346 u16 context_id; member
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c249 cmd.req.arg1 = recv_ctx->context_id; in nx_fw_cmd_set_mtu()
411 recv_ctx->context_id = le16_to_cpu(prsp->context_id); in nx_fw_cmd_create_rx_ctx()
428 cmd.req.arg1 = recv_ctx->context_id; in nx_fw_cmd_destroy_rx_ctx()
514 le16_to_cpu(prsp->context_id); in nx_fw_cmd_create_tx_ctx()
Dnetxen_nic.h681 u16 context_id; member
867 __le16 context_id; /* Handle for context */ member
920 __le16 context_id; /* Handle for context */ member
/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h738 u32 context_id; member
757 u32 context_id; member
Dbnx2i_hwi.c659 update_wqe->context_id = bnx2i_conn->ep->ep_cid; in bnx2i_update_iscsi_conn()
661 update_wqe->context_id = (bnx2i_conn->ep->ep_cid >> 7); in bnx2i_update_iscsi_conn()
777 conn_cleanup.context_id = ep->ep_cid; in bnx2i_send_conn_destroy()
779 conn_cleanup.context_id = (ep->ep_cid >> 7); in bnx2i_send_conn_destroy()
/drivers/net/ethernet/broadcom/
Dcnic.c1913 u32 l5_cid, cid = BNX2X_SW_CID(req->context_id); in cnic_bnx2x_iscsi_update()
1926 req->context_id, ISCSI_CONNECTION_TYPE, &l5_data); in cnic_bnx2x_iscsi_update()
1995 kcqe.iscsi_conn_context_id = req->context_id; in cnic_bnx2x_iscsi_destroy()
2429 cid = req->context_id; in cnic_bnx2x_fcoe_enable()
2457 cid = req->context_id; in cnic_bnx2x_fcoe_disable()
2491 cid = req->context_id; in cnic_bnx2x_fcoe_destroy()
2592 cid = req->context_id; in cnic_bnx2x_kwqe_err()
Dcnic_defs.h2807 __le32 context_id; member
2818 __le32 context_id; member