/linux-master/drivers/gpio/ |
H A D | gpio-gw-pld.c | 37 struct gw_pld *gw = gpiochip_get_data(gc); local 39 gw->out |= BIT(offset); 40 return i2c_smbus_write_byte(gw->client, gw->out); 45 struct gw_pld *gw = gpiochip_get_data(gc); local 48 val = i2c_smbus_read_byte(gw->client); 55 struct gw_pld *gw = gpiochip_get_data(gc); local 58 gw->out |= BIT(offset); 60 gw->out &= ~BIT(offset); 62 return i2c_smbus_write_byte(gw 73 struct gw_pld *gw; local [all...] |
/linux-master/net/batman-adv/ |
H A D | gateway_common.c | 21 * batadv_gw_tvlv_container_update() - update the gw tvlv container after 27 struct batadv_tvlv_gateway_data gw; local 31 gw_mode = atomic_read(&bat_priv->gw.mode); 39 down = atomic_read(&bat_priv->gw.bandwidth_down); 40 up = atomic_read(&bat_priv->gw.bandwidth_up); 41 gw.bandwidth_down = htonl(down); 42 gw.bandwidth_up = htonl(up); 44 &gw, sizeof(gw)); 86 atomic_read(&bat_priv->gw [all...] |
H A D | gateway_client.c | 85 gw_node = rcu_dereference(bat_priv->gw.curr_gw); 133 spin_lock_bh(&bat_priv->gw.list_lock); 138 curr_gw_node = rcu_replace_pointer(bat_priv->gw.curr_gw, new_gw_node, 143 spin_unlock_bh(&bat_priv->gw.list_lock); 159 atomic_set(&bat_priv->gw.reselect, 1); 166 * This function assumes the caller has checked that the gw state *is actually 174 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) 186 /* if batman-adv is switching the gw client mode off and a gateway was 206 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) 209 if (!bat_priv->algo_ops->gw [all...] |
H A D | bat_v.c | 512 atomic_set(&bat_priv->gw.sel_class, 50); 569 hlist_for_each_entry_rcu(gw_node, &bat_priv->gw.gateway_list, list) { 609 threshold = atomic_read(&bat_priv->gw.sel_class); 761 spin_lock_bh(&bat_priv->gw.list_lock); 762 cb->seq = bat_priv->gw.generation << 1 | 1; 764 hlist_for_each_entry(gw_node, &bat_priv->gw.gateway_list, list) { 777 spin_unlock_bh(&bat_priv->gw.list_lock); 800 .gw = {
|
H A D | netlink.c | 310 atomic_read(&bat_priv->gw.bandwidth_down))) 314 atomic_read(&bat_priv->gw.bandwidth_up))) 318 atomic_read(&bat_priv->gw.mode))) 321 if (bat_priv->algo_ops->gw.get_best_gw_node && 322 bat_priv->algo_ops->gw.is_eligible) { 327 atomic_read(&bat_priv->gw.sel_class))) 506 atomic_set(&bat_priv->gw.bandwidth_down, nla_get_u32(attr)); 513 atomic_set(&bat_priv->gw.bandwidth_up, nla_get_u32(attr)); 529 * When gw client mode is being switched off the current 541 atomic_set(&bat_priv->gw [all...] |
H A D | main.c | 90 "gw", 163 spin_lock_init(&bat_priv->gw.list_lock); 175 INIT_HLIST_HEAD(&bat_priv->gw.gateway_list); 192 bat_priv->gw.generation = 0; 233 atomic_set(&bat_priv->gw.reselect, 0);
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | xt_TEE.h | 8 union nf_inet_addr gw; member in struct:xt_tee_tginfo
|
/linux-master/include/net/netfilter/ipv6/ |
H A D | nf_dup_ipv6.h | 8 const struct in6_addr *gw, int oif);
|
/linux-master/net/can/ |
H A D | Makefile | 16 obj-$(CONFIG_CAN_GW) += can-gw.o 17 can-gw-y := gw.o
|
/linux-master/include/net/netfilter/ipv4/ |
H A D | nf_dup_ipv4.h | 9 const struct in_addr *gw, int oif);
|
/linux-master/arch/s390/crypto/ |
H A D | aes_s390.c | 673 static void gcm_walk_start(struct gcm_sg_walk *gw, struct scatterlist *sg, argument 676 memset(gw, 0, sizeof(*gw)); 677 gw->walk_bytes_remain = len; 678 scatterwalk_start(&gw->walk, sg); 681 static inline unsigned int _gcm_sg_clamp_and_map(struct gcm_sg_walk *gw) argument 685 gw->walk_bytes = scatterwalk_clamp(&gw->walk, gw->walk_bytes_remain); 686 while (!gw 698 _gcm_sg_unmap_and_advance(struct gcm_sg_walk *gw, unsigned int nbytes) argument 708 gcm_in_walk_go(struct gcm_sg_walk *gw, unsigned int minbytesneeded) argument 757 gcm_out_walk_go(struct gcm_sg_walk *gw, unsigned int minbytesneeded) argument 787 gcm_in_walk_done(struct gcm_sg_walk *gw, unsigned int bytesdone) argument 805 gcm_out_walk_done(struct gcm_sg_walk *gw, unsigned int bytesdone) argument [all...] |
/linux-master/tools/testing/selftests/netfilter/ |
H A D | nft_nat_zones.sh | 35 gw="ns-gw-$sfx" 49 ip netns del $gw 86 ip netns add "$gw" 88 echo "SKIP: Could not create net namespace $gw" 91 ip -net "$gw" link set lo up 101 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv" 102 ip -net "$gw" link set veth0 up 121 ip link add veth$i netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1 133 echo netns exec "$gw" i [all...] |
/linux-master/net/ipv4/netfilter/ |
H A D | nf_dup_ipv4.c | 24 const struct in_addr *gw, int oif) 34 fl4.daddr = gw->s_addr; 51 const struct in_addr *gw, int oif) 86 if (nf_dup_ipv4_route(net, skb, gw, oif)) { 23 nf_dup_ipv4_route(struct net *net, struct sk_buff *skb, const struct in_addr *gw, int oif) argument 50 nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum, const struct in_addr *gw, int oif) argument
|
H A D | nft_dup_ipv4.c | 25 struct in_addr gw = { local 30 nf_dup_ipv4(nft_net(pkt), pkt->skb, nft_hook(pkt), &gw, oif); local
|
/linux-master/net/ipv6/netfilter/ |
H A D | nf_dup_ipv6.c | 20 const struct in6_addr *gw, int oif) 30 fl6.daddr = *gw; 48 const struct in6_addr *gw, int oif) 65 if (nf_dup_ipv6_route(net, skb, gw, oif)) { 19 nf_dup_ipv6_route(struct net *net, struct sk_buff *skb, const struct in6_addr *gw, int oif) argument 47 nf_dup_ipv6(struct net *net, struct sk_buff *skb, unsigned int hooknum, const struct in6_addr *gw, int oif) argument
|
H A D | nft_dup_ipv6.c | 25 struct in6_addr *gw = (struct in6_addr *)®s->data[priv->sreg_addr]; local 28 nf_dup_ipv6(nft_net(pkt), pkt->skb, nft_hook(pkt), gw, oif); local
|
/linux-master/include/trace/events/ |
H A D | fib6.h | 35 __array( __u8, gw, 16 ) 71 in6 = (struct in6_addr *)__entry->gw; 74 in6 = (struct in6_addr *)__entry->gw; 79 TP_printk("table %3u oif %d iif %d proto %u %pI6c/%u -> %pI6c/%u tos %d scope %d flags %x ==> dev %s gw %pI6c err %d", 83 __entry->name, __entry->gw, __entry->err)
|
/linux-master/samples/bpf/ |
H A D | xdp_router_ipv4.bpf.c | 21 __be32 gw; member in struct:trie_value 148 if (!prefix_value->gw) 152 &prefix_value->gw); 156 * the default gw.
|
H A D | xdp_router_ipv4_user.c | 102 __be32 dst, gw; member in struct:route_table 150 route.gw = atoi(gws); 162 __be32 gw; member in struct:trie_value 197 prefix_value->gw = route.gw; 232 prefix_value->gw = route.gw;
|
/linux-master/arch/x86/kvm/mmu/ |
H A D | paging_tmpl.h | 562 struct guest_walker *gw, int level) 565 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; 575 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); 576 curr_pte = gw->prefetch_ptes[index]; 581 return r || curr_pte != gw->ptes[level - 1]; 584 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, argument 588 pt_element_t *gptep = gw->prefetch_ptes; 628 struct guest_walker *gw) 636 WARN_ON_ONCE(gw 561 gpte_changed(struct kvm_vcpu *vcpu, struct guest_walker *gw, int level) argument 627 fetch(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault, struct guest_walker *gw) argument [all...] |
/linux-master/net/netfilter/ |
H A D | xt_TEE.c | 42 nf_dup_ipv4(xt_net(par), skb, xt_hooknum(par), &info->gw.in, oif); 54 nf_dup_ipv6(xt_net(par), skb, xt_hooknum(par), &info->gw.in6, oif); 99 if (memcmp(&info->gw, &tee_zero_address,
|
/linux-master/tools/testing/selftests/net/ |
H A D | fib-onlink-tests.sh | 236 local gw="$3" 244 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink 312 "Invalid gw - local unicast address" 315 "Invalid gw - local unicast address, VRF" 334 local gw="$3" 342 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink 425 "Invalid gw - local unicast address" 427 "Invalid gw - local linklocal address" 429 "Invalid gw - multicast address" 433 "Invalid gw [all...] |
/linux-master/drivers/pci/controller/dwc/ |
H A D | Makefile | 20 obj-$(CONFIG_PCIE_INTEL_GW) += pcie-intel-gw.o
|
/linux-master/drivers/reset/ |
H A D | Makefile | 17 obj-$(CONFIG_RESET_INTEL_GW) += reset-intel-gw.o
|
/linux-master/arch/sparc/kernel/ |
H A D | setup_64.c | 652 u32 cl, sv, gw; local 656 gw = prom_getintdefault (chosen, "gateway-ip", 0); 660 if (gw) 661 ic_gateway = gw;
|