Home
last modified time | relevance | path

Searched refs:nh (Results 1 – 45 of 45) sorted by relevance

/linux-4.4.14/kernel/
Dnotifier.c121 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register() argument
127 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_register()
128 ret = notifier_chain_register(&nh->head, n); in atomic_notifier_chain_register()
129 spin_unlock_irqrestore(&nh->lock, flags); in atomic_notifier_chain_register()
143 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister() argument
149 spin_lock_irqsave(&nh->lock, flags); in atomic_notifier_chain_unregister()
150 ret = notifier_chain_unregister(&nh->head, n); in atomic_notifier_chain_unregister()
151 spin_unlock_irqrestore(&nh->lock, flags); in atomic_notifier_chain_unregister()
176 int __atomic_notifier_call_chain(struct atomic_notifier_head *nh, in __atomic_notifier_call_chain() argument
183 ret = notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); in __atomic_notifier_call_chain()
[all …]
/linux-4.4.14/net/decnet/
Ddn_fib.c51 #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\
52 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
54 #define change_nexthops(fi) { int nhsel; struct dn_fib_nh *nh;\
55 for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++)
93 if (nh->nh_dev) in dn_fib_free_info()
94 dev_put(nh->nh_dev); in dn_fib_free_info()
95 nh->nh_dev = NULL; in dn_fib_free_info()
121 if (nh->nh_oif != onh->nh_oif || in dn_fib_nh_comp()
122 nh->nh_gw != onh->nh_gw || in dn_fib_nh_comp()
123 nh->nh_scope != onh->nh_scope || in dn_fib_nh_comp()
[all …]
Ddn_table.c63 #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\
64 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
255 if (nhp->rtnh_ifindex && nhp->rtnh_ifindex != nh->nh_oif) in dn_fib_nh_match()
263 if (gw && gw != nh->nh_gw) in dn_fib_nh_match()
356 nhp->rtnh_flags = nh->nh_flags & 0xFF; in dn_fib_dump_info()
357 nhp->rtnh_hops = nh->nh_weight - 1; in dn_fib_dump_info()
358 nhp->rtnh_ifindex = nh->nh_oif; in dn_fib_dump_info()
360 if (nh->nh_gw && in dn_fib_dump_info()
361 nla_put_le16(skb, RTA_GATEWAY, nh->nh_gw) < 0) in dn_fib_dump_info()
/linux-4.4.14/include/linux/
Dnotifier.h92 extern void srcu_init_notifier_head(struct srcu_notifier_head *nh);
118 extern int atomic_notifier_chain_register(struct atomic_notifier_head *nh,
120 extern int blocking_notifier_chain_register(struct blocking_notifier_head *nh,
122 extern int raw_notifier_chain_register(struct raw_notifier_head *nh,
124 extern int srcu_notifier_chain_register(struct srcu_notifier_head *nh,
128 struct blocking_notifier_head *nh,
131 extern int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh,
133 extern int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh,
135 extern int raw_notifier_chain_unregister(struct raw_notifier_head *nh,
137 extern int srcu_notifier_chain_unregister(struct srcu_notifier_head *nh,
[all …]
Dextcon.h113 struct raw_notifier_head *nh; member
/linux-4.4.14/net/ipv4/
Dfib_semantics.c63 int nhsel; const struct fib_nh *nh; \
64 for (nhsel = 0, nh = (fi)->fib_nh; \
66 nh++, nhsel++)
79 int nhsel; const struct fib_nh *nh = (fi)->fib_nh; \
158 static void free_nh_exceptions(struct fib_nh *nh) in free_nh_exceptions() argument
163 hash = rcu_dereference_protected(nh->nh_exceptions, 1); in free_nh_exceptions()
261 if (nh->nh_oif != onh->nh_oif || in nh_comp()
262 nh->nh_gw != onh->nh_gw || in nh_comp()
263 nh->nh_scope != onh->nh_scope || in nh_comp()
265 nh->nh_weight != onh->nh_weight || in nh_comp()
[all …]
Droute.c621 static void update_or_create_fnhe(struct fib_nh *nh, __be32 daddr, __be32 gw, in update_or_create_fnhe() argument
633 hash = rcu_dereference(nh->nh_exceptions); in update_or_create_fnhe()
638 rcu_assign_pointer(nh->nh_exceptions, hash); in update_or_create_fnhe()
676 fnhe->fnhe_genid = fnhe_genid(dev_net(nh->nh_dev)); in update_or_create_fnhe()
686 rt = rcu_dereference(nh->nh_rth_input); in update_or_create_fnhe()
692 prt = per_cpu_ptr(nh->nh_pcpu_rth_output, i); in update_or_create_fnhe()
756 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_do_redirect() local
758 update_or_create_fnhe(nh, fl4->daddr, new_gw, in __ip_do_redirect()
987 struct fib_nh *nh = &FIB_RES_NH(res); in __ip_rt_update_pmtu() local
989 update_or_create_fnhe(nh, fl4->daddr, 0, mtu, in __ip_rt_update_pmtu()
[all …]
Dicmp.c984 int nh; in icmp_rcv() local
993 nh = skb_network_offset(skb); in icmp_rcv()
999 skb_set_network_header(skb, nh); in icmp_rcv()
Dfib_trie.c1419 const struct fib_nh *nh = &fi->fib_nh[nhsel]; in fib_table_lookup() local
1420 struct in_device *in_dev = __in_dev_get_rcu(nh->nh_dev); in fib_table_lookup()
1422 if (nh->nh_flags & RTNH_F_DEAD) in fib_table_lookup()
1426 nh->nh_flags & RTNH_F_LINKDOWN && in fib_table_lookup()
1431 flp->flowi4_oif != nh->nh_oif) in fib_table_lookup()
1448 trace_fib_table_lookup_nh(nh); in fib_table_lookup()
Dfib_frontend.c363 struct fib_nh *nh = &res.fi->fib_nh[ret]; in __fib_validate_source() local
365 if (nh->nh_dev == dev) { in __fib_validate_source()
368 } else if (l3mdev_master_ifindex_rcu(nh->nh_dev) == dev->ifindex) { in __fib_validate_source()
/linux-4.4.14/net/mpls/
Daf_mpls.c62 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh) in __mpls_nh_via() argument
65 int nh_index = nh - rt->rt_nh; in __mpls_nh_via()
71 const struct mpls_nh *nh) in mpls_nh_via() argument
73 return __mpls_nh_via((struct mpls_route *)rt, (struct mpls_nh *)nh); in mpls_nh_via()
76 static unsigned int mpls_nh_header_size(const struct mpls_nh *nh) in mpls_nh_header_size() argument
79 return nh->nh_labels * sizeof(struct mpls_shim_hdr); in mpls_nh_header_size()
229 struct mpls_nh *nh; in mpls_forward() local
267 nh = mpls_select_multipath(rt, skb, dec.bos); in mpls_forward()
268 if (!nh) in mpls_forward()
272 out_dev = rcu_dereference(nh->nh_dev); in mpls_forward()
[all …]
Dinternal.h81 int nhsel; struct mpls_nh *nh; \
82 for (nhsel = 0, nh = (rt)->rt_nh; \
84 nh++, nhsel++)
87 int nhsel; struct mpls_nh *nh; \
88 for (nhsel = 0, nh = (struct mpls_nh *)((rt)->rt_nh); \
90 nh++, nhsel++)
/linux-4.4.14/arch/alpha/boot/
DMakefile13 vmlinux.nh tools/lxboot tools/bootlx tools/bootph \
21 $(obj)/bootimage: $(addprefix $(obj)/tools/,mkbb lxboot bootlx) $(obj)/vmlinux.nh
22 ( cat $(obj)/tools/lxboot $(obj)/tools/bootlx $(obj)/vmlinux.nh ) > $@
27 $(obj)/bootpfile: $(obj)/tools/bootph $(obj)/vmlinux.nh
28 cat $(obj)/tools/bootph $(obj)/vmlinux.nh > $@
35 $(obj)/bootpzfile: $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz
36 cat $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz > $@
50 $(obj)/ksize.h: $(obj)/vmlinux.nh FORCE
59 $(obj)/kzsize.h: $(obj)/vmlinux.nh.gz FORCE
78 OSFLAGS_vmlinux.nh := -v
[all …]
/linux-4.4.14/arch/arm/vfp/
Dvfp.h47 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128() argument
53 : "=r" (nl), "=r" (nh) in add128()
54 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in add128()
56 *resh = nh; in add128()
60 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128() argument
66 : "=r" (nl), "=r" (nh) in sub128()
67 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in sub128()
69 *resh = nh; in sub128()
75 u32 nh, nl, mh, ml; in mul64to128() local
82 nh = n >> 32; in mul64to128()
[all …]
/linux-4.4.14/net/ipv6/
Dxfrm6_policy.c126 const unsigned char *nh = skb_network_header(skb); in _decode_session6() local
134 nexthdr = nh[nhoff]; in _decode_session6()
146 while (nh + offset + 1 < skb->data || in _decode_session6()
147 pskb_may_pull(skb, nh + offset + 1 - skb->data)) { in _decode_session6()
148 nh = skb_network_header(skb); in _decode_session6()
149 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in _decode_session6()
159 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in _decode_session6()
167 if (!onlyproto && (nh + offset + 4 < skb->data || in _decode_session6()
168 pskb_may_pull(skb, nh + offset + 4 - skb->data))) { in _decode_session6()
171 nh = skb_network_header(skb); in _decode_session6()
[all …]
Dexthdrs.c100 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() local
112 int optlen = nh[off + 1] + 2; in ip6_parse_tlv()
115 switch (nh[off]) { in ip6_parse_tlv()
137 if (nh[off + i] != 0) in ip6_parse_tlv()
146 if (curr->type == nh[off]) { in ip6_parse_tlv()
547 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_ra() local
549 if (nh[optoff + 1] == 2) { in ipv6_hop_ra()
551 memcpy(&IP6CB(skb)->ra, nh + optoff + 2, sizeof(IP6CB(skb)->ra)); in ipv6_hop_ra()
555 nh[optoff + 1]); in ipv6_hop_ra()
564 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_jumbo() local
[all …]
Dexthdrs_core.c117 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
124 hdr = (struct ipv6_opt_hdr *)(nh + offset); in ipv6_find_tlv()
134 int opttype = nh[offset]; in ipv6_find_tlv()
145 optlen = nh[offset + 1] + 2; in ipv6_find_tlv()
Ddatagram.c418 const unsigned char *nh = skb_network_header(skb); in ipv6_recv_error() local
423 const struct ipv6hdr *ip6h = container_of((struct in6_addr *)(nh + serr->addr_offset), in ipv6_recv_error()
432 ipv6_addr_set_v4mapped(*(__be32 *)(nh + serr->addr_offset), in ipv6_recv_error()
557 unsigned char *nh = skb_network_header(skb); in ip6_datagram_recv_specific_ctl() local
570 __be32 flowinfo = ip6_flowinfo((struct ipv6hdr *)nh); in ip6_datagram_recv_specific_ctl()
577 u8 *ptr = nh + sizeof(struct ipv6hdr); in ip6_datagram_recv_specific_ctl()
597 u8 *ptr = nh + off; in ip6_datagram_recv_specific_ctl()
639 u8 *ptr = nh + sizeof(struct ipv6hdr); in ip6_datagram_recv_specific_ctl()
643 u8 *ptr = nh + opt->dst0; in ip6_datagram_recv_specific_ctl()
647 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); in ip6_datagram_recv_specific_ctl()
[all …]
Dmip6.c268 const unsigned char *nh = skb_network_header(skb); in mip6_destopt_offset() local
304 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_destopt_offset()
404 const unsigned char *nh = skb_network_header(skb); in mip6_rthdr_offset() local
419 rt = (struct ipv6_rt_hdr *)(nh + offset); in mip6_rthdr_offset()
439 exthdr = (struct ipv6_opt_hdr *)(nh + offset); in mip6_rthdr_offset()
Droute.c2817 struct rt6_nh *nh; in ip6_print_replace_route_err() local
2819 list_for_each_entry(nh, rt6_nh_list, next) { in ip6_print_replace_route_err()
2821 &nh->r_cfg.fc_dst, &nh->r_cfg.fc_gateway, in ip6_print_replace_route_err()
2822 nh->r_cfg.fc_ifindex); in ip6_print_replace_route_err()
2829 struct rt6_nh *nh; in ip6_route_info_append() local
2833 list_for_each_entry(nh, rt6_nh_list, next) { in ip6_route_info_append()
2835 rtnh = nh->rt6_info; in ip6_route_info_append()
2844 nh = kzalloc(sizeof(*nh), GFP_KERNEL); in ip6_route_info_append()
2845 if (!nh) in ip6_route_info_append()
2847 nh->rt6_info = rt; in ip6_route_info_append()
[all …]
Dreassembly.c237 const unsigned char *nh = skb_network_header(skb); in ip6_frag_queue() local
239 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in ip6_frag_queue()
Dicmp.c693 int nh; in icmpv6_rcv() local
702 nh = skb_network_offset(skb); in icmpv6_rcv()
708 skb_set_network_header(skb, nh); in icmpv6_rcv()
/linux-4.4.14/net/openvswitch/
Dactions.c288 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum() argument
293 if (nh->frag_off & htons(IP_OFFSET)) in update_ip_l4_checksum()
296 if (nh->protocol == IPPROTO_TCP) { in update_ip_l4_checksum()
300 } else if (nh->protocol == IPPROTO_UDP) { in update_ip_l4_checksum()
314 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() argument
317 update_ip_l4_checksum(skb, nh, *addr, new_addr); in set_ip_addr()
318 csum_replace4(&nh->check, *addr, new_addr); in set_ip_addr()
370 static void set_ipv6_fl(struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl() argument
373 OVS_SET_MASKED(nh->flow_lbl[0], (u8)(fl >> 16), (u8)(mask >> 16)); in set_ipv6_fl()
374 OVS_SET_MASKED(nh->flow_lbl[1], (u8)(fl >> 8), (u8)(mask >> 8)); in set_ipv6_fl()
[all …]
Dflow.c255 struct ipv6hdr *nh; in parse_ipv6hdr() local
260 err = check_header(skb, nh_ofs + sizeof(*nh)); in parse_ipv6hdr()
264 nh = ipv6_hdr(skb); in parse_ipv6hdr()
265 nexthdr = nh->nexthdr; in parse_ipv6hdr()
266 payload_ofs = (u8 *)(nh + 1) - skb->data; in parse_ipv6hdr()
269 key->ip.tos = ipv6_get_dsfield(nh); in parse_ipv6hdr()
270 key->ip.ttl = nh->hop_limit; in parse_ipv6hdr()
271 key->ipv6.label = *(__be32 *)nh & htonl(IPV6_FLOWINFO_FLOWLABEL); in parse_ipv6hdr()
272 key->ipv6.addr.src = nh->saddr; in parse_ipv6hdr()
273 key->ipv6.addr.dst = nh->daddr; in parse_ipv6hdr()
[all …]
/linux-4.4.14/include/trace/events/
Dfib.h54 TP_PROTO(const struct fib_nh *nh),
56 TP_ARGS(nh),
59 __string( name, nh->nh_dev->name)
67 __assign_str(name, nh->nh_dev ? nh->nh_dev->name : "not set");
68 __entry->oif = nh->nh_oif;
69 *p32 = nh->nh_saddr;
/linux-4.4.14/net/bridge/
Dbr_netfilter_ipv6.c54 const unsigned char *nh = skb_network_header(skb); in br_nf_check_hbh_len() local
55 int off = raw - nh; in br_nf_check_hbh_len()
65 int optlen = nh[off + 1] + 2; in br_nf_check_hbh_len()
67 switch (nh[off]) { in br_nf_check_hbh_len()
76 if (nh[off + 1] != 4 || (off & 3) != 2) in br_nf_check_hbh_len()
78 pkt_len = ntohl(*(__be32 *)(nh + off + 2)); in br_nf_check_hbh_len()
87 nh = skb_network_header(skb); in br_nf_check_hbh_len()
/linux-4.4.14/scripts/dtc/libfdt/
Dfdt_sw.c172 struct fdt_node_header *nh; in fdt_begin_node() local
177 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
178 if (! nh) in fdt_begin_node()
181 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node()
182 memcpy(nh->name, name, namelen); in fdt_begin_node()
Dfdt_rw.c337 struct fdt_node_header *nh; in fdt_add_subnode_namelen() local
359 nh = _fdt_offset_ptr_w(fdt, offset); in fdt_add_subnode_namelen()
360 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
362 err = _fdt_splice_struct(fdt, nh, 0, nodelen); in fdt_add_subnode_namelen()
366 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen()
367 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
368 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
369 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE); in fdt_add_subnode_namelen()
Dfdt_ro.c209 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name() local
217 *len = strlen(nh->name); in fdt_get_name()
219 return nh->name; in fdt_get_name()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_nat_masquerade_ipv4.c35 __be32 newsrc, nh; in nf_nat_masquerade_ipv4() local
52 nh = rt_nexthop(rt, ip_hdr(skb)->daddr); in nf_nat_masquerade_ipv4()
53 newsrc = inet_select_addr(out, nh, RT_SCOPE_UNIVERSE); in nf_nat_masquerade_ipv4()
Dipt_rpfilter.c52 struct fib_nh *nh = &res.fi->fib_nh[ret]; in rpfilter_lookup_reverse() local
54 if (nh->nh_dev == dev) { in rpfilter_lookup_reverse()
/linux-4.4.14/lib/mpi/
Dmpi-internal.h137 #define UDIV_QRNND_PREINV(q, r, nh, nl, d, di) \ argument
141 umul_ppmm(_q, _ql, (nh), (di)); \
142 _q += (nh); /* DI is 2**BITS_PER_MPI_LIMB too small */ \
144 sub_ddmmss(_xh, _r, (nh), (nl), _xh, _xl); \
Dlonglong.h287 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
291 : "1" ((USItype)(nh)), \
486 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
491 __nn.__i.__h = (nh); __nn.__i.__l = (nl); \
845 #define sdiv_qrnnd(q, r, nh, nl, d) \ argument
848 : "r" ((SItype)(nh)), "1" ((SItype)(nl)), "r" ((SItype)(d)))
1363 #define udiv_qrnnd(q, r, nh, nl, d) \ argument
1366 (q) = __MPN(udiv_w_sdiv) (&__r, nh, nl, d); \
/linux-4.4.14/drivers/devfreq/
Ddevfreq.c1133 struct srcu_notifier_head *nh; in devfreq_register_opp_notifier() local
1137 nh = dev_pm_opp_get_notifier(dev); in devfreq_register_opp_notifier()
1138 if (IS_ERR(nh)) in devfreq_register_opp_notifier()
1139 ret = PTR_ERR(nh); in devfreq_register_opp_notifier()
1142 ret = srcu_notifier_chain_register(nh, &devfreq->nb); in devfreq_register_opp_notifier()
1160 struct srcu_notifier_head *nh; in devfreq_unregister_opp_notifier() local
1164 nh = dev_pm_opp_get_notifier(dev); in devfreq_unregister_opp_notifier()
1165 if (IS_ERR(nh)) in devfreq_unregister_opp_notifier()
1166 ret = PTR_ERR(nh); in devfreq_unregister_opp_notifier()
1169 ret = srcu_notifier_chain_unregister(nh, &devfreq->nb); in devfreq_unregister_opp_notifier()
/linux-4.4.14/drivers/extcon/
Dextcon.c291 raw_notifier_call_chain(&edev->nh[index], in extcon_update_state()
516 &obj->edev->nh[obj->cable_index], in extcon_register_interest()
561 &obj->edev->nh[obj->cable_index], obj->user_nb); in extcon_unregister_interest()
591 ret = raw_notifier_chain_register(&edev->nh[idx], nb); in extcon_register_notifier()
616 ret = raw_notifier_chain_unregister(&edev->nh[idx], nb); in extcon_unregister_notifier()
931 edev->nh = devm_kzalloc(&edev->dev, in extcon_dev_register()
932 sizeof(*edev->nh) * edev->max_supported, GFP_KERNEL); in extcon_dev_register()
933 if (!edev->nh) { in extcon_dev_register()
939 RAW_INIT_NOTIFIER_HEAD(&edev->nh[index]); in extcon_dev_register()
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/
Dfpu.c167 unsigned long long mh, ml, nh, nl; in denormal_muld() local
179 nh = mh; in denormal_muld()
182 if (nh) { in denormal_muld()
183 while (nh) { nh >>= 1; w++;} in denormal_muld()
/linux-4.4.14/drivers/of/
Dunittest.c252 struct node_hash *nh; in of_unittest_check_phandles() local
260 hash_for_each_possible(phandle_ht, nh, node, np->phandle) { in of_unittest_check_phandles()
261 if (nh->np->phandle == np->phandle) { in of_unittest_check_phandles()
263 np->phandle, nh->np->full_name, np->full_name); in of_unittest_check_phandles()
269 nh = kzalloc(sizeof(*nh), GFP_KERNEL); in of_unittest_check_phandles()
270 if (WARN_ON(!nh)) in of_unittest_check_phandles()
273 nh->np = np; in of_unittest_check_phandles()
274 hash_add(phandle_ht, &nh->node, np->phandle); in of_unittest_check_phandles()
281 hash_for_each_safe(phandle_ht, i, tmp, nh, node) { in of_unittest_check_phandles()
282 hash_del(&nh->node); in of_unittest_check_phandles()
[all …]
/linux-4.4.14/net/ipv6/netfilter/
Dnf_conntrack_reasm.c246 const unsigned char *nh = skb_network_header(skb); in nf_ct_frag6_queue() local
248 csum_partial(nh, (u8 *)(fhdr + 1) - nh, in nf_ct_frag6_queue()
/linux-4.4.14/net/switchdev/
Dswitchdev.c1130 const struct fib_nh *nh = &fi->fib_nh[nhsel]; in switchdev_get_dev_by_nhs() local
1132 if (!nh->nh_dev) in switchdev_get_dev_by_nhs()
1135 dev = switchdev_get_lowest_dev(nh->nh_dev); in switchdev_get_dev_by_nhs()
/linux-4.4.14/include/net/
Dip_fib.h173 __be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh);
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilepro.c1686 unsigned char *nh = skb_network_header(skb); in tile_net_tx_tso() local
1687 unsigned int eh_len = nh - data; in tile_net_tx_tso()
1690 struct tcphdr *th = (struct tcphdr *)(nh + ih_len); in tile_net_tx_tso()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c148 int nh; in enqueue_mgmt() local
149 nh = (ieee->mgmt_queue_head +1) % MGMT_QUEUE_NUM; in enqueue_mgmt()
158 ieee->mgmt_queue_head = nh; in enqueue_mgmt()
159 ieee->mgmt_queue_ring[nh] = skb; in enqueue_mgmt()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_softmac.c133 int nh; in enqueue_mgmt() local
135 nh = (ieee->mgmt_queue_head + 1) % MGMT_QUEUE_NUM; in enqueue_mgmt()
143 ieee->mgmt_queue_head = nh; in enqueue_mgmt()
144 ieee->mgmt_queue_ring[nh] = skb; in enqueue_mgmt()
/linux-4.4.14/drivers/net/ethernet/rocker/
Drocker.c3994 const struct fib_nh *nh; in rocker_port_fib_ipv4() local
4009 nh = fi->fib_nh; in rocker_port_fib_ipv4()
4011 has_gw = !!nh->nh_gw; in rocker_port_fib_ipv4()
4015 nh->nh_gw, &index); in rocker_port_fib_ipv4()
/linux-4.4.14/Documentation/filesystems/
Dproc.txt493 nh - no-huge page advise flag