| /onnv-gate/usr/src/uts/intel/io/intel_nb5000/ |
| H A D | intel_nb5000.c | 103 ferr_fat_fbd = rp->nb.fat_fbd_regs.ferr_fat_fbd; in fat_memory_error() 106 intel_fat_fbd_err(rp->nb.fat_fbd_regs.nerr_fat_fbd); in fat_memory_error() 127 nrecmema = rp->nb.fat_fbd_regs.nrecmema; in fat_memory_error() 128 nrecmemb = rp->nb.fat_fbd_regs.nrecmemb; in fat_memory_error() 246 ferr_nf_fbd = rp->nb.nf_fbd_regs.ferr_nf_fbd; in nf_memory_error() 268 recmema = rp->nb.nf_fbd_regs.recmema; in nf_memory_error() 269 recmemb = rp->nb.nf_fbd_regs.recmemb; in nf_memory_error() 282 recmema = rp->nb.nf_fbd_regs.recmema; in nf_memory_error() 293 recmema = rp->nb.nf_fbd_regs.recmema; in nf_memory_error() 294 recmemb = rp->nb.nf_fbd_regs.recmemb; in nf_memory_error() [all …]
|
| /onnv-gate/usr/src/lib/librdc/common/ |
| H A D | netaddrs.c | 343 struct netbuf *nb = NULL; in get_the_addr() local 393 struct netbuf *nb; in get_the_addr() local 398 nb = &(tbind->addr); in get_the_addr() 404 nb->len = nb->maxlen = sizeof (struct sockaddr_in6); in get_the_addr() 408 nb->len = nb->maxlen = sizeof (struct sockaddr_in); in get_the_addr() 417 nb->buf = (char *)calloc(1, nb->maxlen); in get_the_addr() 418 if (nb->buf == NULL) { in get_the_addr() 425 nb->buf[j+4] = hp->h_addr[j]; in get_the_addr() 427 ((struct sockaddr_in *)(nb->buf))->sin_port = port; in get_the_addr() 429 ((struct sockaddr_in *)(nb->buf))->sin_family = AF_INET; in get_the_addr() [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
| H A D | io.c | 65 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()
|
| /onnv-gate/usr/src/uts/common/fs/ufs/ |
| H A D | ufs_bmap.c | 213 daddr_t ob, nb, tbn; in bmap_read() local 255 nb = ip->i_ib[NIADDR - j]; in bmap_read() 256 if (nb == 0) { in bmap_read() 265 ob = nb; in bmap_read() 278 nb = bap[i]; in bmap_read() 279 if (nb == 0) { in bmap_read() 317 daddr_t ob, nb, pref, lbn, llbn, tbn; in bmap_write() local 399 &nb, cr); in bmap_write() 405 ASSERT(!ufs_badblock(ip, nb)); in bmap_write() 413 TRANS_MATA_ALLOC(ufsvfsp, ip, nb, bsize, 0); in bmap_write() [all …]
|
| H A D | lufs_log.c | 352 inval_range(ml_unit_t *ul, cirbuf_t *cb, off_t lof, off_t nb) in inval_range() argument 355 off_t elof = lof + nb; in inval_range() 486 size_t nb; in alloc_rdbuf() local 509 while ((nb = bufsize) != 0) { in alloc_rdbuf() 510 if (nb > blksize) in alloc_rdbuf() 511 nb = blksize; in alloc_rdbuf() 517 bp->b_bufsize = nb; in alloc_rdbuf() 526 bufsize -= nb; in alloc_rdbuf() 527 va += nb; in alloc_rdbuf() 739 storebuf(ml_unit_t *ul, buf_t *bp, caddr_t va, size_t nb) in storebuf() argument [all …]
|
| H A D | lufs_map.c | 221 off_t nb, in deltamap_add() argument 236 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in deltamap_add() 238 if (hnb > nb) in deltamap_add() 239 hnb = nb; in deltamap_add() 338 deltamap_remove(mt_map_t *mtm, offset_t mof, off_t nb) in deltamap_remove() argument 352 for (mer = NULL, hnb = 0; nb; nb -= hnb, mof += hnb) { in deltamap_remove() 354 if (hnb > nb) in deltamap_remove() 355 hnb = nb; in deltamap_remove() 386 deltamap_del(mt_map_t *mtm, offset_t mof, off_t nb) in deltamap_del() argument 391 menext = deltamap_remove(mtm, mof, nb); in deltamap_del() [all …]
|
| H A D | lufs_debug.c | 96 top_mataadd(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) in top_mataadd() argument 101 deltamap_add(ul->un_matamap, mof, nb, 0, 0, 0, NULL); in top_mataadd() 108 top_matadel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) in top_matadel() argument 113 ASSERT(!matamap_overlap(ul->un_deltamap, mof, nb)); in top_matadel() 114 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() 224 if (!matamap_within(ul->un_deltamap, mof, nb)) in top_delta_debug() 225 tp->rsize += nb + sizeof (struct delta); in top_delta_debug() [all …]
|
| /onnv-gate/usr/src/lib/libsmbfs/smb/ |
| H A D | nb.c | 71 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() 133 nb_ctx_setnbflags(struct nb_ctx *nb, int ns_ena, int bc_ena) in nb_ctx_setnbflags() argument [all …]
|
| /onnv-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | fsys_ufs.c | 171 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() 198 blkno = fsbtodb(SUPERBLOCK, nb); in sbmap() 202 indirblk0 = nb; in sbmap() 206 nb = INDIRBLK0[index]; in sbmap() 210 if (indirblk1 != nb) { in sbmap() 211 blkno = fsbtodb(SUPERBLOCK, nb); in sbmap() 215 indirblk1 = nb; in sbmap() [all …]
|
| /onnv-gate/usr/src/common/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=($bi+1); 152 $nb=$bs+($i >= ($num-1)); 155 &mul_add_c($a,$ai,$b,$bi,$c0,$c1,$c2,$v,$i,$na,$nb); [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/bn/asm/ |
| H A D | co-586.pl | 17 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 34 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 45 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 64 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb); 74 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 100 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb); 158 $nb=($bi+1); 163 $nb=$bs+($i >= ($num-1)); 166 &mul_add_c($a,$ai,$b,$bi,$c0,$c1,$c2,$v,$i,$na,$nb); [all …]
|
| /onnv-gate/usr/src/lib/libast/common/string/ |
| H A D | strvcmp.c | 35 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 D | strnvcmp.c | 37 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()
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
| H A D | pppdump.c | 101 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 = pkt->cnt; [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/fs/hfs/ |
| H A D | file_plus.c | 108 unsigned int nb) in hfsplus_file_find_extent() argument 183 ret.sector_count = (sect_size < nb) ? sect_size : nb; in hfsplus_file_find_extent() 189 unsigned int nb) in hfsplus_file_read() argument 196 if (sector+nb < sector /* detect overflow */ in hfsplus_file_read() 197 || sector+nb > file->sect_nb) /* out of file */ { in hfsplus_file_read() 206 while (nb) { in hfsplus_file_read() 207 phy_area = hfsplus_file_find_extent(file, sector, nb); in hfsplus_file_read() 222 nb -= phy_area.sector_count; /* < nb anyway ... */ in hfsplus_file_read() 232 unsigned int nb) in hfsplus_file_write() argument 239 if (sector+nb < sector /* detect overflow */ in hfsplus_file_write() [all …]
|
| /onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| H A D | _stat.c | 76 struct n_stat nb; in bc_fstat() local 84 if ((ret = _syscall(SYS_fstatat, fd, NULL, &nb, 0)) == -1) in bc_fstat() 87 cpstatbuf(buf, &nb); in bc_fstat() 100 struct n_stat nb; in stat_com() local 133 "/var/adm/utmpx", &nb, follow)) != -1) { in stat_com() 134 cpstatbuf(buf, &nb); in stat_com() 142 "/var/adm/wtmpx", &nb, follow)) != -1) { in stat_com() 143 cpstatbuf(buf, &nb); in stat_com() 160 if ((ret = _syscall(SYS_fstatat, AT_FDCWD, path, &nb, follow)) != -1) in stat_com() 161 cpstatbuf(buf, &nb); in stat_com()
|
| /onnv-gate/usr/src/uts/common/sys/fs/ |
| H A D | ufs_trans.h | 236 #define TRANS_DELTA(ufsvfsp, mof, nb, dtyp, func, arg) \ argument 238 top_delta(ufsvfsp, (offset_t)(mof), nb, dtyp, func, arg) 243 #define TRANS_CANCEL(ufsvfsp, mof, nb, flags) \ argument 245 top_cancel(ufsvfsp, (offset_t)(mof), nb, flags) 249 #define TRANS_LOG(ufsvfsp, va, mof, nb, buf, bufsz) \ argument 251 top_log(ufsvfsp, va, (offset_t)(mof), nb, buf, bufsz) 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 276 ldbtob(bp->b_blkno) + (offset_t)(vof), nb, type, \ [all …]
|
| /onnv-gate/usr/src/lib/libnisdb/ |
| H A D | db_entry.cc | 94 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 …]
|
| /onnv-gate/usr/src/cmd/tbl/ |
| H A D | t3.c | 49 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()
|
| /onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
| H A D | bt_overflow.c | 91 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) {
|
| /onnv-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 261 nb = get_server_addr(host, NFS_PROGRAM, nfsver, in resolve_netconf() 271 return (nb); in resolve_netconf() 349 struct netbuf *nb = NULL; in get_server_addr() local 366 nb = (struct netbuf *)malloc(sizeof (struct netbuf)); in get_server_addr() 367 if (nb == NULL) { in get_server_addr() 371 nb->buf = (char *)malloc(tbind->addr.maxlen); in get_server_addr() 372 if (nb->buf == NULL) { in get_server_addr() 374 free(nb); in get_server_addr() [all …]
|
| /onnv-gate/usr/src/lib/libmalloc/common/ |
| H A D | malloc.c | 313 size_t nb; /* size of entire block we need */ in malloc_unlocked() local 374 nb = (nbytes + grain - 1) / grain * grain; in malloc_unlocked() 375 holdblk = holdhead[nb / grain]; in malloc_unlocked() 376 nb = nb + MINHEAD; in malloc_unlocked() 400 holdhead[(nb-MINHEAD) / grain] = in malloc_unlocked() 403 } else if (((char *)holdblk->unused + nb) < in malloc_unlocked() 404 ((char *)holdblk + HOLDSZ(nb))) { in malloc_unlocked() 406 ((char *)holdblk->unused+nb); in malloc_unlocked() 410 ((char *)holdblk->unused+nb); in malloc_unlocked() 412 holdhead[(nb-MINHEAD)/grain] = in malloc_unlocked() [all …]
|
| /onnv-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/ |
| H A D | intel.esc | 226 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.mem_ue@motherboard/memory-controller, [all …]
|
| /onnv-gate/usr/src/cmd/fs.d/nfs/mountd/ |
| H A D | mountd.c | 833 struct netbuf *nb; in log_cant_reply() local 836 if (getclientsnames(transp, &nb, &clnames) != 0) in log_cant_reply() 955 struct nd_hostservlist **clnames, struct netbuf **nb, int *flavor_list) in mount_enoent_error() argument 999 transp, nb, clnames, flavor_list); in mount_enoent_error() 1002 transp, nb, clnames, flavor_list); in mount_enoent_error() 1049 struct netbuf *nb; in enqueue_logging_data() local 1074 nb = svc_getrpccaller(transp); in enqueue_logging_data() 1075 if (nb == NULL) { in enqueue_logging_data() 1082 lq->ld_nb->maxlen = nb->maxlen; in enqueue_logging_data() 1083 lq->ld_nb->len = nb->len; in enqueue_logging_data() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
| H A D | re_tests | 503 ((?s)^a(.))((?m)^b$) a\nb\nc\n y $1;$2;$3 a\n;\n;b 504 ((?m)^b$) a\nb\nc\n y $1 b 505 (?m)^b a\nb\n y $& b 506 (?m)^(b) a\nb\n y $1 b 507 ((?m)^b) a\nb\n y $1 b 508 \n((?m)^b) a\nb\n y $1 b 509 ((?s).)c(?!.) a\nb\nc\n y $1 \n 510 ((?s).)c(?!.) a\nb\nc\n y $1:$& \n:\nc 511 ((?s)b.)c(?!.) a\nb\nc\n y $1 b\n 512 ((?s)b.)c(?!.) a\nb\nc\n y $1:$& b\n:b\nc [all …]
|