Searched refs:act (Results 201 - 225 of 302) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c315 u32 act; local
318 act = bpf_prog_run_xdp(prog, xdp);
319 switch (act) {
337 bpf_warn_invalid_xdp_action(rq->netdev, prog, act);
341 trace_xdp_exception(rq->netdev, prog, act);
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.c414 u32 act = XDP_ABORTED; local
432 act = bpf_prog_run_xdp(prog, xdp);
433 switch (act) {
471 trace_xdp_exception(aq_nic->ndev, prog, act);
472 bpf_warn_invalid_xdp_action(aq_nic->ndev, prog, act);
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_misc.c59 u32 link, u32 port, u32 act)
69 obj_args[2].integer.value = act;
78 dev_warn(mac_cb->dev, "ledctrl fail, link:%d port:%d act:%d!\n",
79 link, port, act);
58 hns_dsaf_acpi_ledctrl_by_port(struct hns_mac_cb *mac_cb, u8 op_type, u32 link, u32 port, u32 act) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.c8 #include "en/tc/act/sample.h"
68 struct mlx5_flow_act act = {}; local
94 act.action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST;
97 tc_psample->termtbl_rule = mlx5_add_flow_rules(tc_psample->termtbl, NULL, &act, &dest, 1);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gfx_v10_3.c463 uint32_t act; local
468 act = RREG32_SOC15(GC, 0, mmCP_HQD_ACTIVE);
469 if (act) {
H A Damdgpu_amdkfd_gfx_v8.c356 uint32_t act; local
361 act = RREG32(mmCP_HQD_ACTIVE);
362 if (act) {
/linux-master/drivers/media/platform/aspeed/
H A Daspeed-video.c1131 struct v4l2_bt_timings *act = &video->active_timings; local
1132 unsigned int size = act->width * ALIGN(act->height, 8);
1137 if (!IS_ALIGNED(act->width, 64)) {
1146 u32 width = ALIGN(act->width, 64);
1148 aspeed_video_write(video, VE_CAP_WINDOW, width << 16 | act->height);
1149 size = width * ALIGN(act->height, 8);
1152 act->width << 16 | act->height);
1155 act
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/
H A Ddp.c1010 int act; local
1017 act = bpf_prog_run_xdp(xdp_prog, &xdp);
1022 switch (act) {
1035 xdp_prog, act);
1038 bpf_warn_invalid_xdp_action(dp->netdev, xdp_prog, act);
1041 trace_xdp_exception(dp->netdev, xdp_prog, act);
/linux-master/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c611 int sigaction32(int signum, const struct sigaction *restrict act, argument
616 register long act_reg asm("ecx") = (long)act;
/linux-master/tools/testing/vsock/
H A Dutil.c28 struct sigaction act = { local
32 sigaction(SIGALRM, &act, NULL);
H A Dvsock_test.c1105 struct sigaction act = { local
1109 sigaction(SIGPIPE, &act, NULL);
1148 struct sigaction act = { local
1152 sigaction(SIGPIPE, &act, NULL);
/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_main.c1285 u32 act; local
1289 act = bpf_prog_run_xdp(prog, xdp);
1290 switch (act) {
1304 bpf_warn_invalid_xdp_action(rx->adapter->netdev, prog, act);
1308 trace_xdp_exception(rx->adapter->netdev, prog, act);
1328 u32 act; local
1330 act = bpf_prog_run_xdp(prog, xdp);
1333 if (likely(act == XDP_REDIRECT)) {
1340 switch (act) {
1349 bpf_warn_invalid_xdp_action(rx->adapter->netdev, prog, act);
[all...]
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.h119 u32 act; member in struct:mvpp2_cls_c2_entry
/linux-master/include/linux/
H A Dhp_sdc.h65 int actidx; /* Start of act. Acts are atomic WRT I/O to SDC */
66 int idx; /* Index within the act */
72 } act; member in struct:__anon1
80 * act to perform the dealloc.
H A Dptrace.h402 extern void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_features.c227 const struct bpf_prog *xdp, __u32 act)
226 BPF_PROG(xdp_exception, const struct net_device *dev, const struct bpf_prog *xdp, __u32 act) argument
/linux-master/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_client.h281 vcap_find_actionfield(struct vcap_rule *rule, enum vcap_action_field act);
/linux-master/drivers/net/phy/
H A Dbcm-phy-ptp.c39 #define RX_MODE_SEL(sel, evt, act) \
40 (((MODE_RX_##act) << (MODE_EVT_SHIFT_##evt)) << (MODE_SEL_SHIFT_##sel))
42 #define TX_MODE_SEL(sel, evt, act) \
43 (((MODE_TX_##act) << (MODE_EVT_SHIFT_##evt)) << (MODE_SEL_SHIFT_##sel))
/linux-master/net/sched/
H A Dact_simple.c206 .act = tcf_simp_act,
/linux-master/drivers/scsi/device_handler/
H A Dscsi_dh_rdac.c629 int act = 0; local
638 act = 1;
643 act = 1;
649 if (act) {
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c1132 struct nfp_fl_act_head *act; local
1271 act = (struct nfp_fl_act_head *)&flow->action_data[act_offset];
1273 if (act->jump_id != NFP_FL_ACTION_OPCODE_POP_VLAN) {
1278 act_offset += act->len_lw << NFP_FL_LW_SIZ;
1279 act = (struct nfp_fl_act_head *)&flow->action_data[act_offset];
1282 if (act->jump_id != NFP_FL_ACTION_OPCODE_OUTPUT) {
1287 act_offset += act->len_lw << NFP_FL_LW_SIZ;
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c327 if (desc_info->act == XDP_TX)
335 if (desc_info->act == XDP_TX)
340 if (desc_info->act == XDP_REDIRECT)
345 desc_info->act = 0;
349 enum xdp_action act, struct page *page, int off,
375 desc_info->act = act;
348 ionic_xdp_post_frame(struct ionic_queue *q, struct xdp_frame *frame, enum xdp_action act, struct page *page, int off, bool ring_doorbell) argument
/linux-master/drivers/net/
H A Dtun.c1620 struct xdp_buff *xdp, u32 act)
1624 switch (act) {
1644 bpf_warn_invalid_xdp_action(tun->dev, xdp_prog, act);
1647 trace_xdp_exception(tun->dev, xdp_prog, act);
1654 return act;
1706 u32 act; local
1711 act = bpf_prog_run_xdp(xdp_prog, &xdp);
1712 if (act == XDP_REDIRECT || act == XDP_TX) {
1716 err = tun_xdp_act(tun, xdp_prog, &xdp, act);
1619 tun_xdp_act(struct tun_struct *tun, struct bpf_prog *xdp_prog, struct xdp_buff *xdp, u32 act) argument
2448 u32 rxhash = 0, act; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c1995 struct flow_action_entry *act; local
2018 act = &f->rule->action.entries[0];
2019 if (!(act->hw_stats & FLOW_ACTION_HW_STATS_DISABLED)) {
2029 if (act->id == FLOW_ACTION_MIRRED) {
2031 mall_entry->mirror.to_dev = act->dev;
2032 } else if (act->id == FLOW_ACTION_TRAP) {
/linux-master/drivers/net/ethernet/netronome/nfp/nfdk/
H A Ddp.c1129 int act; local
1136 act = bpf_prog_run_xdp(xdp_prog, &xdp);
1141 switch (act) {
1154 xdp_prog, act);
1157 bpf_warn_invalid_xdp_action(dp->netdev, xdp_prog, act);
1160 trace_xdp_exception(dp->netdev, xdp_prog, act);

Completed in 292 milliseconds

1234567891011>>