Home
last modified time | relevance | path

Searched refs:gw (Results 1 – 44 of 44) sorted by relevance

/linux-4.1.27/net/batman-adv/
Dgateway_common.c117 struct batadv_tvlv_gateway_data gw; in batadv_gw_tvlv_container_update() local
129 down = atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_tvlv_container_update()
130 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_tvlv_container_update()
131 gw.bandwidth_down = htonl(down); in batadv_gw_tvlv_container_update()
132 gw.bandwidth_up = htonl(up); in batadv_gw_tvlv_container_update()
134 &gw, sizeof(gw)); in batadv_gw_tvlv_container_update()
146 down_curr = (unsigned int)atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_bandwidth_set()
147 up_curr = (unsigned int)atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_bandwidth_set()
171 atomic_set(&bat_priv->gw.bandwidth_down, down_new); in batadv_gw_bandwidth_set()
172 atomic_set(&bat_priv->gw.bandwidth_up, up_new); in batadv_gw_bandwidth_set()
Dgateway_client.c57 gw_node = rcu_dereference(bat_priv->gw.curr_gw); in batadv_gw_get_selected_gw_node()
100 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
105 curr_gw_node = rcu_dereference_protected(bat_priv->gw.curr_gw, 1); in batadv_gw_select()
106 rcu_assign_pointer(bat_priv->gw.curr_gw, new_gw_node); in batadv_gw_select()
111 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
127 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect()
146 hlist_for_each_entry_rcu(gw_node, &bat_priv->gw.list, list) { in batadv_gw_get_best_gw_node()
260 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
424 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_add()
425 hlist_add_head_rcu(&gw_node->list, &bat_priv->gw.list); in batadv_gw_node_add()
[all …]
Dmain.c112 spin_lock_init(&bat_priv->gw.list_lock); in batadv_mesh_init()
122 INIT_HLIST_HEAD(&bat_priv->gw.list); in batadv_mesh_init()
161 atomic_set(&bat_priv->gw.reselect, 0); in batadv_mesh_init()
Dsysfs.c443 down = atomic_read(&bat_priv->gw.bandwidth_down); in batadv_show_gw_bwidth()
444 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_show_gw_bwidth()
Dsoft-interface.c758 atomic_set(&bat_priv->gw.bandwidth_down, 100); in batadv_softif_init_late()
759 atomic_set(&bat_priv->gw.bandwidth_up, 20); in batadv_softif_init_late()
Dtypes.h814 struct batadv_priv_gw gw; member
/linux-4.1.27/net/can/
DMakefile14 obj-$(CONFIG_CAN_GW) += can-gw.o
15 can-gw-y := gw.o
/linux-4.1.27/arch/x86/kvm/
Dpaging_tmpl.h502 struct guest_walker *gw, int level) in FNAME()
505 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
515 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); in FNAME()
516 curr_pte = gw->prefetch_ptes[index]; in FNAME()
521 return r || curr_pte != gw->ptes[level - 1]; in FNAME()
524 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, in FNAME()
528 pt_element_t *gptep = gw->prefetch_ptes; in FNAME()
561 struct guest_walker *gw, in FNAME()
567 unsigned direct_access, access = gw->pt_access; in FNAME()
570 direct_access = gw->pte_access; in FNAME()
[all …]
/linux-4.1.27/drivers/fmc/
Dfmc-fakedev.c97 char *gw) in ff_reprogram() argument
102 if (!gw) { in ff_reprogram()
109 dev_info(&fmc->dev, "reprogramming with %s\n", gw); in ff_reprogram()
110 ret = request_firmware(&fw, gw, &fmc->dev); in ff_reprogram()
113 gw, ret); in ff_reprogram()
Dfmc-sdb.c130 int fmc_reprogram(struct fmc_device *fmc, struct fmc_driver *d, char *gw, in fmc_reprogram() argument
135 ret = fmc->op->reprogram(fmc, d, gw); in fmc_reprogram()
/linux-4.1.27/arch/arm/boot/dts/
Dimx6dl-gw54xx.dts18 compatible = "gw,imx6dl-gw54xx", "gw,ventana", "fsl,imx6dl";
Dimx6q-gw51xx.dts18 compatible = "gw,imx6q-gw51xx", "gw,ventana", "fsl,imx6q";
Dimx6dl-gw53xx.dts18 compatible = "gw,imx6dl-gw53xx", "gw,ventana", "fsl,imx6dl";
Dimx6dl-gw52xx.dts18 compatible = "gw,imx6dl-gw52xx", "gw,ventana", "fsl,imx6dl";
Dimx6dl-gw51xx.dts18 compatible = "gw,imx6dl-gw51xx", "gw,ventana", "fsl,imx6dl";
Dimx6dl-gw552x.dts19 compatible = "gw,imx6dl-gw552x", "gw,ventana", "fsl,imx6dl";
Dimx6q-gw54xx.dts18 compatible = "gw,imx6q-gw54xx", "gw,ventana", "fsl,imx6q";
Dimx6q-gw552x.dts19 compatible = "gw,imx6q-gw552x", "gw,ventana", "fsl,imx6q";
Dimx6q-gw52xx.dts18 compatible = "gw,imx6q-gw52xx", "gw,ventana", "fsl,imx6q";
Dimx6q-gw53xx.dts18 compatible = "gw,imx6q-gw53xx", "gw,ventana", "fsl,imx6q";
Dimx6q-gw5400-a.dts18 compatible = "gw,imx6q-gw5400-a", "gw,ventana", "fsl,imx6q";
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Drouter.c618 struct lnet_peer *gw = rcd->rcd_gateway; in lnet_parse_rc_info() local
621 if (!gw->lp_alive) in lnet_parse_rc_info()
630 libcfs_nid2str(gw->lp_nid), info->pi_magic); in lnet_parse_rc_info()
631 gw->lp_ping_feats = LNET_PING_FEAT_INVAL; in lnet_parse_rc_info()
635 gw->lp_ping_feats = info->pi_features; in lnet_parse_rc_info()
636 if ((gw->lp_ping_feats & LNET_PING_FEAT_MASK) == 0) { in lnet_parse_rc_info()
638 libcfs_nid2str(gw->lp_nid), gw->lp_ping_feats); in lnet_parse_rc_info()
642 if ((gw->lp_ping_feats & LNET_PING_FEAT_NI_STATUS) == 0) in lnet_parse_rc_info()
645 list_for_each_entry(rtr, &gw->lp_routes, lr_gwlist) { in lnet_parse_rc_info()
657 libcfs_nid2str(gw->lp_nid)); in lnet_parse_rc_info()
[all …]
/linux-4.1.27/include/uapi/linux/netfilter/
Dxt_TEE.h5 union nf_inet_addr gw; member
/linux-4.1.27/net/netfilter/
Dxt_TEE.c70 fl4.daddr = info->gw.ip; in tee_tg_route4()
152 fl6.daddr = info->gw.in6; in tee_tg_route6()
233 if (memcmp(&info->gw, &tee_zero_address, in tee_tg_check()
/linux-4.1.27/include/uapi/linux/can/
DKbuild4 header-y += gw.h
/linux-4.1.27/arch/sparc/kernel/
Dsetup_64.c625 u32 cl, sv, gw; in setup_arch() local
629 gw = prom_getintdefault (chosen, "gateway-ip", 0); in setup_arch()
633 if (gw) in setup_arch()
634 ic_gateway = gw; in setup_arch()
/linux-4.1.27/include/linux/
Dfmc.h135 int (*reprogram)(struct fmc_device *f, struct fmc_driver *d, char *gw);
147 extern int fmc_reprogram(struct fmc_device *f, struct fmc_driver *d, char *gw,
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmain.c1509 struct update_gid_work *gw = container_of(work, struct update_gid_work, work); in update_gids_task() local
1513 struct mlx4_dev *dev = gw->dev->dev; in update_gids_task()
1516 if (!gw->dev->ib_active) in update_gids_task()
1526 memcpy(gids, gw->gids, sizeof gw->gids); in update_gids_task()
1528 err = mlx4_cmd(dev, mailbox->dma, MLX4_SET_PORT_GID_TABLE << 8 | gw->port, in update_gids_task()
1534 if ((gw->port == 1) || !is_bonded) in update_gids_task()
1535 mlx4_ib_dispatch_event(gw->dev, in update_gids_task()
1536 is_bonded ? 1 : gw->port, in update_gids_task()
1540 kfree(gw); in update_gids_task()
1545 struct update_gid_work *gw = in reset_gids_task() local
[all …]
/linux-4.1.27/Documentation/networking/
Dpolicy-routing.txt78 HOWTO: iproute add PREFIX [ tos TOS ] [ gw GW ] [ dev DEV ]
89 [ dev INPUTDEV] [ pref PREFERENCE ] route [ gw GATEWAY ]
Darcnet.txt409 route add default gw freedom
/linux-4.1.27/net/decnet/
Ddn_table.c251 __le16 gw; in dn_fib_nh_match() local
261 gw = gw_attr ? nla_get_le16(gw_attr) : 0; in dn_fib_nh_match()
263 if (gw && gw != nh->nh_gw) in dn_fib_nh_match()
/linux-4.1.27/Documentation/fmc/
DAPI.txt20 int fmc_reprogram(struct fmc_device *f, struct fmc_driver *d, char *gw,
Dcarrier.txt137 int (*reprogram)(struct fmc_device *f, struct fmc_driver *d, char *gw);
/linux-4.1.27/include/video/
Dpm3fb.h953 #define PM3DownloadGlyphwidth_GlyphWidth(gw) ((gw) & 0xffff) argument
/linux-4.1.27/net/ipv4/
Droute.c619 static void update_or_create_fnhe(struct fib_nh *nh, __be32 daddr, __be32 gw, in update_or_create_fnhe() argument
650 if (gw) in update_or_create_fnhe()
651 fnhe->fnhe_gw = gw; in update_or_create_fnhe()
676 fnhe->fnhe_gw = gw; in update_or_create_fnhe()
879 __be32 gw = rt_nexthop(rt, ip_hdr(skb)->daddr); in ip_rt_send_redirect() local
881 icmp_send(skb, ICMP_REDIRECT, ICMP_REDIR_HOST, gw); in ip_rt_send_redirect()
889 &ip_hdr(skb)->daddr, &gw); in ip_rt_send_redirect()
Dfib_semantics.c332 int ip_fib_check_default(__be32 gw, struct net_device *dev) in ip_fib_check_default() argument
344 nh->nh_gw == gw && in ip_fib_check_default()
/linux-4.1.27/net/bluetooth/
D6lowpan.c42 struct in6_addr gw; member
190 nexthop = &lowpan_cb(skb)->gw; in peer_lookup_dst()
201 memcpy(&lowpan_cb(skb)->gw, nexthop, sizeof(struct in6_addr)); in peer_lookup_dst()
/linux-4.1.27/include/net/
Dip_fib.h308 int ip_fib_check_default(__be32 gw, struct net_device *dev);
/linux-4.1.27/Documentation/filesystems/nfs/
Dnfsroot.txt81 ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>:
116 <gw-ip> IP address of a gateway if the server is on a different subnet.
/linux-4.1.27/Documentation/devicetree/bindings/
Dvendor-prefixes.txt90 gw Gateworks Corporation
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h855 void lnet_router_ni_update_locked(lnet_peer_t *gw, __u32 net);
/linux-4.1.27/Documentation/isdn/
DREADME.HiSax571 /sbin/route add default gw ${REMOTE_IP}
632 /sbin/route add default gw ${REMOTE_IP}
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt1073 UML# route add default gw host ip
1081 UML# route add default gw 192.168.0.4
1811 UML# route add -host 192.168.0.250 gw 192.168.0.251
3955 route add default gw gateway IP
/linux-4.1.27/
DMAINTAINERS2408 F: include/uapi/linux/can/gw.h