/illumos-gate/usr/src/boot/libsa/ |
H A D | dosfs.c | 285 uint_t nb, off, clus, c, cnt, n; in dos_read() local 296 nb = (uint_t)nbyte; in dos_read() 299 if (nb > (n = size - f->offset)) in dos_read() 300 nb = n; in dos_read() 305 cnt = nb; in dos_read() 334 *resid = nbyte - nb + cnt; in dos_read()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | ccp.c | 935 int len, clen, type, nb; local 973 ho->deflate_size = nb; 977 nb <= DEFLATE_MIN_SIZE) { 981 if (nb > ao->deflate_size) 1013 --nb; 1032 ho->bsd_bits = nb; 1035 nb > ao->bsd_bits || nb < BSD_MIN_BITS) { 1039 if (nb > ao->bsd_bits) 1040 nb = ao->bsd_bits; 1042 nb = BSD_MIN_BITS; [all …]
|
H A D | main.c | 232 static int record_write __P((FILE *, int code, u_char *buf, int nb, 2895 record_write(f, code, buf, nb, tp) in record_write() argument 2899 int nb; 2923 (void) putc(nb >> 8, f); 2924 (void) putc(nb, f); 2925 (void) fwrite(buf, nb, 1, f);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 63 static void z_free __P((void *, void *ptr, u_int nb));
|
H A D | pppdump.c | 101 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/cmd/cmd-inet/usr.bin/talk/ |
H A D | io.c | 63 int read_set, nb; in talk() local 87 nb = select(32, (fd_set *)&read_set, 0, 0, &wait); in talk() 89 if (nb <= 0) { in talk() 107 nb = read(sockt, buf, sizeof (buf)); in talk() 109 if (nb <= 0) { in talk() 114 display(&rem_win, buf, nb); in talk() 125 ioctl(0, FIONREAD, (struct sgttyb *)&nb); in talk() 126 nb = read(0, buf, nb); in talk() 127 display(&my_win, buf, nb); in talk() 128 write(sockt, buf, nb); in talk()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | hostconfig.c | 313 bpanswer(struct bp_whoami_res *res, struct netbuf *nb) in bpanswer() argument 327 if (nb) { in bpanswer() 329 addr = (struct sockaddr_in *)nb->buf; in bpanswer()
|
/illumos-gate/usr/src/cmd/fm/dicts/ |
H A D | INTEL.dict | 57 fault.cpu.intel.nb.fsb=29 64 fault.cpu.intel.nb.ie=36 65 fault.cpu.intel.nb.dma=37 71 fault.cpu.intel.nb.otf=43
|
H A D | INTEL.po | 476 # keys: fault.cpu.intel.nb.fsb 588 # keys: fault.cpu.intel.nb.ie 604 # keys: fault.cpu.intel.nb.dma 700 # keys: fault.cpu.intel.nb.otf
|
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/ |
H A D | amd64.esc | 97 * - mem_ce : reported by nb 271 * in a nb.mem_ce or nb.mem_ue ereport. These cases should be rare. 619 * (nb.ma, nb.ta, ls.rde, ic.rdde, bu.s_rde, nb.gart_walk) 626 * (nb.ht_sync, nb.ht_crc) 629 * which no useful diagnosis can be made. (nb.rmw, nb.wdog) 651 ereport.cpu.amd.nb.ma@strand, 652 ereport.cpu.amd.nb.ta@strand, 657 ereport.cpu.amd.nb.ht_sync@strand, 658 ereport.cpu.amd.nb.ht_crc@strand, 659 ereport.cpu.amd.nb.rmw@strand, [all …]
|
H A D | intel.esc | 227 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/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 345 memcpy(&areq.sa_addr, nb->buf, MIN(nb->len, in get_mysubnet_servers() 2487 free(nb); in netbuf_free() 2921 free(nb); in get_server_netinfo() 2922 nb = NULL; in get_server_netinfo() 2930 return (nb); in get_server_netinfo() 3133 free(nb); in get_server_fh() 3134 nb = NULL; in get_server_fh() 3146 return (nb); in get_server_fh() 4271 return (nb); in get_netconfig_info() 4343 free(nb); in get_server_addrorping() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 131 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/fs.d/nfs/mount/ |
H A D | mount.c | 1664 nb = (struct netbuf *)malloc(sizeof (*nb)); in get_the_addr() 1665 if (nb == NULL) { in get_the_addr() 1669 *nb = tbind->addr; in get_the_addr() 1670 nb->buf = (char *)malloc(nb->maxlen); in get_the_addr() 1673 free(nb); in get_the_addr() 1674 nb = NULL; in get_the_addr() 1696 return (nb); in get_the_addr() 1901 free(nb); in get_addr() 1902 nb = NULL; in get_addr() 1908 if (nb == NULL) { in get_addr() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 1121 struct netbuf *nb; in enqueue_logging_data() local 1146 nb = svc_getrpccaller(transp); in enqueue_logging_data() 1147 if (nb == NULL) { in enqueue_logging_data() 1154 lq->ld_nb->maxlen = nb->maxlen; in enqueue_logging_data() 1155 lq->ld_nb->len = nb->len; in enqueue_logging_data() 1161 bcopy(nb->buf, lq->ld_nb->buf, lq->ld_nb->len); in enqueue_logging_data()
|
H A D | nfs_cmd.c | 169 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()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/ |
H A D | nfs4cbd.c | 226 get_uaddr(int fd, struct netconfig *nconf, struct netbuf *nb) in get_uaddr() argument 235 ua = taddr2uaddr(nconf, nb); in get_uaddr()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | pass1.c | 240 uint32_t nb; in getallocext() local 248 nb = roundup(len, secsize); in getallocext() 251 extbuf = (uint8_t *)malloc(nb); in getallocext() 255 fsbtodb(loc + part_start), nb) != 0) { in getallocext() 305 uint32_t block = 0, nb, len = 0, left; in getdir() local 366 nb = roundup(len, secsize); in getdir() 367 dirbuf = (uint8_t *)malloc(nb); in getdir() 372 fsbtodb(baseblock + part_start), nb) != 0) { in getdir() 414 nb = roundup(len, secsize); in getdir() 415 dirbuf = (uint8_t *)malloc(nb); in getdir() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 2657 log_setsum(int32_t *sp, int32_t *lp, int nb) in log_setsum() argument 2662 nb /= sizeof (int32_t); in log_setsum() 2663 while (nb--) in log_setsum() 2669 log_checksum(int32_t *sp, int32_t *lp, int nb) in log_checksum() argument 2673 log_setsum(sp, lp, nb); in log_checksum()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 4787 long nb; in bmap() local 4799 nb = ip->di_db[bn]; in bmap() 4800 return (nullblk(nb) ? 0L : nb); in bmap() 4817 nb = get(LONG); in bmap() 4818 if (nb == 0) in bmap() 4823 if (nullblk(nb = get(LONG))) in bmap() 4826 return (nb); in bmap() 4944 int nb; in log_get_header_info() local 5000 memcpy(log_eb, b, nb); in log_get_header_info() 5133 while (nb) { in log_read_log() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/ |
H A D | fstyp.c | 426 setsum(int32_t *sp, int32_t *lp, int nb) in setsum() argument 431 nb /= sizeof (int32_t); in setsum() 432 while (nb--) in setsum() 438 checksum(int32_t *sp, int32_t *lp, int nb) in checksum() argument 442 setsum(sp, lp, nb); in checksum()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapmodify.c | 1036 unsigned int nb = 0; local 1063 ++nb; 1064 if (nb >= nbthreads) 1071 nb = nbthreads; /* last chance */
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | wide.c | 196 int nb; in towide_utf8() local 209 nb = 2; in towide_utf8() 214 nb = 3; in towide_utf8() 219 nb = 4; in towide_utf8() 227 if (nb > n) { in towide_utf8() 232 for (i = 1; i < nb; i++) { in towide_utf8() 246 return (nb); in towide_utf8()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | man_validate.c | 477 struct roff_node *nb; in post_TH() local 489 nb = n; in post_TH() 508 mandoc_msg(MANDOCERR_TH_NOTITLE, nb->line, nb->pos, "TH"); in post_TH() 525 nb->line, nb->pos, "TH %s", man->meta.title); in post_TH() 535 man->meta.date = mandoc_normdate(n, nb); in post_TH()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/klmmod/ |
H A D | klmmod.c | 45 nlm_netbuf_str(char *buf, size_t bufsz, const struct netbuf *nb) in nlm_netbuf_str() argument 50 uint_t salen = nb->len; in nlm_netbuf_str() 57 if (mdb_vread(&sa, salen, (uintptr_t)nb->buf) < 0) in nlm_netbuf_str()
|