/freebsd-11.0-release/sys/compat/linuxkpi/common/include/net/ |
H A D | netevent.h | 52 struct notifier_block *nb; local 54 nb = arg; 55 nb->notifier_call(nb, NETEVENT_NEIGH_UPDATE, lle); 59 register_netevent_notifier(struct notifier_block *nb) argument 61 nb->tags[NETEVENT_NEIGH_UPDATE] = EVENTHANDLER_REGISTER( 62 lle_event, _handle_arp_update_event, nb, 0); 67 unregister_netevent_notifier(struct notifier_block *nb) argument 70 EVENTHANDLER_DEREGISTER(lle_event, nb->tags[NETEVENT_NEIGH_UPDATE]);
|
/freebsd-11.0-release/lib/libc/locale/ |
H A D | wcsnrtombs.c | 69 size_t nb; local 76 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) 80 return (nbytes + nb - 1); 82 nbytes += nb; 90 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) { 103 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) { 107 if (nb > (int)len) { 112 memcpy(dst, buf, nb); 116 return (nbytes + nb - 1); 119 dst += nb; [all...] |
H A D | mbsnrtowcs.c | 67 size_t nb; local 74 if ((nb = pmbrtowc(&wc, s, nms, ps)) == (size_t)-1) 77 else if (nb == 0 || nb == (size_t)-2) 79 s += nb; 80 nms -= nb; 87 if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) { 90 } else if (nb == (size_t)-2) { 93 } else if (nb == 0) { 97 s += nb; [all...] |
H A D | utf8.c | 217 size_t nb; local 240 nb = 1; 241 else if ((nb = _UTF8_mbrtowc(&wc, s, nms, ps)) == 245 else if (nb == 0 || nb == (size_t)-2) 247 s += nb; 248 nms -= nb; 270 nb = 1; 271 } else if ((nb = _UTF8_mbrtowc(dst, s, nms, ps)) == 275 } else if (nb 360 size_t nb; local [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | readv.c | 41 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 D | recvmsg.c | 41 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-11.0-release/sys/arm/amlogic/aml8726/ |
H A D | aml8726_pic.c | 119 uintptr_t nb = (uintptr_t) arg; local 121 if (nb >= AML_PIC_NIRQS) 124 arm_irq_memory_barrier(nb); 126 CSR_WRITE_4(aml8726_pic_sc, AML_PIC_STAT_CLR_REG(nb), AML_PIC_BIT(nb)); 128 CSR_BARRIER(aml8726_pic_sc, AML_PIC_STAT_CLR_REG(nb)); 246 arm_mask_irq(uintptr_t nb) argument 250 if (nb >= AML_PIC_NIRQS) 253 mask = CSR_READ_4(aml8726_pic_sc, AML_PIC_MASK_REG(nb)); 254 mask &= ~AML_PIC_BIT(nb); 263 arm_unmask_irq(uintptr_t nb) argument [all...] |
/freebsd-11.0-release/contrib/ntp/lib/isc/ |
H A D | tsmemcmp.c | 40 isc_tsmemcmp(const void *p1, const void *p2, size_t nb) { argument 47 for (/*NOP*/; 0 != nb; --nb, ++ucp1, ++ucp2) {
|
/freebsd-11.0-release/crypto/heimdal/base/ |
H A D | number.c | 46 int na, nb; local 54 nb = heim_base_tagged_object_value(b); 56 nb = *(int *)b; 58 return na - nb;
|
/freebsd-11.0-release/contrib/subversion/subversion/svnrdump/ |
H A D | load_editor.c | 503 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-11.0-release/contrib/subversion/subversion/svn/ |
H A D | notify.c | 95 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-11.0-release/contrib/subversion/subversion/svnbench/ |
H A D | notify.c | 73 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-11.0-release/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 68 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-11.0-release/contrib/subversion/subversion/libsvn_repos/ |
H A D | load-fs-vtable.c | 366 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-11.0-release/sys/arm/lpc/ |
H A D | lpc_intc.c | 160 arm_mask_irq(uintptr_t nb) argument 167 lpc_intc_eoi((void *)nb); 169 if (nb > 63) { 170 nb -= 64; 172 } else if (nb > 31) { 173 nb -= 32; 180 value &= ~(1 << nb); 185 arm_unmask_irq(uintptr_t nb) argument 191 if (nb > 63) { 192 nb 211 int nb = (int)data; local [all...] |
/freebsd-11.0-release/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 82 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-11.0-release/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 97 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] 551 ufs2_daddr_t nb, newb, *bap, pref; local [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/bn/asm/ |
H A D | co-586.pl | 18 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-11.0-release/crypto/openssl/crypto/bn/asm/x86/ |
H A D | comba.pl | 6 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-11.0-release/lib/libc/db/btree/ |
H A D | bt_overflow.c | 82 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-11.0-release/sys/arm/mv/ |
H A D | ic.c | 200 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...] |
/freebsd-11.0-release/contrib/subversion/subversion/svndumpfilter/ |
H A D | svndumpfilter.c | 498 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...] |
/freebsd-11.0-release/sys/arm/xscale/pxa/ |
H A D | pxa_icu.c | 144 arm_mask_irq(uintptr_t nb) argument 148 if (nb >= IRQ_GPIO0) { 149 pxa_gpio_mask_irq(nb); 154 mr &= ~(1 << nb); 159 arm_unmask_irq(uintptr_t nb) argument 163 if (nb >= IRQ_GPIO0) { 164 pxa_gpio_unmask_irq(nb); 169 mr |= (1 << nb);
|
/freebsd-11.0-release/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_intr.c | 498 arm_mask_irq(uintptr_t nb) argument 501 dprintf("%s: %d\n", __func__, nb); 503 if (IS_IRQ_BASIC(nb)) 504 intc_write_4(sc, INTC_DISABLE_BASIC, (1 << nb)); 505 else if (IS_IRQ_BANK1(nb)) 506 intc_write_4(sc, INTC_DISABLE_BANK1, (1 << IRQ_BANK1(nb))); 507 else if (IS_IRQ_BANK2(nb)) 508 intc_write_4(sc, INTC_DISABLE_BANK2, (1 << IRQ_BANK2(nb))); 510 else if (ID_IRQ_BCM2836(nb)) 511 bcm2836_mask_irq(nb 518 arm_unmask_irq(uintptr_t nb) argument [all...] |
/freebsd-11.0-release/sys/arm/xscale/i8134x/ |
H A D | i81342.c | 262 arm_mask_irq(uintptr_t nb) argument 265 if (nb < 32) { 266 intr_enabled0 &= ~(1 << nb); 268 } else if (nb < 64) { 269 intr_enabled1 &= ~(1 << (nb - 32)); 271 } else if (nb < 96) { 272 intr_enabled2 &= ~(1 << (nb - 64)); 275 intr_enabled3 &= ~(1 << (nb - 96)); 281 arm_unmask_irq(uintptr_t nb) argument 283 if (nb < 3 [all...] |