/illumos-gate/usr/src/cmd/truss/ |
H A D | print.c | 100 #define GROW(nb) if (pri->sys_leng + (nb) >= pri->sys_ssize) grow(pri, (nb)) argument 626 int nb = nbyte > IOBSIZE? IOBSIZE : (int)nbyte; in prt_iob() local 628 if (Pread(Proc, buffer, (size_t)nb, (long)val) != nb) in prt_iob() 632 showbytes(buffer, nb, pri->iob_buf + 1); in prt_iob() 634 (nb == nbyte)? in prt_iob()
|
H A D | expound.c | 867 if (Pread(Proc, buffer, (size_t)nb, (long)sp->buf) == nb) { in print_strbuf() 902 if (Pread(Proc, buffer, (size_t)nb, (long)sp->buf) == nb) { in print_strbuf32() 3025 if (Pread(Proc, buf, (size_t)nb, offset) != nb) in show_bool() 3033 count -= nb; in show_bool() 3034 offset += nb; in show_bool() 3047 long nb; in show_iovec32() local 3068 if (nb > 0) in show_iovec32() 3086 long nb; in show_iovec() local 3111 if (nb > 0) in show_iovec() 3141 if ((nb = Pread(Proc, &buf[0], (size_t)nb, offset)) <= 0) in show_dents32() [all …]
|
H A D | actions.c | 836 long nb = ISWRITE(what) ? pri->sys_args[2] : pri->Rval1; in sysexit() local 838 if (nb > IOBSIZE) { in sysexit() 840 if (nb > MYBUFSIZ / 4) in sysexit() 843 showbuffer(pri, pri->sys_args[1], nb); in sysexit() 846 if (nb > MYBUFSIZ / 4) in sysexit()
|
/illumos-gate/usr/src/uts/intel/io/amdzen/ |
H A D | amdzen.c | 2172 boolean_t nb = B_FALSE; in amdzen_attach_stub() local 2222 nb = B_TRUE; in amdzen_attach_stub() 2229 nb = B_FALSE; in amdzen_attach_stub() 2255 if (nb) { in amdzen_attach_stub()
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | driver-cpu-amd-zen.p5m | 38 # 1450: f17h m00-0f nb 40 # 1480: f17h m30-3f/70-7f, f19h m00-0f, m20-2f nb 42 # 14a4: f19h m10-1f, m1a0-af nb 44 # 14b5: f17h ma0-af, f19h m40-4f nb 45 # 14d8: f19h m60-6f, f1ah m40-4f nb 46 # 14e8: f19h m70-7f nb 49 # 1507: f1ah m20-2f nb 50 # 153a: f1ah m00-1f nb 51 # 15d0: f17h m10-m2f nb 53 # 1630: f17h m60-6f, f19h m50-5f nb
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_server.c | 208 #define NFSLOG_COPY_NETBUF(exi, xprt, nb) { \ argument 209 (nb)->maxlen = (xprt)->xp_rtaddr.maxlen; \ 210 (nb)->len = (xprt)->xp_rtaddr.len; \ 211 (nb)->buf = kmem_alloc((nb)->len, KM_SLEEP); \ 212 bcopy((xprt)->xp_rtaddr.buf, (nb)->buf, (nb)->len); \ 1514 struct netbuf nb; in common_dispatch() local 1779 NFSLOG_COPY_NETBUF(nfslog_exi, xprt, &nb); in common_dispatch() 1819 cr, &nb, nfslog_rec_id, NFSLOG_ONE_BUFFER); in common_dispatch() 1821 kmem_free((&nb)->buf, (&nb)->len); in common_dispatch()
|
H A D | nfs_log.c | 1790 struct netbuf nb = {0, 0, NULL}; in log_public_record() local 1818 (caddr_t)&args, (caddr_t)&res, cr, &nb, 0, NFSLOG_ALL_BUFFERS); in log_public_record() 1832 struct netbuf nb = {0, 0, NULL}; in nfslog_share_record() local 1846 &nb, 0, NFSLOG_ONE_BUFFER); in nfslog_share_record() 1861 struct netbuf nb = {0, 0, NULL}; in nfslog_unshare_record() local 1872 (caddr_t)exi, (caddr_t)&res, cr, &nb, 0, NFSLOG_ONE_BUFFER); in nfslog_unshare_record() 1882 struct netbuf nb = {0, 0, NULL}; in nfslog_getfh() local 1909 cr, &nb, 0, NFSLOG_ONE_BUFFER); in nfslog_getfh()
|
H A D | nfs4_srv_deleg.c | 454 struct netbuf nb; in rfs4_cbch_init() local 534 nb.maxlen = nb.len = size; in rfs4_cbch_init() 535 nb.buf = (char *)taddr; in rfs4_cbch_init() 537 if (clnt_tli_kcreate(&knc, &nb, cbp->cb_callback.cb_program, in rfs4_cbch_init()
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | northamerica | 1576 # <http://www.canlii.org/nb/laws/sta/t-6/20030127/whole.html> makes it
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n7.c | 97 if (nb) in tbreak()
|
H A D | n1.c | 263 copyf = lgf = nb = nflush = nlflg = 0; in main() 296 nb++; in main()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | asy.c | 2711 int nb; in async_softint() local 2940 nb = async->async_break; in async_softint() 2945 for (; nb > 0; nb--) in async_softint()
|
/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()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 827 int nb, fd; in destroy_file_suffix() local 861 nb = read(fd, buf, BUFSIZ); in destroy_file_suffix() 862 if (nb < 0) { in destroy_file_suffix() 867 for (j = 0; j < nb; j++) { in destroy_file_suffix() 874 j = nb; in destroy_file_suffix() 877 nb = write(fd, zbuf, j); in destroy_file_suffix() 878 if (nb < 0) { in destroy_file_suffix() 884 pos += nb; in destroy_file_suffix()
|
/illumos-gate/usr/src/common/mpi/ |
H A D | mpi.c | 2887 void *s_mp_alloc(size_t nb, size_t ni, int kmflag) in s_mp_alloc() argument 2891 return kmem_zalloc(nb * ni, kmflag); in s_mp_alloc() 2893 return calloc(nb, ni); in s_mp_alloc()
|
H A D | mpi-priv.h | 159 void *s_mp_alloc(size_t nb, size_t ni, int flag); /* general allocator */ 183 #define s_mp_alloc(nb, ni) calloc(nb, ni) argument
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | exrecover.c | 78 unsigned char nb[BUFSIZE]; variable 217 perror((char *)nb); in main() 253 if (nb[0] == '/') { in main() 254 (void)unlink((const char *)nb); in main() 490 CP(nb, bestnb); in findtmp() 538 (void)strcat(strcat(strcpy(nb, dirname), "/"), filname); in searchdir() 539 if (yeah(nb)) { in searchdir() 551 CP(bestnb, nb); in searchdir()
|
/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/svc/svccfg/ |
H A D | svccfg_libscf.c | 15085 char *nb; in lscf_listsnap() local 15102 nb = safe_malloc(max_scf_name_len + 1); in lscf_listsnap() 15105 if (scf_snapshot_get_name(snap, nb, max_scf_name_len + 1) < 0) in lscf_listsnap() 15108 (void) puts(nb); in lscf_listsnap() 15113 free(nb); in lscf_listsnap()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 5705 struct scsi_hba_barrier *nb; in scsi_hba_barrier_add() local 5714 nb = kmem_alloc(sizeof (struct scsi_hba_barrier), KM_SLEEP); in scsi_hba_barrier_add() 5721 nb->barrier_next = *bp; in scsi_hba_barrier_add() 5722 nb->barrier_endtime = endtime; in scsi_hba_barrier_add() 5723 nb->barrier_probe = probe; in scsi_hba_barrier_add() 5724 *bp = nb; in scsi_hba_barrier_add()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_debug.c | 113 deltamap_del(ul->un_matamap, mof, nb); in top_matadel() 191 off_t nb, in top_delta_debug() argument 202 matamap_within(ul->un_matamap, mof, nb)); in top_delta_debug() 219 if (!matamap_within(ul->un_deltamap, mof, nb)) in top_delta_debug() 224 tp->rsize += nb + sizeof (struct delta); in top_delta_debug() 526 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in matamap_overlap() 529 if (hnb > nb) in matamap_overlap() 530 hnb = nb; in matamap_overlap() 561 for (hnb = 0; nb && scans == withins; nb -= hnb, mof += hnb) { in matamap_within() 565 if (hnb > nb) in matamap_within() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_entry.cc | 91 copy_entry(entry_object * old, entry_object *nb) in copy_entry() argument 100 nb->en_type = NULL; in copy_entry() 102 nb->en_type = strdup(old->en_type); in copy_entry() 103 if (nb->en_type == NULL) in copy_entry() 112 nb->en_cols.en_cols_val = NULL; in copy_entry() 116 if (nb->en_type) in copy_entry() 117 delete nb->en_type; in copy_entry() 128 if (nb->en_type) in copy_entry() 129 delete nb->en_type; in copy_entry() 142 nb->en_cols.en_cols_len = num_cols; in copy_entry() [all …]
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | doscan.c | 663 char *nb = buffer; in number() local 667 file_to_decimal(&nb, len, lc, &dr, &form, &echar, iop, &nread); in number() 673 if (nb != buffer + nread) in number()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_overflow.c | 89 size_t nb, plen; local 113 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) { 117 nb = MIN(sz, plen); 118 memmove(p, (char *)h + BTDATAOFF, nb); 121 if ((sz -= nb) == 0) 147 size_t nb, plen; local 165 nb = MIN(sz, plen); 166 memmove((char *)h + BTDATAOFF, p, nb); 174 if ((sz -= nb) == 0) {
|
/illumos-gate/usr/src/common/fs/ |
H A D | ufsops.c | 224 daddr32_t nb, *bap; in sbmap() local 236 nb = db[bn]; in sbmap() 237 return (nb); in sbmap() 259 nb = inodep->i_ib[NIADDR - j]; in sbmap() 260 if (nb == 0) { in sbmap() 268 filep->fi_blocknum = fsbtodb(&devp->un_fs.di_fs, nb); in sbmap() 276 nb = bap[i]; in sbmap() 277 if (nb == 0) { in sbmap() 281 return (nb); in sbmap()
|