Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 25 of 105) sorted by relevance

12345

/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dintel_nb5000.c613 if (rp->nb.int_regs.nerr_fat_int) in log_int_err()
615 if (rp->nb.int_regs.nerr_nf_int) in log_int_err()
665 CTSTS_WR(rp->nb.thr_regs.ctsts); in log_thermal_err()
737 rp->nb.fsb_regs.fsb = fsb; in log_fsb_err()
1100 rp->nb.pex_regs.pex = pex; in log_pex_err()
1119 rp->nb.pex_regs.uncerrsts = 0; in log_pex_err()
1127 if (rp->nb.pex_regs.pex_fat_nerr) in log_pex_err()
1226 rp->nb.nf_fbd_regs.cerrcntb = 0; in log_nf_fbd_err()
1227 rp->nb.nf_fbd_regs.cerrcntc = 0; in log_nf_fbd_err()
1228 rp->nb.nf_fbd_regs.cerrcntd = 0; in log_nf_fbd_err()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dutf8.c208 size_t nb; in _UTF8_mbsnrtowcs() local
231 nb = 1; in _UTF8_mbsnrtowcs()
236 } else if (nb == 0 || nb == (size_t)-2) { in _UTF8_mbsnrtowcs()
239 s += nb; in _UTF8_mbsnrtowcs()
262 nb = 1; in _UTF8_mbsnrtowcs()
274 s += nb; in _UTF8_mbsnrtowcs()
275 nms -= nb; in _UTF8_mbsnrtowcs()
357 size_t nb; in _UTF8_wcsnrtombs() local
373 nb = 1; in _UTF8_wcsnrtombs()
389 nb = 1; in _UTF8_wcsnrtombs()
[all …]
H A Dwcsnrtombs.c66 size_t nb; in __wcsnrtombs_std() local
73 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) in __wcsnrtombs_std()
77 return (nbytes + nb - 1); in __wcsnrtombs_std()
79 nbytes += nb; in __wcsnrtombs_std()
87 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) { in __wcsnrtombs_std()
104 if (nb > (int)len) { in __wcsnrtombs_std()
109 (void) memcpy(dst, buf, nb); in __wcsnrtombs_std()
113 return (nbytes + nb - 1); in __wcsnrtombs_std()
116 dst += nb; in __wcsnrtombs_std()
117 len -= nb; in __wcsnrtombs_std()
[all …]
H A Dmbsnrtowcs.c64 size_t nb; in __mbsnrtowcs_std() local
71 if ((nb = pmbrtowc(&wc, s, nms, ps, B_FALSE)) == in __mbsnrtowcs_std()
75 } else if (nb == 0 || nb == (size_t)-2) { in __mbsnrtowcs_std()
78 s += nb; in __mbsnrtowcs_std()
79 nms -= nb; in __mbsnrtowcs_std()
86 if ((nb = pmbrtowc(dst, s, nms, ps, B_FALSE)) == (size_t)-1) { in __mbsnrtowcs_std()
89 } else if (nb == (size_t)-2) { in __mbsnrtowcs_std()
92 } else if (nb == 0) { in __mbsnrtowcs_std()
96 s += nb; in __mbsnrtowcs_std()
97 nms -= nb; in __mbsnrtowcs_std()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dio.c65 int read_set, nb; in talk() local
89 nb = select(32, (fd_set *)&read_set, 0, 0, &wait); in talk()
91 if (nb <= 0) { in talk()
109 nb = read(sockt, buf, sizeof (buf)); in talk()
111 if (nb <= 0) { in talk()
116 display(&rem_win, buf, nb); in talk()
127 ioctl(0, FIONREAD, (struct sgttyb *)&nb); in talk()
128 nb = read(0, buf, nb); in talk()
129 display(&my_win, buf, nb); in talk()
130 write(sockt, buf, nb); in talk()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_bmap.c256 if (nb == 0) { in bmap_read()
265 ob = nb; in bmap_read()
278 nb = bap[i]; in bmap_read()
467 ob = nb; in bmap_write()
506 ob = nb; in bmap_write()
695 ob = nb; in bmap_write()
718 nb = bap[i]; in bmap_write()
1270 ob = nb; in bmap_find()
1288 nb = bap[i]; in bmap_find()
1394 ob = nb; in bmap_set_bn()
[all …]
H A Dlufs_log.c486 size_t nb; in alloc_rdbuf() local
527 va += nb; in alloc_rdbuf()
788 return (nb); in storebuf()
968 off_t nb; in ldl_has_space() local
983 nb = P2ROUNDUP(nb, DEV_BSIZE); in ldl_has_space()
999 size_t nb; in ldl_write() local
1019 if (nb) in ldl_write()
1055 if (nb) in ldl_write()
1231 off_t nb; in ldl_sethead() local
1547 off_t nb; in ldl_need_roll() local
[all …]
H A Dlufs_map.c220 off_t nb, in deltamap_add() argument
235 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in deltamap_add()
238 hnb = nb; in deltamap_add()
354 hnb = nb; in deltamap_remove()
412 off_t nb; in deltamap_push() local
555 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in logmap_remove_roll()
677 off_t nb, in logmap_list_get() argument
698 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in logmap_list_get()
1089 off_t nb; in logmap_add() local
1732 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in logmap_cancel()
[all …]
H A Dlufs_debug.c114 deltamap_del(ul->un_matamap, mof, nb); in top_matadel()
192 off_t nb, in top_delta_debug() argument
203 matamap_within(ul->un_matamap, mof, nb)); in top_delta_debug()
220 if (!matamap_within(ul->un_deltamap, mof, nb)) in top_delta_debug()
225 tp->rsize += nb + sizeof (struct delta); in top_delta_debug()
527 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in matamap_overlap()
530 if (hnb > nb) in matamap_overlap()
531 hnb = nb; in matamap_overlap()
562 for (hnb = 0; nb && scans == withins; nb -= hnb, mof += hnb) { in matamap_within()
566 if (hnb > nb) in matamap_within()
[all …]
H A Dlufs_top.c59 off_t nb, in top_delta() argument
68 ASSERT(nb); in top_delta()
70 top_delta_debug(ul, mof, nb, dtyp)); in top_delta()
90 ASSERT(nb); in top_cancel()
93 top_delta_debug(ul, mof, nb, DT_CANCEL))); in top_cancel()
96 deltamap_del(ul->un_deltamap, mof, nb); in top_cancel()
98 logmap_cancel(ul, mof, nb, metadata); in top_cancel()
115 ASSERT(nb); in top_iscancel()
116 if (logmap_iscancel(ul->un_logmap, mof, nb)) in top_iscancel()
716 for (hmof = vamof - (va - buf), nb1 = nb; bufsz; in top_log()
[all …]
H A Dlufs.c190 nb /= sizeof (int32_t); in setsum()
191 while (nb--) in setsum()
201 setsum(sp, lp, nb); in checksum()
274 size_t nb; in lufs_snarf() local
340 kmem_free(nebp, nb); in lufs_snarf()
376 kmem_free(nebp, nb); in lufs_snarf()
388 ul->un_nbeb = nb; in lufs_snarf()
505 size_t nb, in lufs_initialize() argument
733 nb -= fs->fs_bsize; in lufs_alloc()
735 while (nb) { in lufs_alloc()
[all …]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb.c71 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setnbflags() local
73 if (nb == NULL) in smb_ctx_setnbflags()
76 nb_ctx_setnbflags(nb, ns_ena, bc_ena); in smb_ctx_setnbflags()
86 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setwins() local
88 if (nb == NULL) in smb_ctx_setwins()
91 return (nb_ctx_setwins(nb, wins1, wins2)); in smb_ctx_setwins()
100 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setscope() local
102 if (nb == NULL) in smb_ctx_setscope()
105 return (nb_ctx_setscope(nb, scope)); in smb_ctx_setscope()
137 nb->nb_flags |= NBCF_NS_ENABLE; in nb_ctx_setnbflags()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ufs.c171 grub_daddr32_t nb, blkno; in sbmap() local
192 nb = INODE->ic_ib[level]; in sbmap()
193 if (nb == 0) { in sbmap()
196 if (indirblk0 != nb) { in sbmap()
202 indirblk0 = nb; in sbmap()
206 nb = INDIRBLK0[index]; in sbmap()
210 if (indirblk1 != nb) { in sbmap()
215 indirblk1 = nb; in sbmap()
219 nb = INDIRBLK1[index]; in sbmap()
220 if (nb == 0) in sbmap()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dpppdump.c101 int nb, c2; local
117 nb = 0;
125 if (nb >= 16) {
132 nb = 0;
134 buf[nb++] = c;
285 nb = pkt->cnt;
289 if (nb <= 2) {
300 nb -= 2;
301 endp = p + nb;
357 nl = nb < 16? nb: 16;
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrvcmp.c35 register unsigned long nb; in strvcmp() local
41 na = nb = 0; in strvcmp()
45 nb = nb * 10 + *b++ - '0'; in strvcmp()
46 if (na < nb) in strvcmp()
48 if (na > nb) in strvcmp()
H A Dstrnvcmp.c37 register unsigned long nb; in strnvcmp() local
53 na = nb = 0; in strnvcmp()
57 nb = nb * 10 + *b++ - '0'; in strnvcmp()
58 if (na < nb) in strnvcmp()
60 if (na > nb) in strnvcmp()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_trans.h243 #define TRANS_CANCEL(ufsvfsp, mof, nb, flags) \ argument
245 top_cancel(ufsvfsp, (offset_t)(mof), nb, flags)
255 #define TRANS_ISCANCEL(ufsvfsp, mof, nb) \ argument
257 top_iscancel(ufsvfsp, (offset_t)(mof), nb) : 0)
274 #define TRANS_BUF(ufsvfsp, vof, nb, bp, type) \ argument
292 #define TRANS_INODE_DELTA(ufsvfsp, vof, nb, ip) \ argument
377 #define TRANS_MATA_FREE(ufsvfsp, mof, nb) \ argument
397 #define TRANS_MATAADD(ufsvfsp, mof, nb) \ argument
398 top_mataadd(ufsvfsp, (offset_t)(mof), nb)
404 #define TRANS_MATA_FREE(ufsvfsp, mof, nb) argument
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_entry.cc94 copy_entry(entry_object * old, entry_object *nb) in copy_entry() argument
103 nb->en_type = NULL; in copy_entry()
105 nb->en_type = strdup(old->en_type); in copy_entry()
106 if (nb->en_type == NULL) in copy_entry()
115 nb->en_cols.en_cols_val = NULL; in copy_entry()
119 if (nb->en_type) in copy_entry()
120 delete nb->en_type; in copy_entry()
131 if (nb->en_type) in copy_entry()
132 delete nb->en_type; in copy_entry()
145 nb->en_cols.en_cols_len = num_cols; in copy_entry()
[all …]
/illumos-gate/usr/src/cmd/tbl/
H A Dt3.c49 char line[200], *cp, nb[25], *t; in getcomm() local
77 t=nb; in getcomm()
85 if (nb[0]) in getcomm()
86 *(lp->optadd) = nb[0]; in getcomm()
89 printf(".nr %d %s\n", LSIZE, nb); in getcomm()
92 delim1 = nb[0]; in getcomm()
93 delim2 = nb[1]; in getcomm()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_overflow.c91 size_t nb, plen; local
115 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) {
119 nb = MIN(sz, plen);
120 memmove(p, (char *)h + BTDATAOFF, nb);
123 if ((sz -= nb) == 0)
149 size_t nb, plen; local
167 nb = MIN(sz, plen);
168 memmove((char *)h + BTDATAOFF, p, nb);
176 if ((sz -= nb) == 0) {
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/
H A Dintel.esc227 event ereport.cpu.intel.nb.ddr2_mem_ue@
270 event ereport.cpu.intel.nb.ddr2_mem_ce@
312 ereport.cpu.intel.nb.fbd.alert@rank;
321 ereport.cpu.intel.nb.fbd.crc@rank;
363 event ereport.cpu.intel.nb.ddr2_spd@
388 prop fault.cpu.intel.nb.fsb@chip (1)->
389 ereport.cpu.intel.nb.fsb@chip;
399 ereport.cpu.intel.nb.ie@motherboard;
401 prop fault.cpu.intel.nb.ie@motherboard
403 ereport.cpu.intel.nb.ie@motherboard;
[all …]
/illumos-gate/usr/src/lib/libmalloc/common/
H A Dmalloc.c374 holdblk = holdhead[nb / grain]; in malloc_unlocked()
375 nb = nb + MINHEAD; in malloc_unlocked()
399 holdhead[(nb-MINHEAD) / grain] = in malloc_unlocked()
405 ((char *)holdblk->unused+nb); in malloc_unlocked()
411 holdhead[(nb-MINHEAD)/grain] = in malloc_unlocked()
438 newhold->blksz = nb-MINHEAD; in malloc_unlocked()
452 nb = nbytes + minhead; in malloc_unlocked()
453 nb = (nb + ALIGNSZ - 1) / ALIGNSZ * ALIGNSZ; /* align */ in malloc_unlocked()
454 nb = (nb > MINBLKSZ) ? nb : MINBLKSZ; in malloc_unlocked()
522 nget = nb + HEADSZ; in malloc_unlocked()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c131 struct netbuf *nb = NULL; in get_nfs4ref_info() local
211 struct netbuf *nb; in resolve_netconf() local
271 return (nb); in resolve_netconf()
349 struct netbuf *nb = NULL; in get_server_addr() local
367 if (nb == NULL) { in get_server_addr()
372 if (nb->buf == NULL) { in get_server_addr()
374 free(nb); in get_server_addr()
375 nb = NULL; in get_server_addr()
379 nb->len = tbind->addr.len; in get_server_addr()
380 nb->maxlen = tbind->addr.maxlen; in get_server_addr()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv_resolv.c210 struct netbuf *nb; in getprognum() local
250 nb = &(*xprt)->xp_ltaddr; in getprognum()
252 while (!rpcb_set(start, vers, nc, nb)) in getprognum()
303 struct netbuf *nb; in resolv_req() local
344 nb = svc_getrpccaller(xprt); in resolv_req()
345 if (nb != 0) in resolv_req()
346 caller_af = ((struct sockaddr_storage *)nb->buf)->ss_family; in resolv_req()
352 sin6 = (struct sockaddr_in6 *)nb->buf; in resolv_req()
360 sin4 = (struct sockaddr_in *)nb->buf; in resolv_req()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfs_cmd.c169 struct netbuf nb; in nfscmd_charmap_lookup() local
181 nb.len = nb.maxlen = sizeof (struct sockaddr); in nfscmd_charmap_lookup()
182 nb.buf = (char *)&sa; in nfscmd_charmap_lookup()
186 name = charmap_search(&nb, sh->sh_opts); in nfscmd_charmap_lookup()

12345