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

12345

/freebsd-10.1-release/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.1-release/sys/ofed/include/linux/
H A Dnetdevice.h74 struct notifier_block *nb; local
76 nb = arg;
78 nb->notifier_call(nb, NETDEV_UP, ifp);
80 nb->notifier_call(nb, NETDEV_DOWN, ifp);
86 struct notifier_block *nb; local
88 nb = arg;
89 nb->notifier_call(nb, NETDEV_REGISTE
95 struct notifier_block *nb; local
104 struct notifier_block *nb; local
113 struct notifier_block *nb; local
120 register_netdevice_notifier(struct notifier_block *nb) argument
136 register_inetaddr_notifier(struct notifier_block *nb) argument
145 unregister_netdevice_notifier(struct notifier_block *nb) argument
159 unregister_inetaddr_notifier(struct notifier_block *nb) argument
[all...]
/freebsd-10.1-release/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.c223 size_t nb; local
246 nb = 1;
247 else if ((nb = _UTF8_mbrtowc(&wc, s, nms, ps)) ==
251 else if (nb == 0 || nb == (size_t)-2)
253 s += nb;
254 nms -= nb;
276 nb = 1;
277 } else if ((nb = _UTF8_mbrtowc(dst, s, nms, ps)) ==
281 } else if (nb
368 size_t nb; local
[all...]
/freebsd-10.1-release/usr.bin/talk/
H A Dio.c67 int nb; local
107 nb = select(32, &read_set, 0, 0, &wait);
112 if (nb <= 0) {
123 nb = read(sockt, buf, sizeof buf);
124 if (nb <= 0) {
128 display(&his_win, buf, nb);
136 ioctl(0, FIONREAD, (void *) &nb);
137 if (nb > (ssize_t)(sizeof buf))
138 nb = sizeof buf;
139 nb
[all...]
/freebsd-10.1-release/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.1-release/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.1-release/sys/arm/broadcom/bcm2835/
H A Dbcm2835_intr.c180 arm_mask_irq(uintptr_t nb) argument
182 dprintf("%s: %d\n", __func__, nb);
184 if (IS_IRQ_BASIC(nb))
185 intc_write_4(INTC_DISABLE_BASIC, (1 << nb));
186 else if (IS_IRQ_BANK1(nb))
187 intc_write_4(INTC_DISABLE_BANK1, (1 << IRQ_BANK1(nb)));
188 else if (IS_IRQ_BANK2(nb))
189 intc_write_4(INTC_DISABLE_BANK2, (1 << IRQ_BANK2(nb)));
191 printf("arm_mask_irq: Invalid IRQ number: %d\n", nb);
195 arm_unmask_irq(uintptr_t nb) argument
[all...]
/freebsd-10.1-release/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.1-release/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.1-release/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), "");
152 struct notify_baton *nb = baton;
153 int n_text = apr_hash_count(nb->conflict_stats->text_conflicts);
154 int n_prop = apr_hash_count(nb->conflict_stats->prop_conflicts);
155 int n_tree = apr_hash_count(nb->conflict_stats->tree_conflicts);
156 int n_text_r = nb->conflict_stats->text_conflicts_resolved;
157 int n_prop_r = nb->conflict_stats->prop_conflicts_resolved;
158 int n_tree_r = nb->conflict_stats->tree_conflicts_resolved;
163 || nb
93 store_path(struct notify_baton *nb, apr_hash_t *hash, const char *path) argument
150 struct notify_baton *nb = baton; local
211 struct notify_baton *nb = baton; local
1166 struct notify_baton *nb = apr_pcalloc(pool, sizeof(*nb)); local
1186 struct notify_baton *nb = baton; local
1195 struct notify_baton *nb = baton; local
1204 struct notify_baton *nb = baton; local
[all...]
/freebsd-10.1-release/contrib/subversion/subversion/svnrdump/
H A Dload_editor.c615 struct node_baton *nb;
622 nb = apr_pcalloc(rb->pool, sizeof(*nb));
623 nb->rb = rb;
625 nb->copyfrom_path = NULL;
626 nb->copyfrom_rev = SVN_INVALID_REVNUM;
676 nb->path = apr_pstrdup(rb->pool, hval);
678 nb->kind = strcmp(hval, "file") == 0 ? svn_node_file : svn_node_dir;
682 nb->action = svn_node_action_add;
684 nb
613 struct node_baton *nb; local
889 struct node_baton *nb = baton; local
963 struct node_baton *nb = baton; local
982 struct node_baton *nb = baton; local
1020 struct node_baton *nb = node_baton; local
1039 struct node_baton *nb = node_baton; local
1053 struct node_baton *nb = baton; local
[all...]
/freebsd-10.1-release/sys/fs/ext2fs/
H A Dext2_balloc.c68 e4fs_daddr_t nb, newb; local
92 nb = ip->i_db[lbn];
95 if (nb != 0 && ip->i_size >= (lbn + 1) * fs->e2fs_bsize) {
101 bp->b_blkno = fsbtodb(fs, nb);
105 if (nb != 0) {
117 bp->b_blkno = fsbtodb(fs, nb);
120 printf("nsize %d(%d) > osize %d(%d) nb %d\n",
122 (int)ip->i_size, (int)nb);
165 nb = ip->i_ib[indirs[0].in_off];
166 if (nb
[all...]
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_repos/
H A Dload-fs-vtable.c362 struct node_baton *nb = apr_pcalloc(pool, sizeof(*nb));
366 nb->rb = rb;
367 nb->pool = pool;
368 nb->kind = svn_node_unknown;
375 nb->path = svn_relpath_join(rb->pb->parent_dir, val, pool);
377 nb->path = val;
383 nb->kind = svn_node_file;
385 nb->kind = svn_node_dir;
388 nb
360 struct node_baton *nb = apr_pcalloc(pool, sizeof(*nb)); local
536 maybe_add_with_history(struct node_baton *nb, struct revision_baton *rb, apr_pool_t *pool) argument
634 struct node_baton *nb; local
734 struct node_baton *nb = baton; local
799 struct node_baton *nb = baton; local
814 struct node_baton *nb = baton; local
844 struct node_baton *nb = node_baton; local
868 struct node_baton *nb = node_baton; local
889 struct node_baton *nb = baton; local
[all...]
/freebsd-10.1-release/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.1-release/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.1-release/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]
549 ufs2_daddr_t nb, newb, *bap, pref; local
[all...]
/freebsd-10.1-release/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.1-release/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.1-release/contrib/subversion/subversion/svndumpfilter/
H A Dsvndumpfilter.c541 struct node_baton_t *nb;
547 nb = *node_baton;
548 nb->rb = rev_baton;
549 pb = nb->rb->pb;
560 nb->do_skip = skip_path(node_path, pb->prefixes,
565 if (nb->do_skip)
571 nb->rb->had_dropped_nodes = TRUE;
614 nb->has_props = FALSE;
615 nb->has_text = FALSE;
616 nb
539 struct node_baton_t *nb; local
717 output_node(struct node_baton_t *nb) argument
884 struct node_baton_t *nb = node_baton; local
915 struct node_baton_t *nb = node_baton; local
938 struct node_baton_t *nb = node_baton; local
952 struct node_baton_t *nb = node_baton; local
970 struct node_baton_t *nb = node_baton; local
[all...]
/freebsd-10.1-release/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.1-release/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...]

Completed in 772 milliseconds

12345