Home
last modified time | relevance | path

Searched full:agent (Results 1 – 25 of 260) sorted by relevance

1234567891011

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dhv_vhca.c34 void (*control)(struct mlx5_hv_vhca_agent *agent,
36 void (*invalidate)(struct mlx5_hv_vhca_agent *agent,
38 void (*cleanup)(struct mlx5_hv_vhca_agent *agent);
81 struct mlx5_hv_vhca_agent *agent = hv_vhca->agents[i]; in mlx5_hv_vhca_invalidate_work() local
83 if (!agent || !agent->invalidate) in mlx5_hv_vhca_invalidate_work()
86 if (!(BIT(agent->type) & hwork->block_mask)) in mlx5_hv_vhca_invalidate_work()
89 agent->invalidate(agent, hwork->block_mask); in mlx5_hv_vhca_invalidate_work()
120 struct mlx5_hv_vhca_agent *agent = hv_vhca->agents[i]; in mlx5_hv_vhca_agents_control() local
122 if (!agent || !agent->control) in mlx5_hv_vhca_agents_control()
125 if (!(AGENT_MASK(agent->type) & block->control)) in mlx5_hv_vhca_agents_control()
[all …]
H A Dhv_vhca.h45 void (*cleanup)(struct mlx5_hv_vhca_agent *agent),
48 void mlx5_hv_vhca_agent_destroy(struct mlx5_hv_vhca_agent *agent);
49 int mlx5_hv_vhca_agent_write(struct mlx5_hv_vhca_agent *agent,
51 void *mlx5_hv_vhca_agent_priv(struct mlx5_hv_vhca_agent *agent);
86 void (*cleanup)(struct mlx5_hv_vhca_agent *agent), in mlx5_hv_vhca_agent_create() argument
92 static inline void mlx5_hv_vhca_agent_destroy(struct mlx5_hv_vhca_agent *agent) in mlx5_hv_vhca_agent_destroy() argument
/linux/drivers/infiniband/core/
H A Dmad_rmpp.c47 struct ib_mad_agent_private *agent; member
87 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent) in ib_cancel_rmpp_recvs() argument
92 spin_lock_irqsave(&agent->lock, flags); in ib_cancel_rmpp_recvs()
93 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
97 spin_unlock_irqrestore(&agent->lock, flags); in ib_cancel_rmpp_recvs()
99 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs()
102 &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
137 msg = ib_create_send_mad(&rmpp_recv->agent->agent, recv_wc->wc->src_qp, in ack_recv()
151 static struct ib_mad_send_buf *alloc_response_msg(struct ib_mad_agent *agent, in alloc_response_msg() argument
158 ah = ib_create_ah_from_wc(agent->qp->pd, recv_wc->wc, in alloc_response_msg()
[all …]
H A Dagent.c42 #include "agent.h"
50 struct ib_mad_agent *agent[2]; member
62 /* Need to check both agent[0] and agent[1], as an agent port in __ib_get_agent_port()
65 if (entry->agent[0] && in __ib_get_agent_port()
66 entry->agent[0]->device == device && in __ib_get_agent_port()
67 entry->agent[0]->port_num == port_num) in __ib_get_agent_port()
70 if (entry->agent[1] && in __ib_get_agent_port()
71 entry->agent[1]->device == device && in __ib_get_agent_port()
72 entry->agent[1]->port_num == port_num) in __ib_get_agent_port()
95 struct ib_mad_agent *agent; in agent_send_response() local
[all …]
H A Dsecurity.c686 int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup() argument
691 if (!rdma_protocol_ib(agent->device, agent->port_num)) in ib_mad_agent_security_setup()
694 INIT_LIST_HEAD(&agent->mad_agent_sec_list); in ib_mad_agent_security_setup()
696 ret = security_ib_alloc_security(&agent->security); in ib_mad_agent_security_setup()
704 ret = security_ib_endport_manage_subnet(agent->security, in ib_mad_agent_security_setup()
705 dev_name(&agent->device->dev), in ib_mad_agent_security_setup()
706 agent->port_num); in ib_mad_agent_security_setup()
710 WRITE_ONCE(agent->smp_allowed, true); in ib_mad_agent_security_setup()
711 list_add(&agent->mad_agent_sec_list, &mad_agent_list); in ib_mad_agent_security_setup()
717 security_ib_free_security(agent->security); in ib_mad_agent_security_setup()
[all …]
H A Dmad.c52 #include "agent.h"
383 mad_agent_priv->agent.rmpp_version = rmpp_version; in ib_register_mad_agent()
384 mad_agent_priv->agent.device = device; in ib_register_mad_agent()
385 mad_agent_priv->agent.recv_handler = recv_handler; in ib_register_mad_agent()
386 mad_agent_priv->agent.send_handler = send_handler; in ib_register_mad_agent()
387 mad_agent_priv->agent.context = context; in ib_register_mad_agent()
388 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent()
389 mad_agent_priv->agent.port_num = port_num; in ib_register_mad_agent()
390 mad_agent_priv->agent.flags = registration_flags; in ib_register_mad_agent()
402 ret2 = ib_mad_agent_security_setup(&mad_agent_priv->agent, qp_type); in ib_register_mad_agent()
[all …]
/linux/tools/virtio/virtio-trace/
H A DREADME1 Trace Agent for virtio-trace
4 Trace agent is a user tool for sending trace data of a guest to a Host in low
5 overhead. Trace agent has the following functions:
11 The trace agent operates as follows:
16 4) After the controller of the trace agent receives a start order from a host,
28 Makefile: Makefile of trace agent for virtio-trace
29 trace-agent.c: includes main function, sets up for operating trace agent
30 trace-agent.h: includes all structures and some macros
31 trace-agent-ctl.c: includes controller function for read/write threads
32 trace-agent-rw.c: includes read/write threads function
[all …]
H A DMakefile5 all: trace-agent
10 trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
14 rm -f *.o trace-agent
/linux/drivers/target/sbp/
H A Dsbp_target.c259 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_login() argument
262 struct sbp_tport *tport = agent->tport; in sbp_management_request_login()
478 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_query_logins() argument
490 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_reconnect() argument
493 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect()
549 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_logout() argument
552 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout()
669 struct sbp_target_agent *agent) in tgt_agent_rw_agent_state() argument
677 spin_lock_bh(&agent->lock); in tgt_agent_rw_agent_state()
678 state = agent->state; in tgt_agent_rw_agent_state()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhv_vhca_stats.c60 struct mlx5_hv_vhca_agent *agent; in mlx5e_hv_vhca_stats_work() local
70 agent = sagent->agent; in mlx5e_hv_vhca_stats_work()
76 rc = mlx5_hv_vhca_agent_write(agent, buf, buf_len); in mlx5e_hv_vhca_stats_work()
93 static void mlx5e_hv_vhca_stats_control(struct mlx5_hv_vhca_agent *agent, in mlx5e_hv_vhca_stats_control() argument
99 priv = mlx5_hv_vhca_agent_priv(agent); in mlx5e_hv_vhca_stats_control()
116 static void mlx5e_hv_vhca_stats_cleanup(struct mlx5_hv_vhca_agent *agent) in mlx5e_hv_vhca_stats_cleanup() argument
118 struct mlx5e_priv *priv = mlx5_hv_vhca_agent_priv(agent); in mlx5e_hv_vhca_stats_cleanup()
126 struct mlx5_hv_vhca_agent *agent; in mlx5e_hv_vhca_stats_create() local
132 agent = mlx5_hv_vhca_agent_create(priv->mdev->hv_vhca, in mlx5e_hv_vhca_stats_create()
138 if (IS_ERR_OR_NULL(agent)) { in mlx5e_hv_vhca_stats_create()
[all …]
/linux/drivers/infiniband/sw/rdmavt/
H A Dmad.c46 static void rvt_send_mad_handler(struct ib_mad_agent *agent, in rvt_send_mad_handler() argument
56 * If driver needs to be notified of mad agent creation then call back
62 struct ib_mad_agent *agent; in rvt_create_mad_agents() local
69 agent = ib_register_mad_agent(&rdi->ibdev, p + 1, in rvt_create_mad_agents()
73 if (IS_ERR(agent)) { in rvt_create_mad_agents()
74 ret = PTR_ERR(agent); in rvt_create_mad_agents()
78 rvp->send_agent = agent; in rvt_create_mad_agents()
90 agent = rvp->send_agent; in rvt_create_mad_agents()
92 ib_unregister_mad_agent(agent); in rvt_create_mad_agents()
105 * If driver needs notification of mad agent removal make the call back
[all …]
/linux/drivers/mfd/
H A Dtwl4030-irq.c439 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_mask() local
441 agent->imr |= BIT(data->irq - agent->irq_base); in twl4030_sih_mask()
442 agent->imr_change_pending = true; in twl4030_sih_mask()
447 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_unmask() local
449 agent->imr &= ~BIT(data->irq - agent->irq_base); in twl4030_sih_unmask()
450 agent->imr_change_pending = true; in twl4030_sih_unmask()
455 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_set_type() local
461 agent->edge_change |= BIT(data->irq - agent->irq_base); in twl4030_sih_set_type()
468 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_bus_lock() local
470 mutex_lock(&agent->irq_lock); in twl4030_sih_bus_lock()
[all …]
/linux/include/trace/events/
H A Dib_mad.h55 __entry->dev_index = wr->mad_agent_priv->agent.device->index;
56 __entry->port_num = wr->mad_agent_priv->agent.port_num;
86 TP_printk("%d:%d QP%d agent %p: " \
144 __entry->dev_index = wr->mad_agent_priv->agent.device->index;
145 __entry->port_num = wr->mad_agent_priv->agent.port_num;
167 TP_printk("%d:%d QP%d : SEND WC Status %d : agent %p: " \
247 TP_PROTO(struct ib_mad_agent_private *agent),
248 TP_ARGS(agent),
259 __entry->dev_index = agent->agent.device->index;
260 __entry->port_num = agent->agent.port_num;
[all …]
/linux/drivers/firmware/arm_scmi/transports/
H A Doptee.c37 * already identified and bound to channel handle in both SCMI agent
61 * SCMI shm information are 0 if agent expects to use OP-TEE regular SHM
118 * @link: Reference in agent's channel list
142 * @channel_list: List of all created channels for the agent
158 static int open_session(struct scmi_optee_agent *agent, u32 *tee_session) in open_session() argument
160 struct device *dev = agent->dev; in open_session()
168 ret = tee_client_open_session(agent->tee_ctx, &arg, NULL); in open_session()
179 static void close_session(struct scmi_optee_agent *agent, u32 tee_session) in close_session() argument
181 tee_client_close_session(agent->tee_ctx, tee_session); in close_session()
184 static int get_capabilities(struct scmi_optee_agent *agent) in get_capabilities() argument
[all …]
/linux/tools/perf/pmu-events/arch/x86/snowridgex/
H A Duncore-interconnect.json737 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD credits acqui…
748 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD credits acqui…
759 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD credits acqui…
770 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD credits acqui…
781 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD credits acqui…
792 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 5 : Number of CMS Agent 0 AD credits acqui…
803 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 6 : Number of CMS Agent 0 AD credits acqui…
814 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 7 : Number of CMS Agent 0 AD credits acqui…
825 …ion": "CMS Agent0 AD Credits Acquired : For Transgress 10 : Number of CMS Agent 0 AD credits acqui…
836 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 8 : Number of CMS Agent 0 AD credits acqui…
[all …]
H A Duncore-cache.json9 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD credits acqui…
20 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD credits acqui…
31 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD credits acqui…
42 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD credits acqui…
53 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD credits acqui…
64 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 5 : Number of CMS Agent 0 AD credits acqui…
75 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 6 : Number of CMS Agent 0 AD credits acqui…
86 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 7 : Number of CMS Agent 0 AD credits acqui…
97 …ion": "CMS Agent0 AD Credits Acquired : For Transgress 10 : Number of CMS Agent 0 AD credits acqui…
108 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 8 : Number of CMS Agent 0 AD credits acqui…
[all …]
H A Duncore-io.json35 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
45 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
55 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
65 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
75 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
85 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
95 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
105 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
5209 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD credits acqui…
5220 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD credits acqui…
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Dintel-pmc-mux.rst4 Intel North Mux-Agent
10 North Mux-Agent is a function of the Intel PMC firmware that is supported on
13 platforms that allow the mux-agent to be configured from the operating system
16 The North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver
30 For every USB Type-C connector under the mux-agent control on the system, there
31 is a separate child node under the PMC mux-agent device node. Those nodes do not
32 represent the actual connectors, but instead the "channels" in the mux-agent
67 Mux-agent specific _DSD Device Properties
79 these device properties as-is when sending the mux-agent specific messages to
94 be "fixed" from the mux-agent's point of view, which means the mux-agent driver
[all …]
/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Duncore-interconnect.json737 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD credits acqui…
748 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD credits acqui…
759 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 2 : Number of CMS Agent 0 AD credits acqui…
770 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 3 : Number of CMS Agent 0 AD credits acqui…
781 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 4 : Number of CMS Agent 0 AD credits acqui…
792 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 5 : Number of CMS Agent 0 AD credits acqui…
803 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 6 : Number of CMS Agent 0 AD credits acqui…
814 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 7 : Number of CMS Agent 0 AD credits acqui…
825 …ion": "CMS Agent0 AD Credits Acquired : For Transgress 10 : Number of CMS Agent 0 AD credits acqui…
836 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 8 : Number of CMS Agent 0 AD credits acqui…
[all …]
H A Duncore-io.json3 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
13 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
23 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
33 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
43 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
53 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
63 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
73 …Free running counter that increments for every 32 bytes of data sent from the IO agent to the SOC",
5178 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 0 : Number of CMS Agent 0 AD credits acqui…
5189 …tion": "CMS Agent0 AD Credits Acquired : For Transgress 1 : Number of CMS Agent 0 AD credits acqui…
[all …]
/linux/drivers/md/dm-vdo/
H A Dpacker.c278 struct data_vio *agent = as_data_vio(completion); in finish_compressed_write() local
281 assert_data_vio_in_allocated_zone(agent); in finish_compressed_write()
284 * Process all the non-agent waiters first to ensure that the pbn lock can not be released in finish_compressed_write()
287 for (client = agent->compression.next_in_batch; client != NULL; client = next) { in finish_compressed_write()
289 release_compressed_write_waiter(client, &agent->allocation); in finish_compressed_write()
293 release_compressed_write_waiter(agent, &agent->allocation); in finish_compressed_write()
298 struct data_vio *agent = as_data_vio(completion); in handle_compressed_write_error() local
299 struct allocation *allocation = &agent->allocation; in handle_compressed_write_error()
309 for (client = agent->compression.next_in_batch; client != NULL; client = next) { in handle_compressed_write_error()
317 write_data_vio(agent); in handle_compressed_write_error()
[all …]
/linux/tools/perf/pmu-events/arch/x86/skylakex/
H A Duncore-interconnect.json779 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
790 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
801 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
812 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
823 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
834 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
845 … "PublicDescription": "Number of CMS Agent 0 AD credits in use in a given cycle, per transgress",
856 … "PublicDescription": "Number of CMS Agent 0 AD credits in use in a given cycle, per transgress",
867 … "PublicDescription": "Number of CMS Agent 0 AD credits in use in a given cycle, per transgress",
878 … "PublicDescription": "Number of CMS Agent 0 AD credits in use in a given cycle, per transgress",
[all …]
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/
H A Duncore-interconnect.json779 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
790 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
801 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
812 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
823 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
834 …"PublicDescription": "Number of CMS Agent 0 AD credits acquired in a given cycle, per transgress.",
845 … "PublicDescription": "Number of CMS Agent 0 AD credits in use in a given cycle, per transgress",
856 … "PublicDescription": "Number of CMS Agent 0 AD credits in use in a given cycle, per transgress",
867 … "PublicDescription": "Number of CMS Agent 0 AD credits in use in a given cycle, per transgress",
878 … "PublicDescription": "Number of CMS Agent 0 AD credits in use in a given cycle, per transgress",
[all …]
/linux/Documentation/networking/
H A Dtls-handshake.rst25 User handshake agent
29 Linux kernel. To provide a handshake service, a handshake agent
35 An open socket is passed to a handshake agent via a netlink operation,
36 which creates a socket descriptor in the agent's file descriptor table.
37 If the handshake completes successfully, the handshake agent promotes
39 SOL_TLS socket options. The handshake agent returns the socket to the
80 handshake agent to exit after a number of milliseconds. This enables the
81 socket to be fully closed once both the kernel and the handshake agent
85 keys, and pre-shared keys are provided to the handshake agent in keys
88 the handshake agent's process keyring in the @ta_keyring field to prevent
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Dfsl,pci.txt1 * Bus Enumeration by Freescale PCI-X Agent
3 Typically any Freescale PCI-X bridge hardware strapped into Agent mode
9 enumeration despite being strapped into Agent mode.
12 - fsl,pci-agent-force-enum : There is no value associated with this
19 fsl,pci-agent-force-enum;

1234567891011