Home
last modified time | relevance | path

Searched refs:fwd (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-aggregator.c309 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_get_direction() local
311 return gpiod_get_direction(fwd->descs[offset]); in gpio_fwd_get_direction()
316 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_direction_input() local
318 return gpiod_direction_input(fwd->descs[offset]); in gpio_fwd_direction_input()
324 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_direction_output() local
326 return gpiod_direction_output(fwd->descs[offset], value); in gpio_fwd_direction_output()
331 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_get() local
333 return chip->can_sleep ? gpiod_get_value_cansleep(fwd->descs[offset]) in gpio_fwd_get()
334 : gpiod_get_value(fwd->descs[offset]); in gpio_fwd_get()
337 static int gpio_fwd_get_multiple(struct gpiochip_fwd *fwd, unsigned long *mask, in gpio_fwd_get_multiple() argument
[all …]
/kernel/linux/linux-5.10/net/x25/
Dx25_forward.c134 struct x25_forward *fwd, *tmp; in x25_clear_forward_by_lci() local
138 list_for_each_entry_safe(fwd, tmp, &x25_forward_list, node) { in x25_clear_forward_by_lci()
139 if (fwd->lci == lci) { in x25_clear_forward_by_lci()
140 list_del(&fwd->node); in x25_clear_forward_by_lci()
141 kfree(fwd); in x25_clear_forward_by_lci()
150 struct x25_forward *fwd, *tmp; in x25_clear_forward_by_dev() local
154 list_for_each_entry_safe(fwd, tmp, &x25_forward_list, node) { in x25_clear_forward_by_dev()
155 if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ in x25_clear_forward_by_dev()
156 list_del(&fwd->node); in x25_clear_forward_by_dev()
157 kfree(fwd); in x25_clear_forward_by_dev()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dxfrm_policy.sh41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
76 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
79 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
82 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block
108 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block
113 …cy add src 10.253.1.$((RANDOM%255))/$p dst 10.254.1.$((RANDOM%255))/$p dir fwd priority $((200+k))…
130 ip -net $ns xfrm policy get src $rnet dst $lnet dir fwd > /dev/null
166 … echo netns exec $ns ip xfrm policy add src 10.$i.$j.0/24 dst 10.$i.1.0/24 dir fwd action block
177 … echo netns exec $ns ip xfrm policy add src dead:$i:$j::/64 dst dead:$i::/24 dir fwd action block
/kernel/linux/linux-5.10/net/ax25/
Dax25_dev.c144 int ax25_fwd_ioctl(unsigned int cmd, struct ax25_fwd_struct *fwd) in ax25_fwd_ioctl() argument
148 if ((ax25_dev = ax25_addr_ax25dev(&fwd->port_from)) == NULL) in ax25_fwd_ioctl()
153 fwd_dev = ax25_addr_ax25dev(&fwd->port_to); in ax25_fwd_ioctl()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_imap.c850 int back, fwd; in diFree() local
953 if ((fwd = imap->im_agctl[agno].inofree) >= 0) { in diFree()
957 if ((rc = diIAGRead(imap, fwd, &amp))) { in diFree()
1025 fwd = back = -1; in diFree()
1037 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diFree()
1038 if ((rc = diIAGRead(imap, fwd, &amp))) in diFree()
1054 if ((fwd = le32_to_cpu(iagp->extfreefwd)) >= 0) { in diFree()
1055 if ((rc = diIAGRead(imap, fwd, &amp))) in diFree()
1085 if (inofreefwd == fwd) in diFree()
1099 if (inofreeback == fwd) in diFree()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dip6_forward_instats_vrf.sh149 ip xfrm policy add dst 2001:1:2::2/128 dir fwd action block
152 ip xfrm policy del dst 2001:1:2::2/128 dir fwd
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dbrcm,bcm7120-l2-intc.txt71 - brcm,int-fwd-mask: if present, a bit mask to configure the interrupts which
87 brcm,int-fwd-mask = <0x7>;
Dbrcm,bcm7038-l1-intc.txt41 - brcm,int-fwd-mask: if present, a bit mask to indicate which interrupts
/kernel/linux/linux-5.10/include/net/
Dip_vs.h1544 char fwd; in ip_vs_fwd_tag() local
1548 fwd = 'M'; break; in ip_vs_fwd_tag()
1550 fwd = 'L'; break; in ip_vs_fwd_tag()
1552 fwd = 'T'; break; in ip_vs_fwd_tag()
1554 fwd = 'R'; break; in ip_vs_fwd_tag()
1556 fwd = 'B'; break; in ip_vs_fwd_tag()
1558 fwd = '?'; break; in ip_vs_fwd_tag()
1560 return fwd; in ip_vs_fwd_tag()
/kernel/linux/linux-5.10/scripts/
Dbpf_helpers_doc.py511 for fwd in self.type_fwds:
512 print('%s;' % fwd)
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dbcm7445.dtsi108 brcm,int-fwd-mask = <0x70000>;
121 brcm,int-fwd-mask = <0x0>;
Dam3517-evm-ui.dtsi91 fwd {
/kernel/linux/linux-5.10/arch/mips/boot/dts/brcm/
Dbcm7358.dtsi90 brcm,int-fwd-mask = <0x70000>;
105 brcm,int-fwd-mask = <0>;
Dbcm7362.dtsi96 brcm,int-fwd-mask = <0x70000>;
111 brcm,int-fwd-mask = <0>;
Dbcm7360.dtsi90 brcm,int-fwd-mask = <0x70000>;
105 brcm,int-fwd-mask = <0>;
Dbcm7346.dtsi96 brcm,int-fwd-mask = <0x70000>;
111 brcm,int-fwd-mask = <0>;
Dbcm7435.dtsi113 brcm,int-fwd-mask = <0x70000>;
128 brcm,int-fwd-mask = <0>;
Dbcm7425.dtsi98 brcm,int-fwd-mask = <0x70000>;
113 brcm,int-fwd-mask = <0>;
Dbcm7125.dtsi96 brcm,int-fwd-mask = <0x70000>;
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c609 bool push, bool pop, bool fwd) in esw_add_vlan_action_check() argument
613 if ((push || pop) && !fwd) in esw_add_vlan_action_check()
626 if (!push && !pop && fwd) in esw_add_vlan_action_check()
648 bool push, pop, fwd; in mlx5_eswitch_add_vlan_action() local
657 fwd = !!((attr->action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) && in mlx5_eswitch_add_vlan_action()
662 err = esw_add_vlan_action_check(esw_attr, push, pop, fwd); in mlx5_eswitch_add_vlan_action()
670 if (!push && !pop && fwd) { in mlx5_eswitch_add_vlan_action()
717 bool push, pop, fwd; in mlx5_eswitch_del_vlan_action() local
729 fwd = !!(attr->action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST); in mlx5_eswitch_del_vlan_action()
735 if (!push && !pop && fwd) { in mlx5_eswitch_del_vlan_action()
/kernel/linux/linux-5.10/include/linux/
Dfilter.h946 static inline int xdp_ok_fwd_dev(const struct net_device *fwd, in xdp_ok_fwd_dev() argument
951 if (unlikely(!(fwd->flags & IFF_UP))) in xdp_ok_fwd_dev()
954 len = fwd->mtu + fwd->hard_header_len + VLAN_HLEN; in xdp_ok_fwd_dev()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e.h417 struct i40e_fwd_adapter *fwd; member
425 return !!ch->fwd; in i40e_is_channel_macvlan()
431 return ch->fwd->netdev->dev_addr; in i40e_channel_mac()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1355 struct actions_fwd *fwd; in enetc_config_clsflower() local
1367 fwd = enetc_check_flow_actions(actions, dissector->used_keys); in enetc_config_clsflower()
1368 if (!fwd) { in enetc_config_clsflower()
1373 if (fwd->output & FILTER_ACTION_TYPE_PSFP) { in enetc_config_clsflower()
/kernel/linux/linux-5.10/net/core/
Dfilter.c3935 static int __bpf_tx_xdp_map(struct net_device *dev_rx, void *fwd, in __bpf_tx_xdp_map() argument
3941 return dev_map_enqueue(fwd, xdp, dev_rx); in __bpf_tx_xdp_map()
3943 return cpu_map_enqueue(fwd, xdp, dev_rx); in __bpf_tx_xdp_map()
3945 return __xsk_map_redirect(fwd, xdp); in __bpf_tx_xdp_map()
3999 void *fwd = ri->tgt_value; in xdp_do_redirect() local
4007 fwd = dev_get_by_index_rcu(dev_net(dev), index); in xdp_do_redirect()
4008 if (unlikely(!fwd)) { in xdp_do_redirect()
4013 err = dev_xdp_enqueue(fwd, xdp, dev); in xdp_do_redirect()
4015 err = __bpf_tx_xdp_map(dev, fwd, map, xdp); in xdp_do_redirect()
4021 _trace_xdp_redirect_map(dev, xdp_prog, fwd, map, index); in xdp_do_redirect()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dxfrm.h528 __u8 fwd; member

12