Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/core/
Dmad_rmpp.c47 struct ib_mad_agent_private *agent; member
86 void ib_cancel_rmpp_recvs(struct ib_mad_agent_private *agent) in ib_cancel_rmpp_recvs() argument
91 spin_lock_irqsave(&agent->lock, flags); in ib_cancel_rmpp_recvs()
92 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 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
104 flush_workqueue(agent->qp_info->port_priv->wq); in ib_cancel_rmpp_recvs()
107 &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs()
140 msg = ib_create_send_mad(&rmpp_recv->agent->agent, recv_wc->wc->src_qp, in ack_recv()
153 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()
109 send_buf = ib_create_send_mad(agent, wc->src_qp, wc->pkey_index, 0, in agent_send_response()
161 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open()
165 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open()
166 ret = PTR_ERR(port_priv->agent[0]); in ib_agent_port_open()
[all …]
Duser_mad.c115 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS]; member
160 return file->agents_dead ? NULL : file->agent[id]; in __get_agent()
164 struct ib_mad_agent *agent, in queue_packet() argument
174 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet()
194 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
197 struct ib_umad_file *file = agent->context; in send_handler()
207 if (!queue_packet(file, agent, packet)) in send_handler()
213 static void recv_handler(struct ib_mad_agent *agent, in recv_handler() argument
216 struct ib_umad_file *file = agent->context; in recv_handler()
240 ib_init_ah_from_wc(agent->device, agent->port_num, in recv_handler()
[all …]
Dmad.c341 mad_agent_priv->agent.mr = ib_get_dma_mr(port_priv->qp_info[qpn].qp->pd, in ib_register_mad_agent()
343 if (IS_ERR(mad_agent_priv->agent.mr)) { in ib_register_mad_agent()
359 mad_agent_priv->agent.rmpp_version = rmpp_version; in ib_register_mad_agent()
360 mad_agent_priv->agent.device = device; in ib_register_mad_agent()
361 mad_agent_priv->agent.recv_handler = recv_handler; in ib_register_mad_agent()
362 mad_agent_priv->agent.send_handler = send_handler; in ib_register_mad_agent()
363 mad_agent_priv->agent.context = context; in ib_register_mad_agent()
364 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent()
365 mad_agent_priv->agent.port_num = port_num; in ib_register_mad_agent()
366 mad_agent_priv->agent.flags = registration_flags; in ib_register_mad_agent()
[all …]
Dsa_query.c62 struct ib_mad_agent *agent; member
400 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) { in update_sm_ah()
415 if (ib_find_pkey(port->agent->device, port->port_num, in update_sm_ah()
424 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr); in update_sm_ah()
493 struct ib_mad_agent *agent; in ib_sa_cancel_query() local
501 agent = query->port->agent; in ib_sa_cancel_query()
505 ib_cancel_mad(agent, mad_buf); in ib_sa_cancel_query()
583 query->mad_buf = ib_create_send_mad(query->port->agent, 1, in alloc_mad()
603 static void init_mad(struct ib_sa_mad *mad, struct ib_mad_agent *agent) in init_mad() argument
615 cpu_to_be64(((u64) agent->hi_tid) << 32 | tid++); in init_mad()
[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.h94 struct ib_mad_agent agent; member
113 struct ib_mad_agent agent; member
156 struct ib_mad_agent_private *agent[IB_MGMT_MAX_METHODS]; member
DMakefile16 ib_mad-y := mad.o smi.o agent.o mad_rmpp.o
/linux-4.1.27/drivers/mfd/
Dtwl4030-irq.c460 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_mask() local
462 agent->imr |= BIT(data->irq - agent->irq_base); in twl4030_sih_mask()
463 agent->imr_change_pending = true; in twl4030_sih_mask()
468 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_unmask() local
470 agent->imr &= ~BIT(data->irq - agent->irq_base); in twl4030_sih_unmask()
471 agent->imr_change_pending = true; in twl4030_sih_unmask()
476 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_set_type() local
482 agent->edge_change |= BIT(data->irq - agent->irq_base); in twl4030_sih_set_type()
489 struct sih_agent *agent = irq_data_get_irq_chip_data(data); in twl4030_sih_bus_lock() local
491 mutex_lock(&agent->irq_lock); in twl4030_sih_bus_lock()
[all …]
/linux-4.1.27/drivers/target/sbp/
Dsbp_target.c293 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_login() argument
296 struct sbp_tport *tport = agent->tport; in sbp_management_request_login()
513 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_query_logins() argument
525 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_reconnect() argument
528 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect()
584 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_logout() argument
587 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout()
704 struct sbp_target_agent *agent) in tgt_agent_rw_agent_state() argument
712 spin_lock_bh(&agent->lock); in tgt_agent_rw_agent_state()
713 state = agent->state; in tgt_agent_rw_agent_state()
[all …]
/linux-4.1.27/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 …]
DMakefile4 all: trace-agent
9 trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
13 rm -f *.o trace-agent
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_mad.c167 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local
171 if (agent) { in forward_trap()
172 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap()
278 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
286 struct ib_mad_agent *agent; in mthca_create_agents() local
294 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mthca_create_agents()
298 if (IS_ERR(agent)) { in mthca_create_agents()
299 ret = PTR_ERR(agent); in mthca_create_agents()
302 dev->send_agent[p][q] = agent; in mthca_create_agents()
328 struct ib_mad_agent *agent; in mthca_free_agents() local
[all …]
/linux-4.1.27/drivers/pci/pcie/aer/
Daerdrv_errprint.c168 int layer, agent; in aer_print_error() local
178 agent = AER_GET_AGENT(info->severity, info->status); in aer_print_error()
182 aer_error_layer[layer], id, aer_agent_string[agent]); in aer_print_error()
225 int aer_severity, layer, agent, status_strs_size, tlp_header_valid = 0; in cper_print_aer() local
245 agent = AER_GET_AGENT(aer_severity, status); in cper_print_aer()
250 aer_error_layer[layer], aer_agent_string[agent]); in cper_print_aer()
/linux-4.1.27/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-4.1.27/Documentation/networking/
Dnetconsole.txt33 tgt-port port for logging agent (6666)
34 tgt-ip IP address for logging agent
35 tgt-macaddr ethernet MAC address for logging agent (broadcast)
112 remote_port Remote agent's UDP port (read-write)
114 remote_ip Remote agent's IP address (read-write)
116 remote_mac Remote agent's MAC address (read-write)
150 TIP: in case the remote logging agent is on a separate LAN subnet than
160 NOTE: if you find that the remote logging agent is not receiving or
Dregulatory.txt23 a userspace agent build it and send it via nl80211. Only
26 A currently available userspace agent which can accomplish this
27 is CRDA - central regulatory domain agent. Its documented here:
Dcxgb.txt261 this does not work for network devices because the net.agent script
262 does not use the blacklist file. Simply remove, or rename, the net.agent
DREADME.ipw2200428 files under /lib/firmware (or wherever your hotplug's firmware.agent
/linux-4.1.27/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;
/linux-4.1.27/Documentation/infiniband/
Duser_mad.txt12 A MAD agent can be created by filling in a struct ib_user_mad_reg_req
23 perror("agent register");
80 MADs are sent using write(). The agent ID for sending should be
91 mad->hdr.id = my_agent; /* req.id from agent registration */
/linux-4.1.27/drivers/net/wireless/iwlegacy/
DKconfig28 look in the hotplug script /etc/hotplug/firmware.agent to
54 look in the hotplug script /etc/hotplug/firmware.agent to
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_mad.c67 struct ib_mad_agent *agent; in qib_send_trap() local
73 agent = ibp->send_agent; in qib_send_trap()
74 if (!agent) in qib_send_trap()
85 send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR, in qib_send_trap()
2437 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
2470 struct ib_mad_agent *agent; in qib_create_agents() local
2477 agent = ib_register_mad_agent(&dev->ibdev, p + 1, IB_QPT_SMI, in qib_create_agents()
2480 if (IS_ERR(agent)) { in qib_create_agents()
2481 ret = PTR_ERR(agent); in qib_create_agents()
2494 ibp->send_agent = agent; in qib_create_agents()
[all …]
Dqib_iba7322.c5495 struct ib_mad_agent *agent; in try_7322_ipg() local
5500 agent = ibp->send_agent; in try_7322_ipg()
5501 if (!agent) in try_7322_ipg()
5504 send_buf = ib_create_send_mad(agent, 0, 0, 0, IB_MGMT_MAD_HDR, in try_7322_ipg()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmad.c363 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local
367 if (agent) { in forward_trap()
368 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap()
884 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
894 struct ib_mad_agent *agent; in mlx4_ib_mad_init() local
903 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mlx4_ib_mad_init()
907 if (IS_ERR(agent)) { in mlx4_ib_mad_init()
908 ret = PTR_ERR(agent); in mlx4_ib_mad_init()
911 dev->send_agent[p][q] = agent; in mlx4_ib_mad_init()
930 struct ib_mad_agent *agent; in mlx4_ib_mad_cleanup() local
[all …]
Dmcg.c228 struct ib_mad_agent *agent = dev->send_agent[ctx->port - 1][1]; in send_mad_to_slave() local
233 if (!agent) in send_mad_to_slave()
/linux-4.1.27/Documentation/acpi/apei/
Doutput_format.txt98 aer_layer=<aer layer string>, aer_agent=<aer agent string>
124 <aer agent string> :=
/linux-4.1.27/Documentation/security/
DYama.txt19 attach to other running processes (e.g. Firefox, SSH sessions, GPG agent,
31 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
/linux-4.1.27/Documentation/
Dcpu-hotplug.txt427 event can be used to invoke an agent script to perform the configuration task.
429 You can add /etc/hotplug/cpu.agent to handle hotplug notification user space
433 # $Id: cpu.agent
443 echo `date` ":cpu.agent" add cpu >> /tmp/hotplug.txt
446 echo `date` ":cpu.agent" remove cpu >>/tmp/hotplug.txt
Dapplying-patches.txt173 agent along the way somewhere, e.g., by splitting a long line into two lines.
/linux-4.1.27/include/rdma/
Dib_mad.h678 int ib_mad_kernel_rmpp_agent(struct ib_mad_agent *agent);
/linux-4.1.27/Documentation/misc-devices/mei/
Dmei.txt168 agent that runs on the host.
175 An open source Intel AMT configuration utility, implementing a local agent
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-devices-memory18 This is useful for a user-level agent to determine
/linux-4.1.27/Documentation/filesystems/
Dmandatory-locking.txt37 troublesome) is access to a user's mailbox. The mail user agent and the mail
38 transfer agent must guard against updating the mailbox at the same time, and
/linux-4.1.27/Documentation/rapidio/
Drapidio.txt154 routine depending on the configured role of a master port: host or agent.
294 each agent waits for enumeration completion by the host for the configured wait
296 an agent skips RapidIO discovery and continues with remaining kernel
Dsysfs.txt18 RapidIO network with one switch, one host, and two agent endpoints, as it is
/linux-4.1.27/Documentation/x86/x86_64/
Dboot-options.txt30 there is an agent checking/clearing corrected errors
32 with OS's error handling, and you cannot deactivate the agent,
/linux-4.1.27/drivers/net/wireless/iwlwifi/
DKconfig35 look in the hotplug script /etc/hotplug/firmware.agent to
/linux-4.1.27/Documentation/usb/
Dhotplug.txt77 Currently available policy agent implementations can load drivers for
Dpower-management.txt120 agent outside the USB stack: system suspend/resume (triggered by
/linux-4.1.27/Documentation/PCI/
Dpcieaer-howto.txt115 the error reporting agent's requestor ID into the Error Source
/linux-4.1.27/Documentation/cgroups/
Dcgroups.txt241 - notify_on_release flag: run the release agent on exit?
/linux-4.1.27/Documentation/sysctl/
Dkernel.txt299 Path for the hotplug policy agent.
/linux-4.1.27/arch/arm/
DKconfig1173 mechanism and therefore a livelock may occur if an external agent