Home
last modified time | relevance | path

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

/linux-4.4.14/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()
166 port_priv->agent[0] = ib_register_mad_agent(device, port_num, in ib_agent_port_open()
170 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open()
171 ret = PTR_ERR(port_priv->agent[0]); in ib_agent_port_open()
[all …]
Duser_mad.c114 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS]; member
159 return file->agents_dead ? NULL : file->agent[id]; in __get_agent()
163 struct ib_mad_agent *agent, in queue_packet() argument
173 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet()
193 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
196 struct ib_umad_file *file = agent->context; in send_handler()
206 if (!queue_packet(file, agent, packet)) in send_handler()
212 static void recv_handler(struct ib_mad_agent *agent, in recv_handler() argument
215 struct ib_umad_file *file = agent->context; in recv_handler()
239 ib_init_ah_from_wc(agent->device, agent->port_num, in recv_handler()
[all …]
Dmad.c352 mad_agent_priv->agent.rmpp_version = rmpp_version; in ib_register_mad_agent()
353 mad_agent_priv->agent.device = device; in ib_register_mad_agent()
354 mad_agent_priv->agent.recv_handler = recv_handler; in ib_register_mad_agent()
355 mad_agent_priv->agent.send_handler = send_handler; in ib_register_mad_agent()
356 mad_agent_priv->agent.context = context; in ib_register_mad_agent()
357 mad_agent_priv->agent.qp = port_priv->qp_info[qpn].qp; in ib_register_mad_agent()
358 mad_agent_priv->agent.port_num = port_num; in ib_register_mad_agent()
359 mad_agent_priv->agent.flags = registration_flags; in ib_register_mad_agent()
372 mad_agent_priv->agent.hi_tid = ++ib_mad_client_id; in ib_register_mad_agent()
419 return &mad_agent_priv->agent; in ib_register_mad_agent()
[all …]
Dsa_query.c71 struct ib_mad_agent *agent; member
446 memcpy(header->device_name, query->port->agent->device->name, in ib_nl_set_path_rec_attrs()
612 static void send_handler(struct ib_mad_agent *agent,
699 send_handler(query->port->agent, &mad_send_wc); in ib_nl_request_timeout()
824 send_handler(query->port->agent, &mad_send_wc); in ib_nl_handle_resolve_resp()
860 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) { in update_sm_ah()
875 if (ib_find_pkey(port->agent->device, port->port_num, in update_sm_ah()
884 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr); in update_sm_ah()
953 struct ib_mad_agent *agent; in ib_sa_cancel_query() local
961 agent = query->port->agent; in ib_sa_cancel_query()
[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
111 struct ib_mad_agent agent; member
155 struct ib_mad_agent_private *agent[IB_MGMT_MAX_METHODS]; member
DMakefile17 ib_mad-y := mad.o smi.o agent.o mad_rmpp.o
/linux-4.4.14/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-4.4.14/drivers/target/sbp/
Dsbp_target.c290 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_login() argument
293 struct sbp_tport *tport = agent->tport; in sbp_management_request_login()
509 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_query_logins() argument
521 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_reconnect() argument
524 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect()
580 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_logout() argument
583 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout()
700 struct sbp_target_agent *agent) in tgt_agent_rw_agent_state() argument
708 spin_lock_bh(&agent->lock); in tgt_agent_rw_agent_state()
709 state = agent->state; in tgt_agent_rw_agent_state()
[all …]
/linux-4.4.14/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.4.14/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()
286 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
294 struct ib_mad_agent *agent; in mthca_create_agents() local
302 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mthca_create_agents()
306 if (IS_ERR(agent)) { in mthca_create_agents()
307 ret = PTR_ERR(agent); in mthca_create_agents()
310 dev->send_agent[p][q] = agent; in mthca_create_agents()
336 struct ib_mad_agent *agent; in mthca_free_agents() local
[all …]
/linux-4.4.14/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.4.14/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.4.14/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
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.4.14/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.4.14/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.4.14/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.4.14/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()
2446 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
2479 struct ib_mad_agent *agent; in qib_create_agents() local
2486 agent = ib_register_mad_agent(&dev->ibdev, p + 1, IB_QPT_SMI, in qib_create_agents()
2489 if (IS_ERR(agent)) { in qib_create_agents()
2490 ret = PTR_ERR(agent); in qib_create_agents()
2503 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.4.14/drivers/infiniband/hw/mlx4/
Dmad.c356 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local
360 if (agent) { in forward_trap()
361 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap()
902 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
912 struct ib_mad_agent *agent; in mlx4_ib_mad_init() local
921 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mlx4_ib_mad_init()
925 if (IS_ERR(agent)) { in mlx4_ib_mad_init()
926 ret = PTR_ERR(agent); in mlx4_ib_mad_init()
929 dev->send_agent[p][q] = agent; in mlx4_ib_mad_init()
948 struct ib_mad_agent *agent; in mlx4_ib_mad_cleanup() local
[all …]
Dmcg.c232 struct ib_mad_agent *agent = dev->send_agent[ctx->port - 1][1]; in send_mad_to_slave() local
237 if (!agent) in send_mad_to_slave()
/linux-4.4.14/Documentation/security/
DYama.txt17 attach to other running processes (e.g. Firefox, SSH sessions, GPG agent,
29 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
/linux-4.4.14/Documentation/acpi/apei/
Doutput_format.txt98 aer_layer=<aer layer string>, aer_agent=<aer agent string>
124 <aer agent string> :=
/linux-4.4.14/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.4.14/drivers/staging/rdma/hfi1/
Dmad.c86 struct ib_mad_agent *agent; in send_trap() local
94 agent = ibp->send_agent; in send_trap()
95 if (!agent) in send_trap()
113 send_buf = ib_create_send_mad(agent, qpn, pkey_idx, 0, in send_trap()
4196 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
4205 struct ib_mad_agent *agent; in hfi1_create_agents() local
4212 agent = ib_register_mad_agent(&dev->ibdev, p + 1, IB_QPT_SMI, in hfi1_create_agents()
4215 if (IS_ERR(agent)) { in hfi1_create_agents()
4216 ret = PTR_ERR(agent); in hfi1_create_agents()
4220 ibp->send_agent = agent; in hfi1_create_agents()
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-devices-memory18 This is useful for a user-level agent to determine
/linux-4.4.14/include/rdma/
Dib_mad.h789 int ib_mad_kernel_rmpp_agent(const struct ib_mad_agent *agent);
/linux-4.4.14/Documentation/misc-devices/mei/
Dmei.txt211 agent that runs on the host.
218 An open source Intel AMT configuration utility, implementing a local agent
/linux-4.4.14/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.4.14/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.4.14/drivers/net/wireless/iwlwifi/
DKconfig36 look in the hotplug script /etc/hotplug/firmware.agent to
/linux-4.4.14/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.4.14/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.4.14/Documentation/PCI/
Dpcieaer-howto.txt115 the error reporting agent's requestor ID into the Error Source
/linux-4.4.14/Documentation/networking/dsa/
Ddsa.txt393 avoid relying on what a previous software agent such as a bootloader/firmware
/linux-4.4.14/Documentation/cgroups/
Dcgroups.txt241 - notify_on_release flag: run the release agent on exit?
/linux-4.4.14/Documentation/sysctl/
Dkernel.txt311 Path for the hotplug policy agent.
/linux-4.4.14/arch/arm/
DKconfig1186 mechanism and therefore a livelock may occur if an external agent