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

12345

/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrvcmp.c35 register unsigned long nb; local
41 na = nb = 0;
45 nb = nb * 10 + *b++ - '0';
46 if (na < nb)
48 if (na > nb)
H A Dstrnvcmp.c37 register unsigned long nb; local
53 na = nb = 0;
57 nb = nb * 10 + *b++ - '0';
58 if (na < nb)
60 if (na > nb)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dio.c65 int read_set, nb; local
89 nb = select(32, (fd_set *)&read_set, 0, 0, &wait);
91 if (nb <= 0) {
109 nb = read(sockt, buf, sizeof (buf));
111 if (nb <= 0) {
116 display(&rem_win, buf, nb);
127 ioctl(0, FIONREAD, (struct sgttyb *)&nb);
128 nb = read(0, buf, nb);
129 display(&my_win, buf, nb);
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcsnrtombs.c66 size_t nb; local
73 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1)
77 return (nbytes + nb - 1);
79 nbytes += nb;
87 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) {
100 if ((nb = pwcrtomb(buf, *s, ps)) == (size_t)-1) {
104 if (nb > (int)len) {
109 (void) memcpy(dst, buf, nb);
113 return (nbytes + nb - 1);
116 dst += nb;
[all...]
H A Dmbsnrtowcs.c64 size_t nb; local
71 if ((nb = pmbrtowc(&wc, s, nms, ps)) == (size_t)-1)
74 else if (nb == 0 || nb == (size_t)-2)
76 s += nb;
77 nms -= nb;
84 if ((nb = pmbrtowc(dst, s, nms, ps)) == (size_t)-1) {
87 } else if (nb == (size_t)-2) {
90 } else if (nb == 0) {
94 s += nb;
[all...]
H A Dutf8.c206 size_t nb; local
229 nb = 1;
230 else if ((nb = _UTF8_mbrtowc(&wc, s, nms, ps)) ==
234 else if (nb == 0 || nb == (size_t)-2)
236 s += nb;
237 nms -= nb;
259 nb = 1;
260 } else if ((nb = _UTF8_mbrtowc(dst, s, nms, ps)) ==
264 } else if (nb
354 size_t nb; local
[all...]
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Dintel_nb5000.c100 char *intr = "nb.unknown";
103 ferr_fat_fbd = rp->nb.fat_fbd_regs.ferr_fat_fbd;
106 intel_fat_fbd_err(rp->nb.fat_fbd_regs.nerr_fat_fbd);
124 intr = "nb.fbd.alert"; /* Alert on FB-DIMM M1 */
126 intr = "nb.fbd.crc"; /* CRC error FB_DIMM M2 */
127 nrecmema = rp->nb.fat_fbd_regs.nrecmema;
128 nrecmemb = rp->nb.fat_fbd_regs.nrecmemb;
160 intr = "nb.fbd.otf"; /* thermal temp > Tmid M3 */
162 intr = "nb.fbd.reset_timeout";
236 char *intr = "nb
[all...]
/illumos-gate/usr/src/lib/librdc/common/
H A Dnetaddrs.c343 struct netbuf *nb = NULL; local
393 struct netbuf *nb; local
398 nb = &(tbind->addr);
404 nb->len = nb->maxlen = sizeof (struct sockaddr_in6);
408 nb->len = nb->maxlen = sizeof (struct sockaddr_in);
417 nb->buf = (char *)calloc(1, nb->maxlen);
418 if (nb
529 struct netbuf *nb = NULL; local
[all...]
/illumos-gate/usr/src/cmd/tbl/
H A Dt3.c49 char line[200], *cp, nb[25], *t; local
77 t=nb;
85 if (nb[0])
86 *(lp->optadd) = nb[0];
89 printf(".nr %d %s\n", LSIZE, nb);
92 delim1 = nb[0];
93 delim2 = nb[1];
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ufs.c171 grub_daddr32_t nb, blkno; local
192 nb = INODE->ic_ib[level];
193 if (nb == 0) {
196 if (indirblk0 != nb) {
198 blkno = fsbtodb(SUPERBLOCK, nb);
202 indirblk0 = nb;
206 nb = INDIRBLK0[index];
210 if (indirblk1 != nb) {
211 blkno = fsbtodb(SUPERBLOCK, nb);
215 indirblk1 = nb;
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_stat.c76 struct n_stat nb; local
84 if ((ret = _syscall(SYS_fstatat, fd, NULL, &nb, 0)) == -1)
87 cpstatbuf(buf, &nb);
100 struct n_stat nb; local
133 "/var/adm/utmpx", &nb, follow)) != -1) {
134 cpstatbuf(buf, &nb);
142 "/var/adm/wtmpx", &nb, follow)) != -1) {
143 cpstatbuf(buf, &nb);
160 if ((ret = _syscall(SYS_fstatat, AT_FDCWD, path, &nb, follow)) != -1)
161 cpstatbuf(buf, &nb);
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_bmap.c213 daddr_t ob, nb, tbn; local
255 nb = ip->i_ib[NIADDR - j];
256 if (nb == 0) {
265 ob = nb;
278 nb = bap[i];
279 if (nb == 0) {
317 daddr_t ob, nb, pref, lbn, llbn, tbn; local
399 &nb, cr);
405 ASSERT(!ufs_badblock(ip, nb));
413 TRANS_MATA_ALLOC(ufsvfsp, ip, nb, bsiz
1189 daddr_t ob, nb, tbn, lbn, skip; local
1340 daddr_t ob, nb, tbn; local
[all...]
H A Dlufs_log.c352 inval_range(ml_unit_t *ul, cirbuf_t *cb, off_t lof, off_t nb) argument
355 off_t elof = lof + nb;
360 * discard all bufs that overlap the range (lof, lof + nb)
486 size_t nb; local
509 while ((nb = bufsize) != 0) {
510 if (nb > blksize)
511 nb = blksize;
517 bp->b_bufsize = nb;
526 bufsize -= nb;
527 va += nb;
739 storebuf(ml_unit_t *ul, buf_t *bp, caddr_t va, size_t nb) argument
968 off_t nb; local
999 size_t nb; local
1085 logseek(ml_unit_t *ul, off_t lof, size_t nb, off_t *lofp) argument
1106 ldl_read( ml_unit_t *ul, caddr_t va, offset_t mof, off_t nb, mapentry_t *me) argument
1231 off_t nb; local
1325 ldl_settail(ml_unit_t *ul, off_t lof, size_t nb) argument
1438 ldl_logscan_read(ml_unit_t *ul, off_t *lofp, size_t nb, caddr_t va) argument
1547 off_t nb; local
[all...]
H A Dlufs_map.c220 off_t nb,
235 for (hnb = 0; nb; nb -= hnb, mof += hnb) {
237 if (hnb > nb)
238 hnb = nb;
334 * remove deltas within (mof, nb) and return as linked list
337 deltamap_remove(mt_map_t *mtm, offset_t mof, off_t nb) argument
351 for (mer = NULL, hnb = 0; nb; nb -= hnb, mof += hnb) {
353 if (hnb > nb)
217 deltamap_add( mt_map_t *mtm, offset_t mof, off_t nb, delta_t dtyp, int (*func)(), ulong_t arg, threadtrans_t *tp) argument
385 deltamap_del(mt_map_t *mtm, offset_t mof, off_t nb) argument
412 off_t nb; local
539 logmap_remove_roll(mt_map_t *mtm, offset_t mof, off_t nb) argument
674 logmap_list_get( mt_map_t *mtm, offset_t mof, off_t nb, mapentry_t **age) argument
883 int32_t nb; local
1089 off_t nb; local
1216 off_t nb; local
1564 size_t nb; local
1637 logmap_cancel_delta(ml_unit_t *ul, offset_t mof, int32_t nb, int metadata) argument
1721 logmap_cancel(ml_unit_t *ul, offset_t mof, off_t nb, int metadata) argument
1778 logmap_iscancel(mt_map_t *mtm, offset_t mof, off_t nb) argument
1908 size_t nb, nbd; local
[all...]
H A Dlufs_debug.c96 top_mataadd(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) argument
101 deltamap_add(ul->un_matamap, mof, nb, 0, 0, 0, NULL);
108 top_matadel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) argument
113 ASSERT(!matamap_overlap(ul->un_deltamap, mof, nb));
114 deltamap_del(ul->un_matamap, mof, nb);
192 off_t nb,
203 matamap_within(ul->un_matamap, mof, nb));
220 if (!matamap_within(ul->un_deltamap, mof, nb))
224 if (!matamap_within(ul->un_deltamap, mof, nb))
225 tp->rsize += nb
189 top_delta_debug( ml_unit_t *ul, offset_t mof, off_t nb, delta_t dtyp) argument
521 matamap_overlap(mt_map_t *mtm, offset_t mof, off_t nb) argument
554 matamap_within(mt_map_t *mtm, offset_t mof, off_t nb) argument
[all...]
/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); local
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/lib/libsmbfs/smb/
H A Dnb.c32 * $Id: nb.c,v 1.1.1.2 2001/07/06 22:38:42 conrad Exp $
71 struct nb_ctx *nb = ctx->ct_nb; local
73 if (nb == NULL)
76 nb_ctx_setnbflags(nb, ns_ena, bc_ena);
86 struct nb_ctx *nb = ctx->ct_nb; local
88 if (nb == NULL)
91 return (nb_ctx_setwins(nb, wins1, wins2));
100 struct nb_ctx *nb = ctx->ct_nb; local
102 if (nb == NULL)
105 return (nb_ctx_setscope(nb, scop
133 nb_ctx_setnbflags(struct nb_ctx *nb, int ns_ena, int bc_ena) argument
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_entry.cc94 copy_entry(entry_object * old, entry_object *nb) argument
103 nb->en_type = NULL;
105 nb->en_type = strdup(old->en_type);
106 if (nb->en_type == NULL)
115 nb->en_cols.en_cols_val = NULL;
119 if (nb->en_type)
120 delete nb->en_type;
131 if (nb->en_type)
132 delete nb->en_type;
145 nb
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/
H A Dintel.esc226 event ereport.cpu.intel.nb.mem_ue@motherboard/memory-controller{within(12s)};
227 event ereport.cpu.intel.nb.ddr2_mem_ue@
229 event ereport.cpu.intel.nb.fbd.ma@motherboard/memory-controller{within(12s)};
241 ereport.cpu.intel.nb.mem_ue@motherboard/memory-controller,
242 ereport.cpu.intel.nb.ddr2_mem_ue@motherboard/memory-controller,
243 ereport.cpu.intel.nb.fbd.ma@motherboard/memory-controller;
248 ereport.cpu.intel.nb.mem_ue@motherboard/memory-controller,
249 ereport.cpu.intel.nb.ddr2_mem_ue@motherboard/memory-controller,
250 ereport.cpu.intel.nb.fbd.ma@motherboard/memory-controller;
255 ereport.cpu.intel.nb
[all...]
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_trans.h236 #define TRANS_DELTA(ufsvfsp, mof, nb, dtyp, func, arg) \
238 top_delta(ufsvfsp, (offset_t)(mof), nb, dtyp, func, arg)
243 #define TRANS_CANCEL(ufsvfsp, mof, nb, flags) \
245 top_cancel(ufsvfsp, (offset_t)(mof), nb, flags)
249 #define TRANS_LOG(ufsvfsp, va, mof, nb, buf, bufsz) \
251 top_log(ufsvfsp, va, (offset_t)(mof), nb, buf, bufsz)
255 #define TRANS_ISCANCEL(ufsvfsp, mof, nb) \
257 top_iscancel(ufsvfsp, (offset_t)(mof), nb) : 0)
274 #define TRANS_BUF(ufsvfsp, vof, nb, bp, type) \
276 ldbtob(bp->b_blkno) + (offset_t)(vof), nb, typ
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_resolve.c131 struct netbuf *nb = NULL; local
211 struct netbuf *nb; local
261 nb = get_server_addr(host, NFS_PROGRAM, nfsver,
271 return (nb);
349 struct netbuf *nb = NULL; local
366 nb = (struct netbuf *)malloc(sizeof (struct netbuf));
367 if (nb == NULL) {
371 nb->buf = (char *)malloc(tbind->addr.maxlen);
372 if (nb->buf == NULL) {
374 free(nb);
[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) {
127 for (k = 0; k < nb; ++k) {
132 nb = 0;
134 buf[nb++] = c;
156 for (k = nb; k < 16; ++k)
159 for (k = 0; k < nb; ++k) {
245 int nb, nl, dn, proto, rv; local
285 nb
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DNameService.java68 String nb = h.getNisHost("bound");
69 if (!nm.equals(nb)) {
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfs_cmd.c169 struct netbuf nb; local
181 nb.len = nb.maxlen = sizeof (struct sockaddr);
182 nb.buf = (char *)&sa;
186 name = charmap_search(&nb, sh->sh_opts);
/illumos-gate/usr/src/lib/libmalloc/common/
H A Dmalloc.c312 size_t nb; /* size of entire block we need */ local
373 nb = (nbytes + grain - 1) / grain * grain;
374 holdblk = holdhead[nb / grain];
375 nb = nb + MINHEAD;
399 holdhead[(nb-MINHEAD) / grain] =
402 } else if (((char *)holdblk->unused + nb) <
403 ((char *)holdblk + HOLDSZ(nb))) {
405 ((char *)holdblk->unused+nb);
409 ((char *)holdblk->unused+nb);
[all...]

Completed in 117 milliseconds

12345