Home
last modified time | relevance | path

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

123456789

/openbmc/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
/openbmc/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.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 …]
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 Duser_mad.c123 struct ib_mad_agent *agent[IB_UMAD_MAX_AGENTS]; member
183 return file->agents_dead ? NULL : file->agent[id]; in __get_agent()
186 static int queue_packet(struct ib_umad_file *file, struct ib_mad_agent *agent, in queue_packet() argument
200 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet()
221 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
224 struct ib_umad_file *file = agent->context; in send_handler()
234 if (!queue_packet(file, agent, packet, false)) in send_handler()
240 static void recv_handler(struct ib_mad_agent *agent, in recv_handler() argument
244 struct ib_umad_file *file = agent->context; in recv_handler()
264 if (rdma_cap_opa_mad(agent->device, agent->port_num)) in recv_handler()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/openthread/ot-br-posix/
H A D0001-otbr-agent.service.in-remove-pre-exec-hook-for-mdns-.patch4 Subject: [PATCH] otbr-agent.service.in: remove pre exec hook for mdns service
17 src/agent/otbr-agent.service.in | 2 +-
20 diff --git a/src/agent/otbr-agent.service.in b/src/agent/otbr-agent.service.in
22 --- a/src/agent/otbr-agent.service.in
23 +++ b/src/agent/otbr-agent.service.in
27 EnvironmentFile=-@CMAKE_INSTALL_FULL_SYSCONFDIR@/default/otbr-agent
28 -@EXEC_START_PRE@ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS
29 +ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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
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()
109 struct ib_mad_agent *agent; in rvt_free_mad_agents() local
116 agent = rvp->send_agent; in rvt_free_mad_agents()
[all …]
/openbmc/linux/tools/virtio/virtio-trace/
H A 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 …]
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
/openbmc/linux/drivers/firmware/arm_scmi/
H A Doptee.c156 static int open_session(struct scmi_optee_agent *agent, u32 *tee_session) in open_session() argument
158 struct device *dev = agent->dev; in open_session()
166 ret = tee_client_open_session(agent->tee_ctx, &arg, NULL); in open_session()
177 static void close_session(struct scmi_optee_agent *agent, u32 tee_session) in close_session() argument
179 tee_client_close_session(agent->tee_ctx, tee_session); in close_session()
182 static int get_capabilities(struct scmi_optee_agent *agent) in get_capabilities() argument
190 ret = open_session(agent, &tee_session); in get_capabilities()
200 ret = tee_client_invoke_func(agent->tee_ctx, &arg, param); in get_capabilities()
202 close_session(agent, tee_session); in get_capabilities()
205 dev_err(agent->dev, "Can't get capabilities: %d / %#x\n", ret, arg.ret); in get_capabilities()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/tcf-agent/
H A Dtcf-agent_git.bb13 SRC_URI = "git://git.eclipse.org/r/tcf/org.eclipse.tcf.agent.git;protocol=https;branch=master \
15 file://tcf-agent.init \
16 file://tcf-agent.service \
22 S = "${WORKDIR}/git/agent"
26 SYSTEMD_SERVICE:${PN} = "tcf-agent.service"
28 INITSCRIPT_NAME = "tcf-agent"
57 install -m 0755 ${UNPACKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent
59 install -m 0644 ${UNPACKDIR}/tcf-agent.service ${D}${systemd_system_unitdir}
60 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/tcf-agent.service
/openbmc/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;
144 __entry->dev_index = wr->mad_agent_priv->agent.device->index;
145 __entry->port_num = wr->mad_agent_priv->agent.port_num;
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;
261 __entry->hi_tid = agent->agent.hi_tid;
263 if (agent->reg_req) {
[all …]
/openbmc/openbmc/poky/meta/recipes-support/gnupg/gnupg/
H A D0001-configure.ac-use-a-custom-value-for-the-location-of-.patch5 gpg-agent socket in the filesystem
7 This should avoid clashes with the host gpg-agent observed on autobuilders.
23 -AC_DEFINE_UNQUOTED(GPG_AGENT_SOCK_NAME, "S.gpg-agent",
24 +AC_DEFINE_UNQUOTED(GPG_AGENT_SOCK_NAME, "S.gpg-agent.yocto-native",
25 [The name of the agent socket])
26 AC_DEFINE_UNQUOTED(GPG_AGENT_EXTRA_SOCK_NAME, "S.gpg-agent.extra",
27 [The name of the agent socket for remote access])
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gnome-keyring/
H A Dgnome-keyring_46.2.bb27 file://0001-Set-paths-to-ssh-agent-and-ssh-add-by-configure-opti.patch \
31 PACKAGECONFIG ??= "ssh-agent"
32 …ECONFIG[ssh-agent] = "--enable-ssh-agent --with-ssh-agent-path=${bindir}/ssh-agent --with-ssh-add-…
/openbmc/linux/security/yama/
H A Dyama_lsm.c48 struct task_struct *agent; member
58 agent_cmd = kstrdup_quotable_cmdline(info->agent, GFP_KERNEL); in __report_access()
63 info->agent->pid); in __report_access()
68 put_task_struct(info->agent); in __report_access()
75 struct task_struct *agent) in report_access() argument
78 char agent_comm[sizeof(agent->comm)]; in report_access()
89 get_task_comm(agent_comm, agent), agent->pid); in report_access()
98 get_task_struct(agent); in report_access()
101 info->agent = agent; in report_access()
107 put_task_struct(agent); in report_access()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c170 struct ib_mad_agent *agent = dev->send_agent[port_num - 1][qpn]; in forward_trap() local
174 if (agent) { in forward_trap()
175 send_buf = ib_create_send_mad(agent, qpn, 0, 0, IB_MGMT_MAD_HDR, in forward_trap()
277 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
285 struct ib_mad_agent *agent; in mthca_create_agents() local
293 agent = ib_register_mad_agent(&dev->ib_dev, p + 1, in mthca_create_agents()
297 if (IS_ERR(agent)) { in mthca_create_agents()
298 ret = PTR_ERR(agent); in mthca_create_agents()
301 dev->send_agent[p][q] = agent; in mthca_create_agents()
327 struct ib_mad_agent *agent; in mthca_free_agents() local
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/pcmciautils/pcmciautils/
H A Dmakefile_fix.patch37 - $(INSTALL_PROGRAM) -D hotplug/pcmcia.agent $(DESTDIR)$(hotplugdir)/pcmcia.agent
39 + $(INSTALL_PROGRAM) hotplug/pcmcia.agent $(DESTDIR)$(hotplugdir)/pcmcia.agent
43 - rm -f $(DESTDIR)$(hotplugdir)/pcmcia.agent $(DESTDIR)$(hotplugdir)/pcmcia.rc
46 - $(INSTALL_PROGRAM) -D hotplug/pcmcia_socket.agent $(DESTDIR)$(hotplugdir)/pcmcia_socket.agent
48 + $(INSTALL_PROGRAM) hotplug/pcmcia_socket.agent $(DESTDIR)$(hotplugdir)/pcmcia_socket.agent
52 - rm -f $(DESTDIR)$(hotplugdir)/pcmcia_socket.agent $(DESTDIR)$(hotplugdir)/pcmcia_socket.rc
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/net-snmp/net-snmp/
H A D0006-get_pid_from_inode-Include-limit.h.patch12 agent/mibgroup/util_funcs/get_pid_from_inode.c | 1 +
15 diff --git a/agent/mibgroup/util_funcs/get_pid_from_inode.c b/agent/mibgroup/util_funcs/get_pid_fro…
17 --- a/agent/mibgroup/util_funcs/get_pid_from_inode.c
18 +++ b/agent/mibgroup/util_funcs/get_pid_from_inode.c
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/
H A Dqemu.inc37 file://qemu-guest-agent.init \
38 file://qemu-guest-agent.udev \
142 # If we built the guest agent, also install startup/udev rules
145 install -m 0755 ${UNPACKDIR}/qemu-guest-agent.init ${D}${sysconfdir}/init.d/qemu-guest-agent
146 sed -i 's:@bindir@:${bindir}:' ${D}${sysconfdir}/init.d/qemu-guest-agent
149 …install -m 0644 ${UNPACKDIR}/qemu-guest-agent.udev ${D}${sysconfdir}/udev/rules.d/60-qemu-guest-ag…
152 install -m 0644 ${S}/contrib/systemd/qemu-guest-agent.service ${D}${systemd_unitdir}/system
153 sed -i -e 's,-/usr/bin/,-${bindir}/,g' ${D}${systemd_unitdir}/system/qemu-guest-agent.service
254 # Put the guest agent in a separate package
255 PACKAGES =+ "${PN}-guest-agent"
[all …]
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/
H A D0001-Set-paths-to-ssh-agent-and-ssh-add-by-configure-opti.patch4 Subject: [PATCH] Set paths to ssh-agent and ssh-add by configure options
27 - AC_PATH_PROG([SSH_AGENT], [ssh-agent], [no])
29 + AC_ARG_WITH([ssh-agent-path],
30 + [AC_HELP_STRING([--with-ssh-agent-path=PATH],
31 + [path to ssh-agent])],
39 AC_MSG_ERROR([the ssh-agent and ssh-add commands were not found])
/openbmc/openbmc/poky/meta/recipes-connectivity/kea/files/
H A Dfix-multilib-conflict.patch7 | file /etc/kea/kea-ctrl-agent.conf conflicts between attempted installs of
19 src/bin/keactrl/kea-ctrl-agent.conf.pre | 3 ++-
23 diff --git a/src/bin/keactrl/kea-ctrl-agent.conf.pre b/src/bin/keactrl/kea-ctrl-agent.conf.pre
25 --- a/src/bin/keactrl/kea-ctrl-agent.conf.pre
26 +++ b/src/bin/keactrl/kea-ctrl-agent.conf.pre
31 -// "library": "@libdir@/kea/hooks/control-agent-commands.so",
33 +// "library": "$libdir/kea/hooks/control-agent-commands.so",

123456789