/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/kernel/ |
H A D | notifier.c | 113 * @nh: Pointer to head of the atomic notifier chain 120 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, argument 126 spin_lock_irqsave(&nh->lock, flags); 127 ret = notifier_chain_register(&nh->head, n); 128 spin_unlock_irqrestore(&nh->lock, flags); 135 * @nh: Pointer to head of the atomic notifier chain 142 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, argument 148 spin_lock_irqsave(&nh->lock, flags); 149 ret = notifier_chain_unregister(&nh->head, n); 150 spin_unlock_irqrestore(&nh 175 __atomic_notifier_call_chain(struct atomic_notifier_head *nh, unsigned long val, void *v, int nr_to_call, int *nr_calls) argument 188 atomic_notifier_call_chain(struct atomic_notifier_head *nh, unsigned long val, void *v) argument 210 blocking_notifier_chain_register(struct blocking_notifier_head *nh, struct notifier_block *n) argument 241 blocking_notifier_chain_cond_register(struct blocking_notifier_head *nh, struct notifier_block *n) argument 263 blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, struct notifier_block *n) argument 301 __blocking_notifier_call_chain(struct blocking_notifier_head *nh, unsigned long val, void *v, int nr_to_call, int *nr_calls) argument 322 blocking_notifier_call_chain(struct blocking_notifier_head *nh, unsigned long val, void *v) argument 344 raw_notifier_chain_register(struct raw_notifier_head *nh, struct notifier_block *n) argument 361 raw_notifier_chain_unregister(struct raw_notifier_head *nh, struct notifier_block *n) argument 387 __raw_notifier_call_chain(struct raw_notifier_head *nh, unsigned long val, void *v, int nr_to_call, int *nr_calls) argument 395 raw_notifier_call_chain(struct raw_notifier_head *nh, unsigned long val, void *v) argument 417 srcu_notifier_chain_register(struct srcu_notifier_head *nh, struct notifier_block *n) argument 447 srcu_notifier_chain_unregister(struct srcu_notifier_head *nh, struct notifier_block *n) argument 486 __srcu_notifier_call_chain(struct srcu_notifier_head *nh, unsigned long val, void *v, int nr_to_call, int *nr_calls) argument 500 srcu_notifier_call_chain(struct srcu_notifier_head *nh, unsigned long val, void *v) argument 519 srcu_init_notifier_head(struct srcu_notifier_head *nh) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/kernel/ |
H A D | notifier.c | 113 * @nh: Pointer to head of the atomic notifier chain 120 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, argument 126 spin_lock_irqsave(&nh->lock, flags); 127 ret = notifier_chain_register(&nh->head, n); 128 spin_unlock_irqrestore(&nh->lock, flags); 135 * @nh: Pointer to head of the atomic notifier chain 142 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, argument 148 spin_lock_irqsave(&nh->lock, flags); 149 ret = notifier_chain_unregister(&nh->head, n); 150 spin_unlock_irqrestore(&nh 175 __atomic_notifier_call_chain(struct atomic_notifier_head *nh, unsigned long val, void *v, int nr_to_call, int *nr_calls) argument 188 atomic_notifier_call_chain(struct atomic_notifier_head *nh, unsigned long val, void *v) argument 210 blocking_notifier_chain_register(struct blocking_notifier_head *nh, struct notifier_block *n) argument 241 blocking_notifier_chain_cond_register(struct blocking_notifier_head *nh, struct notifier_block *n) argument 263 blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, struct notifier_block *n) argument 301 __blocking_notifier_call_chain(struct blocking_notifier_head *nh, unsigned long val, void *v, int nr_to_call, int *nr_calls) argument 322 blocking_notifier_call_chain(struct blocking_notifier_head *nh, unsigned long val, void *v) argument 344 raw_notifier_chain_register(struct raw_notifier_head *nh, struct notifier_block *n) argument 361 raw_notifier_chain_unregister(struct raw_notifier_head *nh, struct notifier_block *n) argument 387 __raw_notifier_call_chain(struct raw_notifier_head *nh, unsigned long val, void *v, int nr_to_call, int *nr_calls) argument 395 raw_notifier_call_chain(struct raw_notifier_head *nh, unsigned long val, void *v) argument 417 srcu_notifier_chain_register(struct srcu_notifier_head *nh, struct notifier_block *n) argument 447 srcu_notifier_chain_unregister(struct srcu_notifier_head *nh, struct notifier_block *n) argument 486 __srcu_notifier_call_chain(struct srcu_notifier_head *nh, unsigned long val, void *v, int nr_to_call, int *nr_calls) argument 500 srcu_notifier_call_chain(struct srcu_notifier_head *nh, unsigned long val, void *v) argument 519 srcu_init_notifier_head(struct srcu_notifier_head *nh) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/tests/ |
H A D | test-nexthop-iter.c | 92 struct nexthop *nh; local 94 nh = calloc(sizeof(*nh), 1); 95 assert(nh); 99 nc->current_top->next = nh; 100 nh->prev = nc->current_top; 101 nc->current_top = nh; 105 nc->head = nc->current_top = nh; 108 str_appendf(&nc->repr, "%p\n", nh); 114 struct nexthop *nh; local 177 struct nexthop *nh, *tnh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/tests/ |
H A D | test-nexthop-iter.c | 92 struct nexthop *nh; local 94 nh = calloc(sizeof(*nh), 1); 95 assert(nh); 99 nc->current_top->next = nh; 100 nh->prev = nc->current_top; 101 nc->current_top = nh; 105 nc->head = nc->current_top = nh; 108 str_appendf(&nc->repr, "%p\n", nh); 114 struct nexthop *nh; local 177 struct nexthop *nh, *tnh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/tests/ |
H A D | test-nexthop-iter.c | 92 struct nexthop *nh; local 94 nh = calloc(sizeof(*nh), 1); 95 assert(nh); 99 nc->current_top->next = nh; 100 nh->prev = nc->current_top; 101 nc->current_top = nh; 105 nc->head = nc->current_top = nh; 108 str_appendf(&nc->repr, "%p\n", nh); 114 struct nexthop *nh; local 177 struct nexthop *nh, *tnh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/ |
H A D | notifier.h | 89 extern void srcu_init_notifier_head(struct srcu_notifier_head *nh); 115 extern int atomic_notifier_chain_register(struct atomic_notifier_head *nh, 117 extern int blocking_notifier_chain_register(struct blocking_notifier_head *nh, 119 extern int raw_notifier_chain_register(struct raw_notifier_head *nh, 121 extern int srcu_notifier_chain_register(struct srcu_notifier_head *nh, 125 struct blocking_notifier_head *nh, 128 extern int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, 130 extern int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, 132 extern int raw_notifier_chain_unregister(struct raw_notifier_head *nh, 134 extern int srcu_notifier_chain_unregister(struct srcu_notifier_head *nh, [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/ |
H A D | notifier.h | 89 extern void srcu_init_notifier_head(struct srcu_notifier_head *nh); 115 extern int atomic_notifier_chain_register(struct atomic_notifier_head *nh, 117 extern int blocking_notifier_chain_register(struct blocking_notifier_head *nh, 119 extern int raw_notifier_chain_register(struct raw_notifier_head *nh, 121 extern int srcu_notifier_chain_register(struct srcu_notifier_head *nh, 125 struct blocking_notifier_head *nh, 128 extern int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, 130 extern int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, 132 extern int raw_notifier_chain_unregister(struct raw_notifier_head *nh, 134 extern int srcu_notifier_chain_unregister(struct srcu_notifier_head *nh, [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/decnet/ |
H A D | dn_fib.c | 51 #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) 94 dev_put(nh->nh_dev); 95 nh->nh_dev = NULL; 121 if (nh 199 dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) argument 325 struct dn_fib_nh *nh = fi->fib_nh; local 351 struct dn_fib_nh *nh = fi->fib_nh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/decnet/ |
H A D | dn_fib.c | 51 #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) 94 dev_put(nh->nh_dev); 95 nh->nh_dev = NULL; 121 if (nh 199 dn_fib_check_nh(const struct rtmsg *r, struct dn_fib_info *fi, struct dn_fib_nh *nh) argument 325 struct dn_fib_nh *nh = fi->fib_nh; local 351 struct dn_fib_nh *nh = fi->fib_nh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/ipv4/ |
H A D | fib_semantics.c | 63 #define for_nexthops(fi) { int nhsel; const struct fib_nh * nh; \ 64 for (nhsel=0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) 73 #define for_nexthops(fi) { int nhsel = 0; const struct fib_nh * nh = (fi)->fib_nh; \ 181 if (nh->nh_oif != onh->nh_oif || 182 nh->nh_gw != onh->nh_gw || 183 nh->nh_scope != onh->nh_scope || 185 nh->nh_weight != onh->nh_weight || 188 nh->nh_tclassid != onh->nh_tclassid || 190 ((nh 257 struct fib_nh *nh; local 522 fib_check_nh(struct fib_config *cfg, struct fib_info *fi, struct fib_nh *nh) argument 774 struct fib_nh *nh = fi->fib_nh; local 797 struct fib_nh *nh = fi->fib_nh; local 1066 struct fib_nh *nh; local 1123 struct fib_nh *nh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/ipv4/ |
H A D | fib_semantics.c | 63 #define for_nexthops(fi) { int nhsel; const struct fib_nh * nh; \ 64 for (nhsel=0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) 73 #define for_nexthops(fi) { int nhsel = 0; const struct fib_nh * nh = (fi)->fib_nh; \ 181 if (nh->nh_oif != onh->nh_oif || 182 nh->nh_gw != onh->nh_gw || 183 nh->nh_scope != onh->nh_scope || 185 nh->nh_weight != onh->nh_weight || 188 nh->nh_tclassid != onh->nh_tclassid || 190 ((nh 257 struct fib_nh *nh; local 522 fib_check_nh(struct fib_config *cfg, struct fib_info *fi, struct fib_nh *nh) argument 774 struct fib_nh *nh = fi->fib_nh; local 797 struct fib_nh *nh = fi->fib_nh; local 1066 struct fib_nh *nh; local 1123 struct fib_nh *nh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/vfp/ |
H A D | vfp.h | 47 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) argument 53 : "=r" (nl), "=r" (nh) 54 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) 56 *resh = nh; 60 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) argument 66 : "=r" (nl), "=r" (nh) 67 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) 69 *resh = nh; 75 u32 nh, nl, mh, ml; local 82 nh 113 vfp_estimate_div128to64(u64 nh, u64 nl, u64 m) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/vfp/ |
H A D | vfp.h | 47 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) argument 53 : "=r" (nl), "=r" (nh) 54 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) 56 *resh = nh; 60 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) argument 66 : "=r" (nl), "=r" (nh) 67 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) 69 *resh = nh; 75 u32 nh, nl, mh, ml; local 82 nh 113 vfp_estimate_div128to64(u64 nh, u64 nl, u64 m) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/alpha/boot/ |
H A D | Makefile | 13 vmlinux.nh tools/lxboot tools/bootlx tools/bootph \ 18 $(obj)/bootimage: $(addprefix $(obj)/tools/,mkbb lxboot bootlx) $(obj)/vmlinux.nh 19 ( cat $(obj)/tools/lxboot $(obj)/tools/bootlx $(obj)/vmlinux.nh ) > $@ 24 $(obj)/bootpfile: $(obj)/tools/bootph $(obj)/vmlinux.nh 25 cat $(obj)/tools/bootph $(obj)/vmlinux.nh > $@ 32 $(obj)/bootpzfile: $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz 33 cat $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz > $@ 47 $(obj)/ksize.h: $(obj)/vmlinux.nh FORCE 48 echo "#define KERNEL_SIZE `ls -l $(obj)/vmlinux.nh | awk '{print $$5}'`" > $@T 56 $(obj)/kzsize.h: $(obj)/vmlinux.nh [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/alpha/boot/ |
H A D | Makefile | 13 vmlinux.nh tools/lxboot tools/bootlx tools/bootph \ 18 $(obj)/bootimage: $(addprefix $(obj)/tools/,mkbb lxboot bootlx) $(obj)/vmlinux.nh 19 ( cat $(obj)/tools/lxboot $(obj)/tools/bootlx $(obj)/vmlinux.nh ) > $@ 24 $(obj)/bootpfile: $(obj)/tools/bootph $(obj)/vmlinux.nh 25 cat $(obj)/tools/bootph $(obj)/vmlinux.nh > $@ 32 $(obj)/bootpzfile: $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz 33 cat $(obj)/tools/bootpzh $(obj)/vmlinux.nh.gz > $@ 47 $(obj)/ksize.h: $(obj)/vmlinux.nh FORCE 48 echo "#define KERNEL_SIZE `ls -l $(obj)/vmlinux.nh | awk '{print $$5}'`" > $@T 56 $(obj)/kzsize.h: $(obj)/vmlinux.nh [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/ipv6/ |
H A D | xfrm6_policy.c | 123 const unsigned char *nh = skb_network_header(skb); local 124 u8 nexthdr = nh[IP6CB(skb)->nhoff]; 132 while (nh + offset + 1 < skb->data || 133 pskb_may_pull(skb, nh + offset + 1 - skb->data)) { 134 nh = skb_network_header(skb); 135 exthdr = (struct ipv6_opt_hdr *)(nh + offset); 145 exthdr = (struct ipv6_opt_hdr *)(nh + offset); 153 if (!onlyproto && (nh + offset + 4 < skb->data || 154 pskb_may_pull(skb, nh + offset + 4 - skb->data))) { 164 if (!onlyproto && pskb_may_pull(skb, nh [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/ipv6/ |
H A D | xfrm6_policy.c | 123 const unsigned char *nh = skb_network_header(skb); local 124 u8 nexthdr = nh[IP6CB(skb)->nhoff]; 132 while (nh + offset + 1 < skb->data || 133 pskb_may_pull(skb, nh + offset + 1 - skb->data)) { 134 nh = skb_network_header(skb); 135 exthdr = (struct ipv6_opt_hdr *)(nh + offset); 145 exthdr = (struct ipv6_opt_hdr *)(nh + offset); 153 if (!onlyproto && (nh + offset + 4 < skb->data || 154 pskb_may_pull(skb, nh + offset + 4 - skb->data))) { 164 if (!onlyproto && pskb_may_pull(skb, nh [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/mod_db4/ |
H A D | skiplist.c | 223 int nh=1, ch, stacki; local 242 while(nh < sl->preheight && get_b_rand()) nh++; 244 while(nh <= sl->height && get_b_rand()) nh++; 248 for(;sl->height<nh;sl->height++) { 261 MALLOC_N(skiplistnode*, nh, stack); 271 if(ch<=nh) { 324 int nh=1, ch, compared; local 332 while(nh < s [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/mod_db4/ |
H A D | skiplist.c | 223 int nh=1, ch, stacki; local 242 while(nh < sl->preheight && get_b_rand()) nh++; 244 while(nh <= sl->height && get_b_rand()) nh++; 248 for(;sl->height<nh;sl->height++) { 261 MALLOC_N(skiplistnode*, nh, stack); 271 if(ch<=nh) { 324 int nh=1, ch, compared; local 332 while(nh < s [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/mod_db4/ |
H A D | skiplist.c | 223 int nh=1, ch, stacki; local 242 while(nh < sl->preheight && get_b_rand()) nh++; 244 while(nh <= sl->height && get_b_rand()) nh++; 248 for(;sl->height<nh;sl->height++) { 261 MALLOC_N(skiplistnode*, nh, stack); 271 if(ch<=nh) { 324 int nh=1, ch, compared; local 332 while(nh < s [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/scripts/dtc/libfdt/ |
H A D | fdt_sw.c | 139 struct fdt_node_header *nh; local 144 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); 145 if (! nh) 148 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 149 memcpy(nh->name, name, namelen);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/scripts/dtc/libfdt/ |
H A D | fdt_sw.c | 139 struct fdt_node_header *nh; local 144 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); 145 if (! nh) 148 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 149 memcpy(nh->name, name, namelen);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/isisd/ |
H A D | isis_route.c | 101 struct isis_nexthop *nh; local 103 for (ALL_LIST_ELEMENTS_RO (nexthops, node, nh)) 105 if (!(memcmp (ip, &nh->ip, sizeof (struct in_addr))) && 106 ifindex == nh->ifindex) 115 nexthop_print (struct isis_nexthop *nh) argument 119 inet_ntop (AF_INET, &nh->ip, (char *) buf, BUFSIZ); 121 zlog_debug (" %s %u", buf, nh->ifindex); 128 struct isis_nexthop *nh; local 130 for (ALL_LIST_ELEMENTS_RO (nhs, node, nh)) 131 nexthop_print (nh); 233 struct isis_nexthop *nh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/isisd/ |
H A D | isis_route.c | 101 struct isis_nexthop *nh; local 103 for (ALL_LIST_ELEMENTS_RO (nexthops, node, nh)) 105 if (!(memcmp (ip, &nh->ip, sizeof (struct in_addr))) && 106 ifindex == nh->ifindex) 115 nexthop_print (struct isis_nexthop *nh) argument 119 inet_ntop (AF_INET, &nh->ip, (char *) buf, BUFSIZ); 121 zlog_debug (" %s %u", buf, nh->ifindex); 128 struct isis_nexthop *nh; local 130 for (ALL_LIST_ELEMENTS_RO (nhs, node, nh)) 131 nexthop_print (nh); 233 struct isis_nexthop *nh; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/isisd/ |
H A D | isis_route.c | 101 struct isis_nexthop *nh; local 103 for (ALL_LIST_ELEMENTS_RO (nexthops, node, nh)) 105 if (!(memcmp (ip, &nh->ip, sizeof (struct in_addr))) && 106 ifindex == nh->ifindex) 115 nexthop_print (struct isis_nexthop *nh) argument 119 inet_ntop (AF_INET, &nh->ip, (char *) buf, BUFSIZ); 121 zlog_debug (" %s %u", buf, nh->ifindex); 128 struct isis_nexthop *nh; local 130 for (ALL_LIST_ELEMENTS_RO (nhs, node, nh)) 131 nexthop_print (nh); 233 struct isis_nexthop *nh; local [all...] |