Home
last modified time | relevance | path

Searched refs:agent (Results 1 – 25 of 61) sorted by relevance

123

/Linux-v4.19/drivers/infiniband/core/
Dmad_rmpp.c48 struct ib_mad_agent_private *agent; member
88 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent) in ib_cancel_rmpp_recvs() argument
93 spin_lock_irqsave(&agent->lock, flags); in ib_cancel_rmpp_recvs()
94 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
99 spin_unlock_irqrestore(&agent->lock, flags); in ib_cancel_rmpp_recvs()
101 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
106 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs()
109 &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
142 msg = ib_create_send_mad(&rmpp_recv->agent->agent, recv_wc->wc->src_qp, in ack_recv()
156 static struct ib_mad_send_buf *alloc_response_msg(struct ib_mad_agent *agent, in alloc_response_msg() argument
[all …]
Dagent.c50 struct ib_mad_agent *agent[2]; member
62 if (entry->agent[1]->device == device && in __ib_get_agent_port()
63 entry->agent[1]->port_num == port_num) in __ib_get_agent_port()
86 struct ib_mad_agent *agent; in agent_send_response() local
101 agent = port_priv->agent[qpn]; in agent_send_response()
102 ah = ib_create_ah_from_wc(agent->qp->pd, wc, grh, port_num); in agent_send_response()
112 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0, in agent_send_response()
165 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open()
169 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open()
170 ret = PTR_ERR(port_priv->agent[0]); in ib_agent_port_open()
[all …]
Duser_mad.c119 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS]; member
167 return file->agents_dead ? NULL : file->agent[id]; in __get_agent()
171 struct ib_mad_agent *agent, in queue_packet() argument
181 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet()
201 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
204 struct ib_umad_file *file = agent->context; in send_handler()
214 if (!queue_packet(file, agent, packet)) in send_handler()
220 static void recv_handler(struct ib_mad_agent *agent, in recv_handler() argument
224 struct ib_umad_file *file = agent->context; in recv_handler()
244 if (rdma_cap_opa_mad(agent->device, agent->port_num)) in recv_handler()
[all …]
Dsecurity.c695 int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup() argument
700 if (!rdma_protocol_ib(agent->device, agent->port_num)) in ib_mad_agent_security_setup()
703 ret = security_ib_alloc_security(&agent->security); in ib_mad_agent_security_setup()
710 ret = security_ib_endport_manage_subnet(agent->security, in ib_mad_agent_security_setup()
711 agent->device->name, in ib_mad_agent_security_setup()
712 agent->port_num); in ib_mad_agent_security_setup()
716 agent->lsm_nb.notifier_call = ib_mad_agent_security_change; in ib_mad_agent_security_setup()
717 ret = register_lsm_notifier(&agent->lsm_nb); in ib_mad_agent_security_setup()
721 agent->smp_allowed = true; in ib_mad_agent_security_setup()
722 agent->lsm_nb_reg = true; in ib_mad_agent_security_setup()
[all …]
Dmad.c361 mad_agent_priv->agent.rmpp_version = rmpp_version; in ib_register_mad_agent()
362 mad_agent_priv->agent.device = device; in ib_register_mad_agent()
363 mad_agent_priv->agent.recv_handler = recv_handler; in ib_register_mad_agent()
364 mad_agent_priv->agent.send_handler = send_handler; in ib_register_mad_agent()
365 mad_agent_priv->agent.context = context; in ib_register_mad_agent()
366 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent()
367 mad_agent_priv->agent.port_num = port_num; in ib_register_mad_agent()
368 mad_agent_priv->agent.flags = registration_flags; in ib_register_mad_agent()
380 ret2 = ib_mad_agent_security_setup(&mad_agent_priv->agent, qp_type); in ib_register_mad_agent()
397 mad_agent_priv->agent.hi_tid = ret2; in ib_register_mad_agent()
[all …]
Dsa_query.c91 struct ib_mad_agent *agent; member
764 memcpy(header->device_name, query->port->agent->device->name, in ib_nl_set_path_rec_attrs()
930 static void send_handler(struct ib_mad_agent *agent,
1017 send_handler(query->port->agent, &mad_send_wc); in ib_nl_request_timeout()
1144 send_handler(query->port->agent, &mad_send_wc); in ib_nl_handle_resolve_resp()
1189 struct ib_mad_agent *agent; in ib_sa_cancel_query() local
1197 agent = query->port->agent; in ib_sa_cancel_query()
1207 ib_cancel_mad(agent, mad_buf); in ib_sa_cancel_query()
1368 query->mad_buf = ib_create_send_mad(query->port->agent, 1, in alloc_mad()
1391 static void init_mad(struct ib_sa_query *query, struct ib_mad_agent *agent) in init_mad() argument
[all …]
Dmad_rmpp.h46 ib_process_rmpp_recv_wc(struct ib_mad_agent_private *agent,
54 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent);
Dmad_priv.h92 struct ib_mad_agent agent; member
114 struct ib_mad_agent agent; member
158 struct ib_mad_agent_private *agent[IB_MGMT_MAX_METHODS]; member
Dcore_priv.h226 int ib_mad_agent_security_setup(struct ib_mad_agent *agent,
228 void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent);
280 static inline int ib_mad_agent_security_setup(struct ib_mad_agent *agent, in ib_mad_agent_security_setup() argument
286 static inline void ib_mad_agent_security_cleanup(struct ib_mad_agent *agent) in ib_mad_agent_security_cleanup() argument
/Linux-v4.19/drivers/mfd/
Dtwl4030-irq.c451 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_mask() local
453 agent->imr |= BIT(data->irq - agent->irq_base); in twl4030_sih_mask()
454 agent->imr_change_pending = true; in twl4030_sih_mask()
459 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_unmask() local
461 agent->imr &= ~BIT(data->irq - agent->irq_base); in twl4030_sih_unmask()
462 agent->imr_change_pending = true; in twl4030_sih_unmask()
467 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_set_type() local
473 agent->edge_change |= BIT(data->irq - agent->irq_base); in twl4030_sih_set_type()
480 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_bus_lock() local
482 mutex_lock(&agent->irq_lock); in twl4030_sih_bus_lock()
[all …]
/Linux-v4.19/drivers/target/sbp/
Dsbp_target.c272 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_login() argument
275 struct sbp_tport *tport = agent->tport; in sbp_management_request_login()
491 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_query_logins() argument
503 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_reconnect() argument
506 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect()
562 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_logout() argument
565 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout()
682 struct sbp_target_agent *agent) in tgt_agent_rw_agent_state() argument
690 spin_lock_bh(&agent->lock); in tgt_agent_rw_agent_state()
691 state = agent->state; in tgt_agent_rw_agent_state()
[all …]
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dmad.c88 static void rvt_send_mad_handler(struct ib_mad_agent *agent, in rvt_send_mad_handler() argument
104 struct ib_mad_agent *agent; in rvt_create_mad_agents() local
111 agent = ib_register_mad_agent(&rdi->ibdev, p + 1, in rvt_create_mad_agents()
115 if (IS_ERR(agent)) { in rvt_create_mad_agents()
116 ret = PTR_ERR(agent); in rvt_create_mad_agents()
120 rvp->send_agent = agent; in rvt_create_mad_agents()
132 agent = rvp->send_agent; in rvt_create_mad_agents()
134 ib_unregister_mad_agent(agent); in rvt_create_mad_agents()
151 struct ib_mad_agent *agent; in rvt_free_mad_agents() local
158 agent = rvp->send_agent; in rvt_free_mad_agents()
[all …]
/Linux-v4.19/tools/virtio/virtio-trace/
DREADME4 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
38 To use this trace agent for virtio-trace, we need to prepare some virtio-serial
[all …]
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-v4.19/security/yama/
Dyama_lsm.c52 struct task_struct *agent; member
62 agent_cmd = kstrdup_quotable_cmdline(info->agent, GFP_KERNEL); in __report_access()
67 info->agent->pid); in __report_access()
72 put_task_struct(info->agent); in __report_access()
79 struct task_struct *agent) in report_access() argument
82 char agent_comm[sizeof(agent->comm)]; in report_access()
93 get_task_comm(agent_comm, agent), agent->pid); in report_access()
102 get_task_struct(agent); in report_access()
105 info->agent = agent; in report_access()
111 put_task_struct(agent); in report_access()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_mad.c169 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local
173 if (agent) { in forward_trap()
174 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap()
288 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
296 struct ib_mad_agent *agent; in mthca_create_agents() local
304 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mthca_create_agents()
308 if (IS_ERR(agent)) { in mthca_create_agents()
309 ret = PTR_ERR(agent); in mthca_create_agents()
312 dev->send_agent[p][q] = agent; in mthca_create_agents()
338 struct ib_mad_agent *agent; in mthca_free_agents() local
[all …]
/Linux-v4.19/tools/perf/jvmti/
Djvmti_agent.h21 int jvmti_close(void *agent);
22 int jvmti_write_code(void *agent, char const *symbol_name,
26 int jvmti_write_debug_info(void *agent, uint64_t code, int nr_lines,
Djvmti_agent.c302 jvmti_close(void *agent) in jvmti_close() argument
305 FILE *fp = agent; in jvmti_close()
330 jvmti_write_code(void *agent, char const *sym, in jvmti_write_code() argument
336 FILE *fp = agent; in jvmti_write_code()
388 jvmti_write_debug_info(void *agent, uint64_t code, in jvmti_write_debug_info() argument
395 FILE *fp = agent; in jvmti_write_debug_info()
/Linux-v4.19/Documentation/perf/
Dxgene-pmu.txt18 config1 (agent ID) fields of the perf_event_attr structure. The "events"
23 Most of the SoC PMU has a specific list of agent ID used for monitoring
27 the bit number corresponding to the agent is set, the event is counted only if
28 it is caused by a request from that agent. Each agent ID bit is inversely mapped
30 counted for all agent requests (config1 = 0x0). For all the supported agents of
/Linux-v4.19/Documentation/devicetree/bindings/arm/omap/
Dl4.txt19 - reg : registers link agent and interconnect agent and access protection
20 - reg-names : "la" for link agent, "ia0" to "ia3" for one to three
21 interconnect agent instances, "ap" for access if it exists
/Linux-v4.19/arch/mips/dec/
Dkn02xa-berr.c57 const char *kind, *agent, *cycle, *event; in dec_kn02xa_be_backend() local
70 agent = cpustr; in dec_kn02xa_be_backend()
88 kind, agent, cycle, event, address); in dec_kn02xa_be_backend()
Dkn01-berr.c85 const char *kind, *agent, *cycle, *event; in dec_kn01_be_backend() local
96 agent = cpustr; in dec_kn01_be_backend()
142 kind, agent, cycle, event, address); in dec_kn01_be_backend()
Decc-berr.c58 const char *kind, *agent, *cycle, *event; in dec_ecc_be_backend() local
81 agent = (erraddr & KN0X_EAR_CPU) ? cpustr : dmastr; in dec_ecc_be_backend()
189 kind, agent, cycle, event, address); in dec_ecc_be_backend()
/Linux-v4.19/Documentation/networking/
Dnetconsole.txt35 tgt-port port for logging agent (6666)
36 tgt-ip IP address for logging agent
37 tgt-macaddr ethernet MAC address for logging agent (broadcast)
115 remote_port Remote agent's UDP port (read-write)
117 remote_ip Remote agent's IP address (read-write)
119 remote_mac Remote agent's MAC address (read-write)
183 TIP: in case the remote logging agent is on a separate LAN subnet than
193 NOTE: if you find that the remote logging agent is not receiving or
/Linux-v4.19/Documentation/devicetree/bindings/pci/
Dfsl,pci.txt12 - fsl,pci-agent-force-enum : There is no value associated with this
19 fsl,pci-agent-force-enum;

123