Home
last modified time | relevance | path

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

123

/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/md/dm-vdo/
H A Ddedupe.c262 struct data_vio *agent; member
400 VDO_ASSERT_LOG_ONLY(data_vio == data_vio->hash_lock->agent, in assert_hash_lock_agent()
480 static void start_deduping(struct hash_lock *lock, struct data_vio *agent,
482 static void start_locking(struct hash_lock *lock, struct data_vio *agent);
483 static void start_writing(struct hash_lock *lock, struct data_vio *agent);
525 struct data_vio *old_agent = lock->agent; in retire_lock_agent()
528 lock->agent = new_agent; in retire_lock_agent()
548 if ((lock->state != VDO_HASH_LOCK_WRITING) || !cancel_data_vio_compression(lock->agent)) in wait_on_hash_lock()
558 data_vio->compression.lock_holder = lock->agent; in wait_on_hash_lock()
581 static void start_bypassing(struct hash_lock *lock, struct data_vio *agent) in start_bypassing() argument
[all …]
H A Dpacker.c277 struct data_vio *agent = as_data_vio(completion); in finish_compressed_write() local
280 assert_data_vio_in_allocated_zone(agent); in finish_compressed_write()
286 for (client = agent->compression.next_in_batch; client != NULL; client = next) { in finish_compressed_write()
288 release_compressed_write_waiter(client, &agent->allocation); in finish_compressed_write()
292 release_compressed_write_waiter(agent, &agent->allocation); in finish_compressed_write()
297 struct data_vio *agent = as_data_vio(completion); in handle_compressed_write_error() local
298 struct allocation *allocation = &agent->allocation; in handle_compressed_write_error()
308 for (client = agent->compression.next_in_batch; client != NULL; client = next) { in handle_compressed_write_error()
316 write_data_vio(agent); in handle_compressed_write_error()
431 struct data_vio *agent = remove_from_bin(packer, bin); in write_bin() local
[all …]
/linux/drivers/target/sbp/
H A Dsbp_target.c258 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_login() argument
261 struct sbp_tport *tport = agent->tport; in sbp_management_request_login()
477 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_query_logins() argument
489 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_reconnect() argument
492 struct sbp_tport *tport = agent->tport; in sbp_management_request_reconnect()
548 struct sbp_management_agent *agent, struct sbp_management_request *req, in sbp_management_request_logout() argument
551 struct sbp_tport *tport = agent->tport; in sbp_management_request_logout()
668 struct sbp_target_agent *agent) in tgt_agent_rw_agent_state() argument
676 spin_lock_bh(&agent->lock); in tgt_agent_rw_agent_state()
677 state = agent->state; in tgt_agent_rw_agent_state()
[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/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
/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 …]
/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 …]
/linux/drivers/infiniband/core/
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 …]
H A 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);
/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 …]
/linux/security/yama/
H A Dyama_lsm.c49 struct task_struct *agent; member
59 agent_cmd = kstrdup_quotable_cmdline(info->agent, GFP_KERNEL); in __report_access()
64 info->agent->pid); in __report_access()
69 put_task_struct(info->agent); in __report_access()
76 struct task_struct *agent) in report_access() argument
88 access, target->comm, target->pid, agent->comm, agent->pid); in report_access()
97 get_task_struct(agent); in report_access()
100 info->agent = agent; in report_access()
106 put_task_struct(agent); in report_access()
/linux/Documentation/firmware-guide/acpi/
H A Dintel-pmc-mux.rst13 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
114 The following ASL is an example that shows the mux-agent node, and two
/linux/tools/perf/jvmti/
H A 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,
H A Djvmti_agent.c331 jvmti_close(void *agent) in jvmti_close() argument
334 FILE *fp = agent; in jvmti_close()
359 jvmti_write_code(void *agent, char const *sym, in jvmti_write_code() argument
365 FILE *fp = agent; in jvmti_write_code()
417 jvmti_write_debug_info(void *agent, uint64_t code, in jvmti_write_debug_info() argument
424 FILE *fp = agent; in jvmti_write_debug_info()
/linux/Documentation/admin-guide/perf/
H A Dxgene-pmu.rst19 config1 (agent ID) fields of the perf_event_attr structure. The "events"
24 Most of the SoC PMU has a specific list of agent ID used for monitoring
28 the bit number corresponding to the agent is set, the event is counted only if
29 it is caused by a request from that agent. Each agent ID bit is inversely mapped
31 counted for all agent requests (config1 = 0x0). For all the supported agents of
/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/arm/omap/
H A 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/arch/mips/dec/
H A Dkn02xa-berr.c53 const char *kind, *agent, *cycle, *event; in dec_kn02xa_be_backend() local
66 agent = cpustr; in dec_kn02xa_be_backend()
84 kind, agent, cycle, event, address); in dec_kn02xa_be_backend()
H A Dkn01-berr.c81 const char *kind, *agent, *cycle, *event; in dec_kn01_be_backend() local
92 agent = cpustr; in dec_kn01_be_backend()
138 kind, agent, cycle, event, address); in dec_kn01_be_backend()
H A Decc-berr.c54 const char *kind, *agent, *cycle, *event; in dec_ecc_be_backend() local
77 agent = (erraddr & KN0X_EAR_CPU) ? cpustr : dmastr; in dec_ecc_be_backend()
185 kind, agent, cycle, event, address); in dec_ecc_be_backend()
/linux/Documentation/translations/zh_CN/process/
H A Dmaintainer-pgp-guide.rst68 配置 gpg-agent 选项
71 GnuPG agent是一个辅助工具,每当你使用该命令时,它都会自动启动gpg,并在
80 如果你发现这些默认值太短(或太长),你可以编辑 ``~/.gnupg/gpg-agent.conf``
89 不需要在 shell 会话开始时手动启动 gpg-agent。你可能需要检查
547 通过 ssh 使用 gpg-agent
551 gpg-agent
666 确保 ``gpg-agent`` 在打开此功能之前进行配置。

123