Searched refs:nh (Results 1 - 54 of 54) sorted by relevance

/linux-4.1.27/arch/alpha/boot/
H A 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
51 echo "#define KERNEL_SIZE `ls -l $(obj)/vmlinux.nh | awk '{print $$5}'`" > $@T
59 $(obj)/kzsize.h: $(obj)/vmlinux.nh.gz FORCE
60 echo "#define KERNEL_SIZE `ls -l $(obj)/vmlinux.nh | awk '{print $$5}'`" > $@T
61 echo "#define KERNEL_Z_SIZE `ls -l $(obj)/vmlinux.nh.gz | awk '{print $$5}'`" >> $@T
78 OSFLAGS_vmlinux.nh := -v
84 $(obj)/vmlinux.nh: vmlinux $(OBJSTRIP) FORCE
87 $(obj)/vmlinux.nh.gz: $(obj)/vmlinux.nh FORCE
/linux-4.1.27/kernel/
H A Dnotifier.c114 * @nh: Pointer to head of the atomic notifier chain
121 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, atomic_notifier_chain_register() argument
127 spin_lock_irqsave(&nh->lock, flags); atomic_notifier_chain_register()
128 ret = notifier_chain_register(&nh->head, n); atomic_notifier_chain_register()
129 spin_unlock_irqrestore(&nh->lock, flags); atomic_notifier_chain_register()
136 * @nh: Pointer to head of the atomic notifier chain
143 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, atomic_notifier_chain_unregister() argument
149 spin_lock_irqsave(&nh->lock, flags); atomic_notifier_chain_unregister()
150 ret = notifier_chain_unregister(&nh->head, n); atomic_notifier_chain_unregister()
151 spin_unlock_irqrestore(&nh->lock, flags); atomic_notifier_chain_unregister()
159 * @nh: Pointer to head of the atomic notifier chain
176 int __atomic_notifier_call_chain(struct atomic_notifier_head *nh, __atomic_notifier_call_chain() argument
183 ret = notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); __atomic_notifier_call_chain()
190 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, atomic_notifier_call_chain() argument
193 return __atomic_notifier_call_chain(nh, val, v, -1, NULL); atomic_notifier_call_chain()
205 * @nh: Pointer to head of the blocking notifier chain
213 int blocking_notifier_chain_register(struct blocking_notifier_head *nh, blocking_notifier_chain_register() argument
224 return notifier_chain_register(&nh->head, n); blocking_notifier_chain_register()
226 down_write(&nh->rwsem); blocking_notifier_chain_register()
227 ret = notifier_chain_register(&nh->head, n); blocking_notifier_chain_register()
228 up_write(&nh->rwsem); blocking_notifier_chain_register()
235 * @nh: Pointer to head of the blocking notifier chain
244 int blocking_notifier_chain_cond_register(struct blocking_notifier_head *nh, blocking_notifier_chain_cond_register() argument
249 down_write(&nh->rwsem); blocking_notifier_chain_cond_register()
250 ret = notifier_chain_cond_register(&nh->head, n); blocking_notifier_chain_cond_register()
251 up_write(&nh->rwsem); blocking_notifier_chain_cond_register()
258 * @nh: Pointer to head of the blocking notifier chain
266 int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, blocking_notifier_chain_unregister() argument
277 return notifier_chain_unregister(&nh->head, n); blocking_notifier_chain_unregister()
279 down_write(&nh->rwsem); blocking_notifier_chain_unregister()
280 ret = notifier_chain_unregister(&nh->head, n); blocking_notifier_chain_unregister()
281 up_write(&nh->rwsem); blocking_notifier_chain_unregister()
288 * @nh: Pointer to head of the blocking notifier chain
304 int __blocking_notifier_call_chain(struct blocking_notifier_head *nh, __blocking_notifier_call_chain() argument
315 if (rcu_access_pointer(nh->head)) { __blocking_notifier_call_chain()
316 down_read(&nh->rwsem); __blocking_notifier_call_chain()
317 ret = notifier_call_chain(&nh->head, val, v, nr_to_call, __blocking_notifier_call_chain()
319 up_read(&nh->rwsem); __blocking_notifier_call_chain()
325 int blocking_notifier_call_chain(struct blocking_notifier_head *nh, blocking_notifier_call_chain() argument
328 return __blocking_notifier_call_chain(nh, val, v, -1, NULL); blocking_notifier_call_chain()
339 * @nh: Pointer to head of the raw notifier chain
347 int raw_notifier_chain_register(struct raw_notifier_head *nh, raw_notifier_chain_register() argument
350 return notifier_chain_register(&nh->head, n); raw_notifier_chain_register()
356 * @nh: Pointer to head of the raw notifier chain
364 int raw_notifier_chain_unregister(struct raw_notifier_head *nh, raw_notifier_chain_unregister() argument
367 return notifier_chain_unregister(&nh->head, n); raw_notifier_chain_unregister()
373 * @nh: Pointer to head of the raw notifier chain
390 int __raw_notifier_call_chain(struct raw_notifier_head *nh, __raw_notifier_call_chain() argument
394 return notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); __raw_notifier_call_chain()
398 int raw_notifier_call_chain(struct raw_notifier_head *nh, raw_notifier_call_chain() argument
401 return __raw_notifier_call_chain(nh, val, v, -1, NULL); raw_notifier_call_chain()
413 * @nh: Pointer to head of the SRCU notifier chain
421 int srcu_notifier_chain_register(struct srcu_notifier_head *nh, srcu_notifier_chain_register() argument
432 return notifier_chain_register(&nh->head, n); srcu_notifier_chain_register()
434 mutex_lock(&nh->mutex); srcu_notifier_chain_register()
435 ret = notifier_chain_register(&nh->head, n); srcu_notifier_chain_register()
436 mutex_unlock(&nh->mutex); srcu_notifier_chain_register()
443 * @nh: Pointer to head of the SRCU notifier chain
451 int srcu_notifier_chain_unregister(struct srcu_notifier_head *nh, srcu_notifier_chain_unregister() argument
462 return notifier_chain_unregister(&nh->head, n); srcu_notifier_chain_unregister()
464 mutex_lock(&nh->mutex); srcu_notifier_chain_unregister()
465 ret = notifier_chain_unregister(&nh->head, n); srcu_notifier_chain_unregister()
466 mutex_unlock(&nh->mutex); srcu_notifier_chain_unregister()
467 synchronize_srcu(&nh->srcu); srcu_notifier_chain_unregister()
474 * @nh: Pointer to head of the SRCU notifier chain
490 int __srcu_notifier_call_chain(struct srcu_notifier_head *nh, __srcu_notifier_call_chain() argument
497 idx = srcu_read_lock(&nh->srcu); __srcu_notifier_call_chain()
498 ret = notifier_call_chain(&nh->head, val, v, nr_to_call, nr_calls); __srcu_notifier_call_chain()
499 srcu_read_unlock(&nh->srcu, idx); __srcu_notifier_call_chain()
504 int srcu_notifier_call_chain(struct srcu_notifier_head *nh, srcu_notifier_call_chain() argument
507 return __srcu_notifier_call_chain(nh, val, v, -1, NULL); srcu_notifier_call_chain()
513 * @nh: Pointer to head of the srcu notifier chain
523 void srcu_init_notifier_head(struct srcu_notifier_head *nh) srcu_init_notifier_head() argument
525 mutex_init(&nh->mutex); srcu_init_notifier_head()
526 if (init_srcu_struct(&nh->srcu) < 0) srcu_init_notifier_head()
528 nh->head = NULL; srcu_init_notifier_head()
/linux-4.1.27/net/decnet/
H A 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) change_nexthops()
94 dev_put(nh->nh_dev); change_nexthops()
95 nh->nh_dev = NULL; change_nexthops()
121 if (nh->nh_oif != onh->nh_oif || for_nexthops()
122 nh->nh_gw != onh->nh_gw || for_nexthops()
123 nh->nh_scope != onh->nh_scope || for_nexthops()
124 nh->nh_weight != onh->nh_weight || for_nexthops()
125 ((nh->nh_flags^onh->nh_flags)&~RTNH_F_DEAD)) for_nexthops()
174 nh->nh_flags = (r->rtm_flags&~0xFF) | nhp->rtnh_flags; change_nexthops()
175 nh->nh_oif = nhp->rtnh_ifindex; change_nexthops()
176 nh->nh_weight = nhp->rtnh_hops + 1; change_nexthops()
182 nh->nh_gw = gw_attr ? nla_get_le16(gw_attr) : 0; change_nexthops()
191 static int dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) dn_fib_check_nh() argument
195 if (nh->nh_gw) { dn_fib_check_nh()
199 if (nh->nh_flags&RTNH_F_ONLINK) { dn_fib_check_nh()
204 if (dnet_addr_type(nh->nh_gw) != RTN_UNICAST) dn_fib_check_nh()
206 if ((dev = __dev_get_by_index(&init_net, nh->nh_oif)) == NULL) dn_fib_check_nh()
210 nh->nh_dev = dev; dn_fib_check_nh()
212 nh->nh_scope = RT_SCOPE_LINK; dn_fib_check_nh()
217 fld.daddr = nh->nh_gw; dn_fib_check_nh()
218 fld.flowidn_oif = nh->nh_oif; dn_fib_check_nh()
230 nh->nh_scope = res.scope; dn_fib_check_nh()
231 nh->nh_oif = DN_FIB_RES_OIF(res); dn_fib_check_nh()
232 nh->nh_dev = DN_FIB_RES_DEV(res); dn_fib_check_nh()
233 if (nh->nh_dev == NULL) dn_fib_check_nh()
235 dev_hold(nh->nh_dev); dn_fib_check_nh()
237 if (!(nh->nh_dev->flags & IFF_UP)) dn_fib_check_nh()
246 if (nh->nh_flags&(RTNH_F_PERVASIVE|RTNH_F_ONLINK)) dn_fib_check_nh()
249 dev = __dev_get_by_index(&init_net, nh->nh_oif); dn_fib_check_nh()
254 nh->nh_dev = dev; dn_fib_check_nh()
255 dev_hold(nh->nh_dev); dn_fib_check_nh()
256 nh->nh_scope = RT_SCOPE_HOST; dn_fib_check_nh()
325 struct dn_fib_nh *nh = fi->fib_nh; local
328 nh->nh_oif = nla_get_u32(attrs[RTA_OIF]);
331 nh->nh_gw = nla_get_le16(attrs[RTA_GATEWAY]);
333 nh->nh_flags = r->rtm_flags;
334 nh->nh_weight = 1;
356 struct dn_fib_nh *nh = fi->fib_nh; local
359 if (nhs != 1 || nh->nh_gw)
361 nh->nh_scope = RT_SCOPE_NOWHERE;
362 nh->nh_dev = dev_get_by_index(&init_net, fi->fib_nh->nh_oif);
364 if (nh->nh_dev == NULL)
368 if ((err = dn_fib_check_nh(r, fi, nh)) != 0) change_nexthops()
430 if (nh->nh_flags & RTNH_F_DEAD) for_nexthops()
433 fld->flowidn_oif == nh->nh_oif) for_nexthops()
463 if (!(nh->nh_flags&RTNH_F_DEAD)) { change_nexthops()
464 power += nh->nh_weight; change_nexthops()
465 nh->nh_power = nh->nh_weight; change_nexthops()
479 if (!(nh->nh_flags&RTNH_F_DEAD) && nh->nh_power) { change_nexthops()
480 if ((w -= nh->nh_power) <= 0) { change_nexthops()
481 nh->nh_power--; change_nexthops()
711 if (nh->nh_flags&RTNH_F_DEAD) change_nexthops()
713 else if (nh->nh_dev == dev && change_nexthops()
714 nh->nh_scope != scope) { change_nexthops()
716 nh->nh_flags |= RTNH_F_DEAD; change_nexthops()
717 fi->fib_power -= nh->nh_power; change_nexthops()
718 nh->nh_power = 0; change_nexthops()
744 if (!(nh->nh_flags&RTNH_F_DEAD)) { change_nexthops()
748 if (nh->nh_dev == NULL || !(nh->nh_dev->flags&IFF_UP)) change_nexthops()
750 if (nh->nh_dev != dev || dev->dn_ptr == NULL) change_nexthops()
754 nh->nh_power = 0; change_nexthops()
755 nh->nh_flags &= ~RTNH_F_DEAD; change_nexthops()
H A 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) for_nexthops()
263 if (gw && gw != nh->nh_gw) for_nexthops()
356 nhp->rtnh_flags = nh->nh_flags & 0xFF; for_nexthops()
357 nhp->rtnh_hops = nh->nh_weight - 1; for_nexthops()
358 nhp->rtnh_ifindex = nh->nh_oif; for_nexthops()
360 if (nh->nh_gw && for_nexthops()
361 nla_put_le16(skb, RTA_GATEWAY, nh->nh_gw) < 0) for_nexthops()
/linux-4.1.27/include/linux/
H A 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,
140 extern int atomic_notifier_call_chain(struct atomic_notifier_head *nh,
142 extern int __atomic_notifier_call_chain(struct atomic_notifier_head *nh,
144 extern int blocking_notifier_call_chain(struct blocking_notifier_head *nh,
146 extern int __blocking_notifier_call_chain(struct blocking_notifier_head *nh,
148 extern int raw_notifier_call_chain(struct raw_notifier_head *nh,
150 extern int __raw_notifier_call_chain(struct raw_notifier_head *nh,
152 extern int srcu_notifier_call_chain(struct srcu_notifier_head *nh,
154 extern int __srcu_notifier_call_chain(struct srcu_notifier_head *nh,
H A Dextcon.h99 * @nh: Notifier for the state change events from this extcon
125 struct raw_notifier_head nh; member in struct:extcon_dev
H A Dipv6.h92 as offsets from skb->nh.
/linux-4.1.27/net/ipv4/
H A 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) free_nh_exceptions() argument
163 hash = rcu_dereference_protected(nh->nh_exceptions, 1); free_nh_exceptions()
260 if (nh->nh_oif != onh->nh_oif || for_nexthops()
261 nh->nh_gw != onh->nh_gw || for_nexthops()
262 nh->nh_scope != onh->nh_scope || for_nexthops()
264 nh->nh_weight != onh->nh_weight || for_nexthops()
267 nh->nh_tclassid != onh->nh_tclassid || for_nexthops()
269 ((nh->nh_flags ^ onh->nh_flags) & ~RTNH_F_DEAD)) for_nexthops()
294 val ^= fib_devindex_hashfn(nh->nh_oif); for_nexthops()
335 struct fib_nh *nh; ip_fib_check_default() local
342 hlist_for_each_entry(nh, head, nh_hash) { hlist_for_each_entry()
343 if (nh->nh_dev == dev && hlist_for_each_entry()
344 nh->nh_gw == gw && hlist_for_each_entry()
345 !(nh->nh_flags & RTNH_F_DEAD)) { hlist_for_each_entry()
518 if (rtnh->rtnh_ifindex && rtnh->rtnh_ifindex != nh->nh_oif) for_nexthops()
526 if (nla && nla_get_in_addr(nla) != nh->nh_gw) for_nexthops()
530 if (nla && nla_get_u32(nla) != nh->nh_tclassid) for_nexthops()
586 struct fib_nh *nh) fib_check_nh()
593 if (nh->nh_gw) { fib_check_nh()
596 if (nh->nh_flags & RTNH_F_ONLINK) { fib_check_nh()
600 if (inet_addr_type(net, nh->nh_gw) != RTN_UNICAST) fib_check_nh()
602 dev = __dev_get_by_index(net, nh->nh_oif); fib_check_nh()
607 nh->nh_dev = dev; fib_check_nh()
609 nh->nh_scope = RT_SCOPE_LINK; fib_check_nh()
615 .daddr = nh->nh_gw, fib_check_nh()
617 .flowi4_oif = nh->nh_oif, fib_check_nh()
633 nh->nh_scope = res.scope; fib_check_nh()
634 nh->nh_oif = FIB_RES_OIF(res); fib_check_nh()
635 nh->nh_dev = dev = FIB_RES_DEV(res); fib_check_nh()
643 if (nh->nh_flags & (RTNH_F_PERVASIVE | RTNH_F_ONLINK)) fib_check_nh()
648 in_dev = inetdev_by_index(net, nh->nh_oif); fib_check_nh()
654 nh->nh_dev = in_dev->dev; fib_check_nh()
655 dev_hold(nh->nh_dev); fib_check_nh()
656 nh->nh_scope = RT_SCOPE_HOST; fib_check_nh()
750 __be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh) fib_info_update_nh_saddr() argument
752 nh->nh_saddr = inet_select_addr(nh->nh_dev, fib_info_update_nh_saddr()
753 nh->nh_gw, fib_info_update_nh_saddr()
754 nh->nh_parent->fib_scope); fib_info_update_nh_saddr()
755 nh->nh_saddr_genid = atomic_read(&net->ipv4.dev_addr_genid); fib_info_update_nh_saddr()
757 return nh->nh_saddr; fib_info_update_nh_saddr()
880 struct fib_nh *nh = fi->fib_nh; local
882 nh->nh_oif = cfg->fc_oif;
883 nh->nh_gw = cfg->fc_gw;
884 nh->nh_flags = cfg->fc_flags;
886 nh->nh_tclassid = cfg->fc_flow;
887 if (nh->nh_tclassid)
891 nh->nh_weight = 1;
916 struct fib_nh *nh = fi->fib_nh; local
919 if (nhs != 1 || nh->nh_gw)
921 nh->nh_scope = RT_SCOPE_NOWHERE;
922 nh->nh_dev = dev_get_by_index(net, fi->fib_nh->nh_oif);
924 if (!nh->nh_dev)
1056 rtnh->rtnh_flags = nh->nh_flags & 0xFF; for_nexthops()
1057 rtnh->rtnh_hops = nh->nh_weight - 1; for_nexthops()
1058 rtnh->rtnh_ifindex = nh->nh_oif; for_nexthops()
1060 if (nh->nh_gw && for_nexthops()
1061 nla_put_in_addr(skb, RTA_GATEWAY, nh->nh_gw)) for_nexthops()
1064 if (nh->nh_tclassid && for_nexthops()
1065 nla_put_u32(skb, RTA_FLOW, nh->nh_tclassid)) for_nexthops()
1117 struct fib_nh *nh; fib_sync_down_dev() local
1122 hlist_for_each_entry(nh, head, nh_hash) { hlist_for_each_entry()
1123 struct fib_info *fi = nh->nh_parent; hlist_for_each_entry()
1127 if (nh->nh_dev != dev || fi == prev_fi) hlist_for_each_entry()
1228 struct fib_nh *nh; fib_sync_up() local
1239 hlist_for_each_entry(nh, head, nh_hash) { hlist_for_each_entry()
1240 struct fib_info *fi = nh->nh_parent; hlist_for_each_entry()
1244 if (nh->nh_dev != dev || fi == prev_fi) hlist_for_each_entry()
585 fib_check_nh(struct fib_config *cfg, struct fib_info *fi, struct fib_nh *nh) fib_check_nh() argument
H A Dxfrm4_mode_transport.c39 * On entry, skb->h shall point to where the IP header should be and skb->nh
H A Droute.c619 static void update_or_create_fnhe(struct fib_nh *nh, __be32 daddr, __be32 gw, update_or_create_fnhe() argument
631 hash = rcu_dereference(nh->nh_exceptions); update_or_create_fnhe()
636 rcu_assign_pointer(nh->nh_exceptions, hash); update_or_create_fnhe()
674 fnhe->fnhe_genid = fnhe_genid(dev_net(nh->nh_dev)); update_or_create_fnhe()
684 rt = rcu_dereference(nh->nh_rth_input); update_or_create_fnhe()
690 prt = per_cpu_ptr(nh->nh_pcpu_rth_output, i); for_each_possible_cpu()
754 struct fib_nh *nh = &FIB_RES_NH(res); __ip_do_redirect() local
756 update_or_create_fnhe(nh, fl4->daddr, new_gw, __ip_do_redirect()
982 struct fib_nh *nh = &FIB_RES_NH(res); __ip_rt_update_pmtu() local
984 update_or_create_fnhe(nh, fl4->daddr, 0, mtu, __ip_rt_update_pmtu()
1247 static struct fib_nh_exception *find_exception(struct fib_nh *nh, __be32 daddr) find_exception() argument
1249 struct fnhe_hash_bucket *hash = rcu_dereference(nh->nh_exceptions); find_exception()
1310 static bool rt_cache_route(struct fib_nh *nh, struct rtable *rt) rt_cache_route() argument
1316 p = (struct rtable **)&nh->nh_rth_input; rt_cache_route()
1318 p = (struct rtable **)raw_cpu_ptr(nh->nh_pcpu_rth_output); rt_cache_route()
1399 struct fib_nh *nh = &FIB_RES_NH(*res); rt_set_nexthop() local
1401 if (nh->nh_gw && nh->nh_scope == RT_SCOPE_LINK) { rt_set_nexthop()
1402 rt->rt_gateway = nh->nh_gw; rt_set_nexthop()
1407 rt->dst.tclassid = nh->nh_tclassid; rt_set_nexthop()
1412 cached = rt_cache_route(nh, rt); rt_set_nexthop()
1542 static void ip_del_fnhe(struct fib_nh *nh, __be32 daddr) ip_del_fnhe() argument
1550 hash = rcu_dereference_protected(nh->nh_exceptions, ip_del_fnhe()
1985 struct fib_nh *nh = &FIB_RES_NH(*res); __mkroute_output() local
1987 fnhe = find_exception(nh, fl4->daddr); __mkroute_output()
1993 ip_del_fnhe(nh, fl4->daddr); __mkroute_output()
2002 !(nh->nh_gw && __mkroute_output()
2003 nh->nh_scope == RT_SCOPE_LINK))) { __mkroute_output()
2007 prth = raw_cpu_ptr(nh->nh_pcpu_rth_output); __mkroute_output()
H A Dicmp.c960 int nh; icmp_rcv() local
969 nh = skb_network_offset(skb); icmp_rcv()
975 skb_set_network_header(skb, nh); icmp_rcv()
H A Dfib_frontend.c335 struct fib_nh *nh = &res.fi->fib_nh[ret]; __fib_validate_source() local
337 if (nh->nh_dev == dev) { __fib_validate_source()
H A Dfib_trie.c1408 const struct fib_nh *nh = &fi->fib_nh[nhsel]; fib_table_lookup() local
1410 if (nh->nh_flags & RTNH_F_DEAD) fib_table_lookup()
1412 if (flp->flowi4_oif && flp->flowi4_oif != nh->nh_oif) fib_table_lookup()
/linux-4.1.27/arch/arm/vfp/
H A Dvfp.h47 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) add128() argument
53 : "=r" (nl), "=r" (nh) add128()
54 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) add128()
56 *resh = nh; add128()
60 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) sub128() argument
66 : "=r" (nl), "=r" (nh) sub128()
67 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) sub128()
69 *resh = nh; sub128()
75 u32 nh, nl, mh, ml; mul64to128() local
82 nh = n >> 32; mul64to128()
83 rma = (u64)nh * ml; mul64to128()
89 rh = (u64)nh * mh; mul64to128()
113 static inline u64 vfp_estimate_div128to64(u64 nh, u64 nl, u64 m) vfp_estimate_div128to64() argument
117 if (nh >= m) vfp_estimate_div128to64()
120 if (mh << 32 <= nh) { vfp_estimate_div128to64()
123 z = nh; vfp_estimate_div128to64()
128 sub128(&remh, &reml, nh, nl, termh, terml); vfp_estimate_div128to64()
/linux-4.1.27/net/ipv6/
H A Dxfrm6_policy.c134 const unsigned char *nh = skb_network_header(skb); _decode_session6() local
142 nexthdr = nh[nhoff]; _decode_session6()
154 while (nh + offset + 1 < skb->data || _decode_session6()
155 pskb_may_pull(skb, nh + offset + 1 - skb->data)) { _decode_session6()
156 nh = skb_network_header(skb); _decode_session6()
157 exthdr = (struct ipv6_opt_hdr *)(nh + offset); _decode_session6()
167 exthdr = (struct ipv6_opt_hdr *)(nh + offset); _decode_session6()
175 if (!onlyproto && (nh + offset + 4 < skb->data || _decode_session6()
176 pskb_may_pull(skb, nh + offset + 4 - skb->data))) { _decode_session6()
179 nh = skb_network_header(skb); _decode_session6()
180 ports = (__be16 *)(nh + offset); _decode_session6()
188 if (!onlyproto && pskb_may_pull(skb, nh + offset + 2 - skb->data)) { _decode_session6()
191 nh = skb_network_header(skb); _decode_session6()
192 icmp = (u8 *)(nh + offset); _decode_session6()
202 if (!onlyproto && pskb_may_pull(skb, nh + offset + 3 - skb->data)) { _decode_session6()
205 nh = skb_network_header(skb); _decode_session6()
206 mh = (struct ip6_mh *)(nh + offset); _decode_session6()
H A Dexthdrs.c100 const unsigned char *nh = skb_network_header(skb); ip6_parse_tlv() local
112 int optlen = nh[off + 1] + 2; ip6_parse_tlv()
115 switch (nh[off]) { ip6_parse_tlv()
137 if (nh[off + i] != 0) ip6_parse_tlv()
146 if (curr->type == nh[off]) { ip6_parse_tlv()
547 const unsigned char *nh = skb_network_header(skb); ipv6_hop_ra() local
549 if (nh[optoff + 1] == 2) { ipv6_hop_ra()
551 memcpy(&IP6CB(skb)->ra, nh + optoff + 2, sizeof(IP6CB(skb)->ra)); ipv6_hop_ra()
555 nh[optoff + 1]); ipv6_hop_ra()
564 const unsigned char *nh = skb_network_header(skb); ipv6_hop_jumbo() local
568 if (nh[optoff + 1] != 4 || (optoff & 3) != 2) { ipv6_hop_jumbo()
570 nh[optoff+1]); ipv6_hop_jumbo()
576 pkt_len = ntohl(*(__be32 *)(nh + optoff + 2)); ipv6_hop_jumbo()
H A Ddatagram.c418 const unsigned char *nh = skb_network_header(skb); ipv6_recv_error() local
423 const struct ipv6hdr *ip6h = container_of((struct in6_addr *)(nh + serr->addr_offset), ipv6_recv_error()
432 ipv6_addr_set_v4mapped(*(__be32 *)(nh + serr->addr_offset), ipv6_recv_error()
557 unsigned char *nh = skb_network_header(skb); ip6_datagram_recv_specific_ctl() local
570 __be32 flowinfo = ip6_flowinfo((struct ipv6hdr *)nh); ip6_datagram_recv_specific_ctl()
577 u8 *ptr = nh + opt->hop; ip6_datagram_recv_specific_ctl()
597 u8 *ptr = nh + off; ip6_datagram_recv_specific_ctl()
639 u8 *ptr = nh + opt->hop; ip6_datagram_recv_specific_ctl()
643 u8 *ptr = nh + opt->dst0; ip6_datagram_recv_specific_ctl()
647 struct ipv6_rt_hdr *rthdr = (struct ipv6_rt_hdr *)(nh + opt->srcrt); ip6_datagram_recv_specific_ctl()
651 u8 *ptr = nh + opt->dst1; ip6_datagram_recv_specific_ctl()
H A Dexthdrs_core.c117 const unsigned char *nh = skb_network_header(skb); ipv6_find_tlv() local
124 hdr = (struct ipv6_opt_hdr *)(nh + offset); ipv6_find_tlv()
134 int opttype = nh[offset]; ipv6_find_tlv()
145 optlen = nh[offset + 1] + 2; ipv6_find_tlv()
H A Dxfrm6_mode_transport.c43 * On entry, skb->h shall point to where the IP header should be and skb->nh
H A Droute.c2529 struct rt6_nh *nh; ip6_print_replace_route_err() local
2531 list_for_each_entry(nh, rt6_nh_list, next) { list_for_each_entry()
2533 &nh->r_cfg.fc_dst, &nh->r_cfg.fc_gateway, list_for_each_entry()
2534 nh->r_cfg.fc_ifindex); list_for_each_entry()
2541 struct rt6_nh *nh; ip6_route_info_append() local
2545 list_for_each_entry(nh, rt6_nh_list, next) { list_for_each_entry()
2547 rtnh = nh->rt6_info; list_for_each_entry()
2556 nh = kzalloc(sizeof(*nh), GFP_KERNEL);
2557 if (!nh)
2559 nh->rt6_info = rt;
2560 err = ip6_convert_metrics(&nh->mxc, r_cfg);
2562 kfree(nh);
2565 memcpy(&nh->r_cfg, r_cfg, sizeof(*r_cfg));
2566 list_add_tail(&nh->next, rt6_nh_list);
2577 struct rt6_nh *nh, *nh_safe; ip6_route_multipath_add() local
2622 list_for_each_entry(nh, &rt6_nh_list, next) { ip6_route_multipath_add()
2623 err = __ip6_ins_rt(nh->rt6_info, &cfg->fc_nlinfo, &nh->mxc); ip6_route_multipath_add()
2624 /* nh->rt6_info is used or freed at this point, reset to NULL*/ ip6_route_multipath_add()
2625 nh->rt6_info = NULL; ip6_route_multipath_add()
2629 err_nh = nh; ip6_route_multipath_add()
2649 list_for_each_entry(nh, &rt6_nh_list, next) { ip6_route_multipath_add()
2650 if (err_nh == nh) ip6_route_multipath_add()
2652 ip6_route_del(&nh->r_cfg); ip6_route_multipath_add()
2656 list_for_each_entry_safe(nh, nh_safe, &rt6_nh_list, next) { ip6_route_multipath_add()
2657 if (nh->rt6_info) ip6_route_multipath_add()
2658 dst_free(&nh->rt6_info->dst); ip6_route_multipath_add()
2659 if (nh->mxc.mx) ip6_route_multipath_add()
2660 kfree(nh->mxc.mx); ip6_route_multipath_add()
2661 list_del(&nh->next); ip6_route_multipath_add()
2662 kfree(nh); ip6_route_multipath_add()
H A Dmip6.c270 const unsigned char *nh = skb_network_header(skb); mip6_destopt_offset() local
306 exthdr = (struct ipv6_opt_hdr *)(nh + offset); mip6_destopt_offset()
406 const unsigned char *nh = skb_network_header(skb); mip6_rthdr_offset() local
421 rt = (struct ipv6_rt_hdr *)(nh + offset); mip6_rthdr_offset()
441 exthdr = (struct ipv6_opt_hdr *)(nh + offset); mip6_rthdr_offset()
H A Dicmp.c686 int nh; icmpv6_rcv() local
695 nh = skb_network_offset(skb); icmpv6_rcv()
701 skb_set_network_header(skb, nh); icmpv6_rcv()
H A Dreassembly.c237 const unsigned char *nh = skb_network_header(skb); ip6_frag_queue() local
239 csum_partial(nh, (u8 *)(fhdr + 1) - nh, ip6_frag_queue()
/linux-4.1.27/net/openvswitch/
H A Dactions.c276 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, set_ip_addr() argument
281 if (nh->protocol == IPPROTO_TCP) { set_ip_addr()
285 } else if (nh->protocol == IPPROTO_UDP) { set_ip_addr()
298 csum_replace4(&nh->check, *addr, new_addr); set_ip_addr()
350 static void set_ipv6_fl(struct ipv6hdr *nh, u32 fl, u32 mask) set_ipv6_fl() argument
353 SET_MASKED(nh->flow_lbl[0], (u8)(fl >> 16), (u8)(mask >> 16)); set_ipv6_fl()
354 SET_MASKED(nh->flow_lbl[1], (u8)(fl >> 8), (u8)(mask >> 8)); set_ipv6_fl()
355 SET_MASKED(nh->flow_lbl[2], (u8)fl, (u8)mask); set_ipv6_fl()
358 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, set_ip_ttl() argument
361 new_ttl = MASKED(nh->ttl, new_ttl, mask); set_ip_ttl()
363 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); set_ip_ttl()
364 nh->ttl = new_ttl; set_ip_ttl()
371 struct iphdr *nh; set_ipv4() local
380 nh = ip_hdr(skb); set_ipv4()
387 new_addr = MASKED(nh->saddr, key->ipv4_src, mask->ipv4_src); set_ipv4()
389 if (unlikely(new_addr != nh->saddr)) { set_ipv4()
390 set_ip_addr(skb, nh, &nh->saddr, new_addr); set_ipv4()
395 new_addr = MASKED(nh->daddr, key->ipv4_dst, mask->ipv4_dst); set_ipv4()
397 if (unlikely(new_addr != nh->daddr)) { set_ipv4()
398 set_ip_addr(skb, nh, &nh->daddr, new_addr); set_ipv4()
403 ipv4_change_dsfield(nh, ~mask->ipv4_tos, key->ipv4_tos); set_ipv4()
404 flow_key->ip.tos = nh->tos; set_ipv4()
407 set_ip_ttl(skb, nh, key->ipv4_ttl, mask->ipv4_ttl); set_ipv4()
408 flow_key->ip.ttl = nh->ttl; set_ipv4()
423 struct ipv6hdr *nh; set_ipv6() local
431 nh = ipv6_hdr(skb); set_ipv6()
438 __be32 *saddr = (__be32 *)&nh->saddr; set_ipv6()
454 __be32 *daddr = (__be32 *)&nh->daddr; set_ipv6()
460 if (ipv6_ext_hdr(nh->nexthdr)) set_ipv6()
473 ipv6_change_dsfield(nh, ~mask->ipv6_tclass, key->ipv6_tclass); set_ipv6()
474 flow_key->ip.tos = ipv6_get_dsfield(nh); set_ipv6()
477 set_ipv6_fl(nh, ntohl(key->ipv6_label), set_ipv6()
480 *(__be32 *)nh & htonl(IPV6_FLOWINFO_FLOWLABEL); set_ipv6()
483 SET_MASKED(nh->hop_limit, key->ipv6_hlimit, mask->ipv6_hlimit); set_ipv6()
484 flow_key->ip.ttl = nh->hop_limit; set_ipv6()
H A Dflow.c253 struct ipv6hdr *nh; parse_ipv6hdr() local
258 err = check_header(skb, nh_ofs + sizeof(*nh)); parse_ipv6hdr()
262 nh = ipv6_hdr(skb); parse_ipv6hdr()
263 nexthdr = nh->nexthdr; parse_ipv6hdr()
264 payload_ofs = (u8 *)(nh + 1) - skb->data; parse_ipv6hdr()
267 key->ip.tos = ipv6_get_dsfield(nh); parse_ipv6hdr()
268 key->ip.ttl = nh->hop_limit; parse_ipv6hdr()
269 key->ipv6.label = *(__be32 *)nh & htonl(IPV6_FLOWINFO_FLOWLABEL); parse_ipv6hdr()
270 key->ipv6.addr.src = nh->saddr; parse_ipv6hdr()
271 key->ipv6.addr.dst = nh->daddr; parse_ipv6hdr()
493 struct iphdr *nh; key_extract() local
507 nh = ip_hdr(skb); key_extract()
508 key->ipv4.addr.src = nh->saddr; key_extract()
509 key->ipv4.addr.dst = nh->daddr; key_extract()
511 key->ip.proto = nh->protocol; key_extract()
512 key->ip.tos = nh->tos; key_extract()
513 key->ip.ttl = nh->ttl; key_extract()
515 offset = nh->frag_off & htons(IP_OFFSET); key_extract()
520 if (nh->frag_off & htons(IP_MF) || key_extract()
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_nat_masquerade_ipv4.c35 __be32 newsrc, nh; nf_nat_masquerade_ipv4() local
52 nh = rt_nexthop(rt, ip_hdr(skb)->daddr); nf_nat_masquerade_ipv4()
53 newsrc = inet_select_addr(out, nh, RT_SCOPE_UNIVERSE); nf_nat_masquerade_ipv4()
H A Dipt_rpfilter.c53 struct fib_nh *nh = &res.fi->fib_nh[ret]; rpfilter_lookup_reverse() local
55 if (nh->nh_dev == dev) { rpfilter_lookup_reverse()
/linux-4.1.27/scripts/dtc/libfdt/
H A Dfdt_sw.c140 struct fdt_node_header *nh; fdt_begin_node() local
145 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); fdt_begin_node()
146 if (! nh) fdt_begin_node()
149 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); fdt_begin_node()
150 memcpy(nh->name, name, namelen); fdt_begin_node()
H A Dfdt_rw.c337 struct fdt_node_header *nh; fdt_add_subnode_namelen() local
359 nh = _fdt_offset_ptr_w(fdt, offset); fdt_add_subnode_namelen()
360 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; fdt_add_subnode_namelen()
362 err = _fdt_splice_struct(fdt, nh, 0, nodelen); fdt_add_subnode_namelen()
366 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); fdt_add_subnode_namelen()
367 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); fdt_add_subnode_namelen()
368 memcpy(nh->name, name, namelen); fdt_add_subnode_namelen()
369 endtag = (uint32_t *)((char *)nh + nodelen - FDT_TAGSIZE); fdt_add_subnode_namelen()
H A Dfdt_ro.c203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); fdt_get_name() local
211 *len = strlen(nh->name); fdt_get_name()
213 return nh->name; fdt_get_name()
/linux-4.1.27/lib/mpi/
H A Dmpi-internal.h137 #define UDIV_QRNND_PREINV(q, r, nh, nl, d, di) \
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); \
H A Dlonglong.h287 #define udiv_qrnnd(q, r, nh, nl, d) \
291 : "1" ((USItype)(nh)), \
486 #define udiv_qrnnd(q, r, nh, nl, d) \
491 __nn.__i.__h = (nh); __nn.__i.__l = (nl); \
845 #define sdiv_qrnnd(q, r, nh, nl, d) \
848 : "r" ((SItype)(nh)), "1" ((SItype)(nl)), "r" ((SItype)(d)))
1363 #define udiv_qrnnd(q, r, nh, nl, d) \
1366 (q) = __MPN(udiv_w_sdiv) (&__r, nh, nl, d); \
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
H A Dfpu.c167 unsigned long long mh, ml, nh, nl; denormal_muld() local
179 nh = mh; denormal_muld()
182 if (nh) { denormal_muld()
183 while (nh) { nh >>= 1; w++;} denormal_muld()
/linux-4.1.27/drivers/devfreq/
H A Ddevfreq.c1132 struct srcu_notifier_head *nh; devfreq_register_opp_notifier() local
1136 nh = dev_pm_opp_get_notifier(dev); devfreq_register_opp_notifier()
1137 if (IS_ERR(nh)) devfreq_register_opp_notifier()
1138 ret = PTR_ERR(nh); devfreq_register_opp_notifier()
1141 ret = srcu_notifier_chain_register(nh, &devfreq->nb); devfreq_register_opp_notifier()
1159 struct srcu_notifier_head *nh; devfreq_unregister_opp_notifier() local
1163 nh = dev_pm_opp_get_notifier(dev); devfreq_unregister_opp_notifier()
1164 if (IS_ERR(nh)) devfreq_unregister_opp_notifier()
1165 ret = PTR_ERR(nh); devfreq_unregister_opp_notifier()
1168 ret = srcu_notifier_chain_unregister(nh, &devfreq->nb); devfreq_unregister_opp_notifier()
/linux-4.1.27/drivers/of/
H A Dunittest.c248 struct node_hash *nh; of_unittest_check_phandles() local
256 hash_for_each_possible(phandle_ht, nh, node, np->phandle) { for_each_of_allnodes()
257 if (nh->np->phandle == np->phandle) { for_each_of_allnodes()
259 np->phandle, nh->np->full_name, np->full_name); for_each_of_allnodes()
265 nh = kzalloc(sizeof(*nh), GFP_KERNEL); for_each_of_allnodes()
266 if (WARN_ON(!nh)) for_each_of_allnodes()
269 nh->np = np; for_each_of_allnodes()
270 hash_add(phandle_ht, &nh->node, np->phandle); for_each_of_allnodes()
277 hash_for_each_safe(phandle_ht, i, tmp, nh, node) { hash_for_each_safe()
278 hash_del(&nh->node); hash_for_each_safe()
279 kfree(nh); hash_for_each_safe()
/linux-4.1.27/net/switchdev/
H A Dswitchdev.c275 const struct fib_nh *nh = &fi->fib_nh[nhsel]; netdev_switch_get_dev_by_nhs() local
277 if (!nh->nh_dev) netdev_switch_get_dev_by_nhs()
280 dev = netdev_switch_get_lowest_dev(nh->nh_dev); netdev_switch_get_dev_by_nhs()
/linux-4.1.27/net/bridge/
H A Dbr_netfilter.c517 const unsigned char *nh = skb_network_header(skb); check_hbh_len() local
518 int off = raw - nh; check_hbh_len()
528 int optlen = nh[off + 1] + 2; check_hbh_len()
530 switch (nh[off]) { check_hbh_len()
539 if (nh[off + 1] != 4 || (off & 3) != 2) check_hbh_len()
541 pkt_len = ntohl(*(__be32 *) (nh + off + 2)); check_hbh_len()
550 nh = skb_network_header(skb); check_hbh_len()
/linux-4.1.27/net/6lowpan/
H A Dnhc.h14 * LOWPAN_NHC - helper macro to generate nh id fields and lowpan_nhc struct
/linux-4.1.27/drivers/extcon/
H A Dextcon.c230 raw_notifier_call_chain(&edev->nh, old_state, edev); extcon_update_state()
469 ret = raw_notifier_chain_register(&obj->edev->nh, extcon_register_interest()
512 ret = raw_notifier_chain_unregister(&obj->edev->nh, &obj->internal_nb); extcon_unregister_interest()
536 ret = raw_notifier_chain_register(&edev->nh, nb); extcon_register_notifier()
555 ret = raw_notifier_chain_unregister(&edev->nh, nb); extcon_unregister_notifier()
867 RAW_INIT_NOTIFIER_HEAD(&edev->nh); extcon_dev_register()
/linux-4.1.27/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c246 const unsigned char *nh = skb_network_header(skb); nf_ct_frag6_queue() local
248 csum_partial(nh, (u8 *)(fhdr + 1) - nh, nf_ct_frag6_queue()
/linux-4.1.27/include/net/
H A Dip_fib.h170 __be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh);
H A Dip_vs.h124 ip_vs_fill_ip4hdr(const void *nh, struct ip_vs_iphdr *iphdr) ip_vs_fill_ip4hdr() argument
126 const struct iphdr *iph = nh; ip_vs_fill_ip4hdr()
/linux-4.1.27/drivers/net/ethernet/tile/
H A Dtilepro.c1688 /* Note that "nh == ih", by definition. */ tile_net_tx_tso()
1689 unsigned char *nh = skb_network_header(skb); tile_net_tx_tso() local
1690 unsigned int eh_len = nh - data; tile_net_tx_tso()
1693 struct tcphdr *th = (struct tcphdr *)(nh + ih_len); tile_net_tx_tso()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_softmac.c134 int nh; enqueue_mgmt() local
136 nh = (ieee->mgmt_queue_head + 1) % MGMT_QUEUE_NUM; enqueue_mgmt()
141 * if (nh == ieee->mgmt_queue_tail) enqueue_mgmt()
144 ieee->mgmt_queue_head = nh; enqueue_mgmt()
145 ieee->mgmt_queue_ring[nh] = skb; enqueue_mgmt()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_softmac.c148 int nh; enqueue_mgmt() local
149 nh = (ieee->mgmt_queue_head +1) % MGMT_QUEUE_NUM; enqueue_mgmt()
155 * if (nh == ieee->mgmt_queue_tail) enqueue_mgmt()
158 ieee->mgmt_queue_head = nh; enqueue_mgmt()
159 ieee->mgmt_queue_ring[nh] = skb; enqueue_mgmt()
/linux-4.1.27/drivers/staging/wlan-ng/
H A Dp80211conv.c223 /* skb->nh.raw = skb->data; */ skb_ether_to_p80211()
/linux-4.1.27/crypto/
H A Dvmac.c497 /* Fill nh key */ vmac_set_key()
/linux-4.1.27/drivers/net/ethernet/rocker/
H A Drocker.c3769 struct fib_nh *nh; rocker_port_fib_ipv4() local
3784 nh = fi->fib_nh; rocker_port_fib_ipv4()
3786 has_gw = !!nh->nh_gw; rocker_port_fib_ipv4()
3790 nh->nh_gw, &index); rocker_port_fib_ipv4()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Diochannel.h477 u32 nhrawoff; /* value used to set skb->nh.raw at IOPart */
/linux-4.1.27/fs/proc/
H A Dtask_mmu.c598 [ilog2(VM_NOHUGEPAGE)] = "nh", show_smap_vma_flags()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dr300_reg.h330 # define R300_2288_R300 0x00750000 /* -- nh */
/linux-4.1.27/drivers/scsi/
H A Dlibiscsi.c2063 "timer reset" : "nh"); iscsi_eh_cmd_timed_out()
/linux-4.1.27/net/packet/
H A Daf_packet.c145 We should set nh.raw on output to correct posistion,
/linux-4.1.27/net/core/
H A Ddev.c1832 /* skb->nh should be correctly list_for_each_entry_rcu()

Completed in 2937 milliseconds