Searched refs:nb (Results 1 - 25 of 114) sorted by relevance

12345

/freebsd-10-stable/sys/ofed/include/net/
H A Dnetevent.h48 struct notifier_block *nb; local
50 nb = arg;
51 nb->notifier_call(nb, NETEVENT_NEIGH_UPDATE, lle);
55 register_netevent_notifier(struct notifier_block *nb) argument
57 nb->tags[NETEVENT_NEIGH_UPDATE] = EVENTHANDLER_REGISTER(
58 lle_event, _handle_arp_update_event, nb, 0);
63 unregister_netevent_notifier(struct notifier_block *nb) argument
66 EVENTHANDLER_DEREGISTER(lle_event, nb->tags[NETEVENT_NEIGH_UPDATE]);
/freebsd-10-stable/sys/ofed/include/linux/
H A Dnetdevice.h89 struct notifier_block *nb; local
91 nb = arg;
93 nb->notifier_call(nb, NETDEV_UP, ifp);
95 nb->notifier_call(nb, NETDEV_DOWN, ifp);
101 struct notifier_block *nb; local
103 nb = arg;
104 nb->notifier_call(nb, NETDEV_REGISTE
110 struct notifier_block *nb; local
119 struct notifier_block *nb; local
128 struct notifier_block *nb; local
135 register_netdevice_notifier(struct notifier_block *nb) argument
151 register_inetaddr_notifier(struct notifier_block *nb) argument
160 unregister_netdevice_notifier(struct notifier_block *nb) argument
174 unregister_inetaddr_notifier(struct notifier_block *nb) argument
[all...]
/freebsd-10-stable/lib/libc/locale/
H A Dwcsnrtombs.c66 size_t nb; local
74 if ((nb = l->__wcrtomb(buf, *s, ps)) == (size_t)-1)
78 return (nbytes + nb - 1);
80 nbytes += nb;
88 if ((nb = l->__wcrtomb(dst, *s, ps)) == (size_t)-1) {
101 if ((nb = l->__wcrtomb(buf, *s, ps)) == (size_t)-1) {
105 if (nb > (int)len) {
110 memcpy(dst, buf, nb);
114 return (nbytes + nb - 1);
117 dst += nb;
[all...]
H A Dmbsnrtowcs.c64 size_t nb; local
72 if ((nb = ct->__mbrtowc(&wc, s, nms, ps)) == (size_t)-1)
75 else if (nb == 0 || nb == (size_t)-2)
77 s += nb;
78 nms -= nb;
85 if ((nb = ct->__mbrtowc(dst, s, nms, ps)) == (size_t)-1) {
88 } else if (nb == (size_t)-2) {
91 } else if (nb == 0) {
95 s += nb;
[all...]
H A Dutf8.c215 size_t nb; local
238 nb = 1;
239 else if ((nb = _UTF8_mbrtowc(&wc, s, nms, ps)) ==
243 else if (nb == 0 || nb == (size_t)-2)
245 s += nb;
246 nms -= nb;
268 nb = 1;
269 } else if ((nb = _UTF8_mbrtowc(dst, s, nms, ps)) ==
273 } else if (nb
358 size_t nb; local
[all...]
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dreadv.c41 ssize_t ret, nb; local
53 nb = ret = read (d, buf, tot);
55 while (nb > 0) {
56 ssize_t cnt = min(nb, iov->iov_len);
60 nb -= cnt;
H A Drecvmsg.c41 ssize_t ret, nb; local
54 nb = ret = recvfrom (s, buf, tot, flags, msg->msg_name, &msg->msg_namelen);
56 while (nb > 0) {
57 ssize_t cnt = min(nb, iov->iov_len);
61 nb -= cnt;
/freebsd-10-stable/sys/arm/lpc/
H A Dlpc_intc.c159 arm_mask_irq(uintptr_t nb) argument
165 lpc_intc_eoi((void *)nb);
167 if (nb > 63) {
168 nb -= 64;
170 } else if (nb > 31) {
171 nb -= 32;
178 value &= ~(1 << nb);
183 arm_unmask_irq(uintptr_t nb) argument
188 if (nb > 63) {
189 nb
207 int nb = (int)data; local
[all...]
/freebsd-10-stable/contrib/ntp/lib/isc/
H A Dtsmemcmp.c40 isc_tsmemcmp(const void *p1, const void *p2, size_t nb) { argument
47 for (/*NOP*/; 0 != nb; --nb, ++ucp1, ++ucp2) {
/freebsd-10-stable/crypto/heimdal/base/
H A Dnumber.c46 int na, nb; local
54 nb = heim_base_tagged_object_value(b);
56 nb = *(int *)b;
58 return na - nb;
/freebsd-10-stable/contrib/subversion/subversion/svnrdump/
H A Dload_editor.c503 struct node_baton *nb;
508 nb = apr_pcalloc(rb->pool, sizeof(*nb));
509 nb->rb = rb;
510 nb->is_added = FALSE;
511 nb->copyfrom_path = NULL;
512 nb->copyfrom_url = NULL;
513 nb->copyfrom_rev = SVN_INVALID_REVNUM;
514 nb->prop_changes = apr_hash_make(rb->pool);
558 nb
501 struct node_baton *nb; local
757 struct node_baton *nb = baton; local
800 struct node_baton *nb = baton; local
825 struct node_baton *nb = baton; local
892 struct node_baton *nb = node_baton; local
910 struct node_baton *nb = node_baton; local
923 struct node_baton *nb = baton; local
[all...]
/freebsd-10-stable/contrib/subversion/subversion/svn/
H A Dnotify.c95 store_path(struct notify_baton *nb, apr_hash_t *hash, const char *path)
97 svn_hash_sets(hash, apr_pstrdup(nb->conflict_stats->stats_pool, path), "");
211 struct notify_baton *nb = baton;
213 SVN_ERR(svn_cl__print_conflict_stats(nb->conflict_stats, scratch_pool));
220 notify_body(struct notify_baton *nb,
237 path_local = svn_cl__local_style_skip_ancestor(nb->path_prefix, n->path,
244 nb->conflict_stats->skipped_paths++;
264 nb->conflict_stats->skipped_paths++;
271 nb->conflict_stats->skipped_paths++;
277 nb
93 store_path(struct notify_baton *nb, apr_hash_t *hash, const char *path) argument
209 struct notify_baton *nb = baton; local
218 notify_body(struct notify_baton *nb, const svn_wc_notify_t *n, apr_pool_t *pool) argument
1083 struct notify_baton *nb = baton; local
1113 struct notify_baton *nb = apr_pcalloc(pool, sizeof(*nb)); local
1133 struct notify_baton *nb = baton; local
1142 struct notify_baton *nb = baton; local
1151 struct notify_baton *nb = baton; local
[all...]
/freebsd-10-stable/contrib/subversion/subversion/svnbench/
H A Dnotify.c73 add_conflicted_path(struct notify_baton *nb, const char *path)
75 apr_hash_set(nb->conflicted_paths,
76 apr_pstrdup(apr_hash_pool_get(nb->conflicted_paths), path),
85 struct notify_baton *nb = baton;
97 else /* skip nb->path_prefix, if it's non-null */
98 path_local = svn_cl__local_style_skip_ancestor(nb->path_prefix, n->path,
105 nb->skipped_paths++;
128 nb->skipped_paths++;
135 nb->skipped_paths++;
142 nb
71 add_conflicted_path(struct notify_baton *nb, const char *path) argument
83 struct notify_baton *nb = baton; local
1017 struct notify_baton *nb = apr_pcalloc(pool, sizeof(*nb)); local
1041 struct notify_baton *nb = baton; local
[all...]
/freebsd-10-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_intr.c205 arm_mask_irq(uintptr_t nb) argument
208 dprintf("%s: %d\n", __func__, nb);
210 if (IS_IRQ_BASIC(nb))
211 intc_write_4(sc, INTC_DISABLE_BASIC, (1 << nb));
212 else if (IS_IRQ_BANK1(nb))
213 intc_write_4(sc, INTC_DISABLE_BANK1, (1 << IRQ_BANK1(nb)));
214 else if (IS_IRQ_BANK2(nb))
215 intc_write_4(sc, INTC_DISABLE_BANK2, (1 << IRQ_BANK2(nb)));
217 else if (ID_IRQ_BCM2836(nb))
218 bcm2836_mask_irq(nb
225 arm_unmask_irq(uintptr_t nb) argument
[all...]
/freebsd-10-stable/sys/fs/ext2fs/
H A Dext2_balloc.c68 e4fs_daddr_t nb, newb; local
91 nb = ip->i_db[lbn];
96 if (nb != 0 && ip->i_size >= (lbn + 1) * fs->e2fs_bsize) {
102 bp->b_blkno = fsbtodb(fs, nb);
106 if (nb != 0) {
118 bp->b_blkno = fsbtodb(fs, nb);
124 printf("nsize %d(%d) > osize %d(%d) nb %d\n",
126 (int)ip->i_size, (int)nb);
169 nb = ip->i_ib[indirs[0].in_off];
170 if (nb
[all...]
/freebsd-10-stable/contrib/subversion/subversion/libsvn_repos/
H A Dload-fs-vtable.c366 struct node_baton *nb = apr_pcalloc(pool, sizeof(*nb));
370 nb->rb = rb;
371 nb->pool = pool;
372 nb->kind = svn_node_unknown;
379 nb->path = svn_relpath_join(rb->pb->parent_dir, val, pool);
381 nb->path = val;
387 nb->kind = svn_node_file;
389 nb->kind = svn_node_dir;
392 nb
364 struct node_baton *nb = apr_pcalloc(pool, sizeof(*nb)); local
560 maybe_add_with_history(struct node_baton *nb, struct revision_baton *rb, apr_pool_t *pool) argument
663 struct node_baton *nb; local
820 struct node_baton *nb = baton; local
883 struct node_baton *nb = baton; local
898 struct node_baton *nb = baton; local
927 struct node_baton *nb = node_baton; local
951 struct node_baton *nb = node_baton; local
972 struct node_baton *nb = baton; local
[all...]
/freebsd-10-stable/contrib/tcpdump/
H A Dprint-netbios.c49 netbios_print(struct p8022Hdr *nb, u_int length) argument
56 if (nb->flags == UI) {
62 if ((u_char *)(nb + 1) > snapend) {
68 netbios_decode(nb, (u_char *)nb + p8022Size, length - p8022Size);
/freebsd-10-stable/usr.sbin/makefs/ffs/
H A Dffs_balloc.c82 int32_t nb; local
111 nb = lastlbn;
112 osize = blksize(fs, ip, nb);
124 nb = ufs_rw32(ip->i_ffs1_db[lbn], needswap);
125 if (nb != 0 && ip->i_ffs1_size >= lblktosize(fs, lbn + 1)) {
144 if (nb != 0) {
219 nb = ufs_rw32(ip->i_ffs1_ib[indirs[0].in_off], needswap);
222 if (nb == 0) {
227 nb = newb;
228 *allocblk++ = nb;
337 daddr_t newb, pref, nb; local
[all...]
/freebsd-10-stable/sys/ufs/ffs/
H A Dffs_balloc.c97 ufs1_daddr_t nb; local
137 nb = lastlbn;
138 osize = blksize(fs, ip, nb);
141 error = ffs_realloccg(ip, nb, dp->di_db[nb],
142 ffs_blkpref_ufs1(ip, lastlbn, (int)nb,
148 softdep_setup_allocdirect(ip, nb,
149 dbtofsb(fs, bp->b_blkno), dp->di_db[nb],
151 ip->i_size = smalllblktosize(fs, nb + 1);
153 dp->di_db[nb]
575 ufs2_daddr_t nb, newb, *bap, pref; local
[all...]
/freebsd-10-stable/crypto/openssl/crypto/bn/asm/
H A Dco-586.pl18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b
36 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b
46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
65 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb);
75 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
101 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb);
159 $nb
[all...]
/freebsd-10-stable/crypto/openssl/crypto/bn/asm/x86/
H A Dcomba.pl6 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
23 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b
24 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b
34 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
53 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb);
63 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
89 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb);
147 $nb
[all...]
/freebsd-10-stable/lib/libc/db/btree/
H A Dbt_overflow.c82 size_t nb, plen; local
106 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) {
110 nb = MIN(sz, plen);
111 memmove(p, (char *)h + BTDATAOFF, nb); local
114 if ((sz -= nb) == 0)
137 size_t nb, plen; local
155 nb = MIN(sz, plen);
156 memmove((char *)h + BTDATAOFF, p, nb);
164 if ((sz -= nb) == 0) {
/freebsd-10-stable/sys/arm/mv/
H A Dic.c200 arm_mask_irq(uintptr_t nb) argument
204 if (nb < 32) {
206 mr &= ~(1 << nb);
209 } else if ((nb < 64) && mv_ic_sc->ic_high_regs) {
211 mr &= ~(1 << (nb - 32));
214 } else if ((nb < 96) && mv_ic_sc->ic_error_regs) {
216 mr &= ~(1 << (nb - 64));
222 arm_unmask_irq(uintptr_t nb) argument
226 if (nb < 32) {
228 mr |= (1 << nb);
[all...]
H A Dmpic.c219 arm_mask_irq(uintptr_t nb) argument
224 if (nb < ERR_IRQ) {
226 MPIC_ICE, nb);
227 MPIC_CPU_WRITE(mv_mpic_sc, MPIC_ISM, nb);
228 } else if (nb < MSI_IRQ)
229 arm_mask_irq_err(nb);
234 arm_mask_irq_err(uintptr_t nb) argument
239 bit_off = nb - ERR_IRQ;
246 arm_unmask_irq(uintptr_t nb) argument
251 if (nb < ERR_IR
263 arm_unmask_irq_err(uintptr_t nb) argument
[all...]
/freebsd-10-stable/contrib/subversion/subversion/svndumpfilter/
H A Dsvndumpfilter.c498 struct node_baton_t *nb;
504 nb = *node_baton;
505 nb->rb = rev_baton;
506 nb->node_pool = pool;
507 pb = nb->rb->pb;
518 nb->do_skip = skip_path(node_path, pb->prefixes,
523 if (nb->do_skip)
529 nb->rb->had_dropped_nodes = TRUE;
572 nb->has_props = FALSE;
573 nb
496 struct node_baton_t *nb; local
781 struct node_baton_t *nb = node_baton; local
815 struct node_baton_t *nb = node_baton; local
842 struct node_baton_t *nb = node_baton; local
855 struct node_baton_t *nb = node_baton; local
886 struct node_baton_t *nb = node_baton; local
[all...]

Completed in 322 milliseconds

12345