| /linux/drivers/gpio/ |
| H A D | gpio-aggregator.c | 254 #define fwd_tmp_values(fwd) (&(fwd)->tmp[0]) argument 255 #define fwd_tmp_descs(fwd) ((void *)&(fwd)->tmp[BITS_TO_LONGS((fwd)->chip.ngpio)]) argument 261 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_request() local 263 return test_bit(offset, fwd->valid_mask) ? 0 : -ENODEV; in gpio_fwd_request() 268 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_get_direction() local 274 if (!test_bit(offset, fwd->valid_mask)) in gpio_fwd_get_direction() 277 return gpiod_get_direction(fwd->descs[offset]); in gpio_fwd_get_direction() 282 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_direction_input() local 284 return gpiod_direction_input(fwd->descs[offset]); in gpio_fwd_direction_input() 290 struct gpiochip_fwd *fwd = gpiochip_get_data(chip); in gpio_fwd_direction_output() local [all …]
|
| /linux/net/x25/ |
| H A D | x25_forward.c | 130 struct x25_forward *fwd, *tmp; in x25_clear_forward_by_lci() local 134 list_for_each_entry_safe(fwd, tmp, &x25_forward_list, node) { in x25_clear_forward_by_lci() 135 if (fwd->lci == lci) { in x25_clear_forward_by_lci() 136 list_del(&fwd->node); in x25_clear_forward_by_lci() 137 kfree(fwd); in x25_clear_forward_by_lci() 146 struct x25_forward *fwd, *tmp; in x25_clear_forward_by_dev() local 150 list_for_each_entry_safe(fwd, tmp, &x25_forward_list, node) { in x25_clear_forward_by_dev() 151 if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ in x25_clear_forward_by_dev() 152 list_del(&fwd->node); in x25_clear_forward_by_dev() 153 kfree(fwd); in x25_clear_forward_by_dev()
|
| /linux/arch/arm64/kvm/ |
| H A D | handle_exit.c | 319 bool allowed, fwd = is_nested_ctxt(vcpu); in handle_other() local 342 fwd &= !(hcrx & HCRX_EL2_EnASR); in handle_other() 346 fwd &= !(hcrx & HCRX_EL2_EnAS0); in handle_other() 350 fwd &= !(hcrx & HCRX_EL2_EnALS); in handle_other() 354 fwd &= (__vcpu_sys_reg(vcpu, HFGITR2_EL2) & HFGITR2_EL2_TSBCSYNC); in handle_other() 358 fwd &= (__vcpu_sys_reg(vcpu, HFGITR_EL2) & HFGITR_EL2_PSBCSYNC); in handle_other() 366 WARN_ON_ONCE(allowed && !fwd); in handle_other() 368 if (allowed && fwd) in handle_other()
|
| /linux/tools/testing/selftests/net/ |
| H A D | xfrm_policy.sh | 40 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu… 75 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block 78 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block 81 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block 107 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block 112 …cy add src 10.253.1.$((RANDOM%255))/$p dst 10.254.1.$((RANDOM%255))/$p dir fwd priority $((200+k))… 129 ip -net $ns xfrm policy get src $rnet dst $lnet dir fwd > /dev/null 165 … echo netns exec $ns ip xfrm policy add src 10.$i.$j.0/24 dst 10.$i.1.0/24 dir fwd action block 176 … echo netns exec $ns ip xfrm policy add src dead:$i:$j::/64 dst dead:$i::/24 dir fwd action block
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptpf_mbox.c | 518 struct mbox_msghdr *fwd; in forward_to_vf() local 542 fwd = otx2_mbox_alloc_msg(vfpf_mbox, vf_id, size); in forward_to_vf() 543 if (!fwd) { in forward_to_vf() 548 memcpy((uint8_t *)fwd + sizeof(struct mbox_msghdr), in forward_to_vf() 550 fwd->id = msg->id; in forward_to_vf() 551 fwd->pcifunc = msg->pcifunc; in forward_to_vf() 552 fwd->sig = msg->sig; in forward_to_vf() 553 fwd->ver = msg->ver; in forward_to_vf() 554 fwd->rc = msg->rc; in forward_to_vf()
|
| /linux/drivers/clk/ |
| H A D | clk-apple-nco.c | 63 u16 fwd[LFSR_TBLSIZE]; member 116 tbl->fwd[i] = state; in applnco_compute_tables() 121 tbl->fwd[0] = 0; in applnco_compute_tables() 140 return FIELD_PREP(DIV_COARSE, tbl->fwd[coarse - COARSE_DIV_OFFSET]) | in applnco_div_translate()
|
| /linux/fs/jfs/ |
| H A D | jfs_imap.c | 852 int back, fwd; in diFree() local 955 if ((fwd = imap->im_agctl[agno].inofree) >= 0) { in diFree() 959 if ((rc = diIAGRead(imap, fwd, &))) { in diFree() 1027 fwd = back = -1; in diFree() 1039 if ((fwd = imap->im_agctl[agno].extfree) >= 0) { in diFree() 1040 if ((rc = diIAGRead(imap, fwd, &))) in diFree() 1056 if ((fwd = le32_to_cpu(iagp->extfreefwd)) >= 0) { in diFree() 1057 if ((rc = diIAGRead(imap, fwd, &))) in diFree() 1087 if (inofreefwd == fwd) in diFree() 1101 if (inofreeback == fwd) in diFree() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | ip6_forward_instats_vrf.sh | 151 ip xfrm policy add dst 2001:1:2::2/128 dir fwd action block 154 ip xfrm policy del dst 2001:1:2::2/128 dir fwd
|
| /linux/include/net/ |
| H A D | ip_vs.h | 1700 char fwd; in ip_vs_fwd_tag() local 1704 fwd = 'M'; break; in ip_vs_fwd_tag() 1706 fwd = 'L'; break; in ip_vs_fwd_tag() 1708 fwd = 'T'; break; in ip_vs_fwd_tag() 1710 fwd = 'R'; break; in ip_vs_fwd_tag() 1712 fwd = 'B'; break; in ip_vs_fwd_tag() 1714 fwd = '?'; break; in ip_vs_fwd_tag() 1716 return fwd; in ip_vs_fwd_tag()
|
| /linux/arch/mips/boot/dts/brcm/ |
| H A D | bcm7358.dtsi | 90 brcm,int-fwd-mask = <0x70000>; 105 brcm,int-fwd-mask = <0>;
|
| H A D | bcm7360.dtsi | 90 brcm,int-fwd-mask = <0x70000>; 105 brcm,int-fwd-mask = <0>;
|
| H A D | bcm7362.dtsi | 96 brcm,int-fwd-mask = <0x70000>; 111 brcm,int-fwd-mask = <0>;
|
| H A D | bcm7346.dtsi | 96 brcm,int-fwd-mask = <0x70000>; 111 brcm,int-fwd-mask = <0>;
|
| H A D | bcm7435.dtsi | 113 brcm,int-fwd-mask = <0x70000>; 128 brcm,int-fwd-mask = <0>;
|
| H A D | bcm7425.dtsi | 98 brcm,int-fwd-mask = <0x70000>; 113 brcm,int-fwd-mask = <0>;
|
| H A D | bcm7125.dtsi | 96 brcm,int-fwd-mask = <0x70000>;
|
| H A D | bcm7420.dtsi | 97 brcm,int-fwd-mask = <0x70000>;
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm7445.dtsi | 108 brcm,int-fwd-mask = <0x70000>; 121 brcm,int-fwd-mask = <0x0>;
|
| /linux/tools/perf/util/ |
| H A D | bpf-filter.l | 149 fwd { return constant(PERF_MEM_SNOOPX_FWD); }
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am3517-evm-ui.dtsi | 91 key-fwd {
|
| /linux/scripts/ |
| H A D | bpf_doc.py | 832 for fwd in self.type_fwds: 833 print('%s;' % fwd)
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e.h | 446 struct i40e_fwd_adapter *fwd; member 456 return !!ch->fwd; in i40e_is_channel_macvlan() 462 return ch->fwd->netdev->dev_addr; in i40e_channel_mac()
|
| H A D | i40e_main.c | 7785 clear_bit(ch->fwd->bit_no, vsi->fwd_bitmask); in i40e_free_macvlan_channels() 7786 netdev_unbind_sb_channel(vsi->netdev, ch->fwd->netdev); in i40e_free_macvlan_channels() 7787 netdev_set_sb_channel(ch->fwd->netdev, 0); in i40e_free_macvlan_channels() 7788 kfree(ch->fwd); in i40e_free_macvlan_channels() 7789 ch->fwd = NULL; in i40e_free_macvlan_channels() 7818 struct i40e_fwd_adapter *fwd) in i40e_fwd_ring_up() argument 7828 iter->fwd = fwd; in i40e_fwd_ring_up() 7997 struct i40e_fwd_adapter *fwd; in i40e_fwd_add() local 8071 fwd = kzalloc(sizeof(*fwd), GFP_KERNEL); in i40e_fwd_add() 8072 if (!fwd) in i40e_fwd_add() [all …]
|
| /linux/include/linux/ |
| H A D | filter.h | 1209 static inline int xdp_ok_fwd_dev(const struct net_device *fwd, in xdp_ok_fwd_dev() argument 1214 if (unlikely(!(fwd->flags & IFF_UP))) in xdp_ok_fwd_dev() 1217 len = fwd->mtu + fwd->hard_header_len + VLAN_HLEN; in xdp_ok_fwd_dev()
|
| /linux/net/core/ |
| H A D | filter.c | 4410 void *fwd = ri->tgt_value; in __xdp_do_redirect_xsk() local 4417 err = __xsk_map_redirect(fwd, xdp); in __xdp_do_redirect_xsk() 4421 _trace_xdp_redirect_map(dev, xdp_prog, fwd, map_type, map_id, ri->tgt_index); in __xdp_do_redirect_xsk() 4424 _trace_xdp_redirect_map_err(dev, xdp_prog, fwd, map_type, map_id, ri->tgt_index, err); in __xdp_do_redirect_xsk() 4434 void *fwd = ri->tgt_value; in __xdp_do_redirect_frame() local 4468 err = dev_map_enqueue(fwd, xdpf, dev); in __xdp_do_redirect_frame() 4472 err = cpu_map_enqueue(fwd, xdpf, dev); in __xdp_do_redirect_frame() 4476 fwd = dev_get_by_index_rcu(dev_net(dev), ri->tgt_index); in __xdp_do_redirect_frame() 4477 if (unlikely(!fwd)) { in __xdp_do_redirect_frame() 4481 err = dev_xdp_enqueue(fwd, xdpf, dev); in __xdp_do_redirect_frame() [all …]
|