Searched refs:nb (Results 26 - 50 of 110) sorted by relevance

12345

/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfs_cmd.c186 struct netbuf nb; local
199 nb.len = nb.maxlen = sizeof (struct sockaddr);
200 nb.buf = (char *)&sa;
204 name = charmap_search(&nb, sh->sh_opts);
H A Dmountd.c833 struct netbuf *nb; local
836 if (getclientsnames(transp, &nb, &clnames) != 0)
955 struct nd_hostservlist **clnames, struct netbuf **nb, int *flavor_list)
999 transp, nb, clnames, flavor_list);
1002 transp, nb, clnames, flavor_list);
1049 struct netbuf *nb; local
1074 nb = svc_getrpccaller(transp);
1075 if (nb == NULL) {
1082 lq->ld_nb->maxlen = nb->maxlen;
1083 lq->ld_nb->len = nb
954 mount_enoent_error(SVCXPRT *transp, char *path, char *rpath, struct nd_hostservlist **clnames, struct netbuf **nb, int *flavor_list) argument
1145 struct netbuf *nb = NULL; local
1856 netmatch(struct netbuf *nb, char *name) argument
2020 getclientsflavors_old(share_t *sh, SVCXPRT *transp, struct netbuf **nb, struct nd_hostservlist **clnames, int *flavors) argument
2085 getclientsflavors_new(share_t *sh, SVCXPRT *transp, struct netbuf **nb, struct nd_hostservlist **clnames, int *flavors) argument
2166 check_client(share_t *sh, struct netbuf *nb, struct nd_hostservlist *clnames, int flavor) argument
2176 check_client_old(share_t *sh, SVCXPRT *transp, struct netbuf **nb, struct nd_hostservlist **clnames, int flavor) argument
2295 is_wrongsec(share_t *sh, SVCXPRT *transp, struct netbuf **nb, struct nd_hostservlist **clnames, int flavor) argument
2341 check_client_new(share_t *sh, SVCXPRT *transp, struct netbuf **nb, struct nd_hostservlist **clnames, int flavor) argument
2617 struct netbuf *nb; local
2666 struct netbuf *nb; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libmalloc/common/
H A Dmalloc.c313 size_t nb; /* size of entire block we need */ local
374 nb = (nbytes + grain - 1) / grain * grain;
375 holdblk = holdhead[nb / grain];
376 nb = nb + MINHEAD;
400 holdhead[(nb-MINHEAD) / grain] =
403 } else if (((char *)holdblk->unused + nb) <
404 ((char *)holdblk + HOLDSZ(nb))) {
406 ((char *)holdblk->unused+nb);
410 ((char *)holdblk->unused+nb);
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_subr.c220 rdc_netbuf_toint(struct netbuf *nb) argument
223 if (nb->len > RDC_MAXADDR)
224 cmn_err(CE_NOTE, "!rdc_netbuf_toint: bad size %d", nb->len);
226 switch (nb->len) {
228 bcopy(nb->buf, (char *)&ret, sizeof (int));
234 bcopy(&nb->buf[4], (char *)&ret, sizeof (int));
238 cmn_err(CE_NOTE, "!rdc_netbuf_toint: size %d", nb->len);
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/
H A Dypserv_resolv.c210 struct netbuf *nb; local
250 nb = &(*xprt)->xp_ltaddr;
252 while (!rpcb_set(start, vers, nc, nb))
303 struct netbuf *nb; local
339 * we must know that nb->buf is a (sockaddr_in *) or a
344 nb = svc_getrpccaller(xprt);
345 if (nb != 0)
346 caller_af = ((struct sockaddr_storage *)nb->buf)->ss_family;
352 sin6 = (struct sockaddr_in6 *)nb->buf;
360 sin4 = (struct sockaddr_in *)nb
[all...]
/opensolaris-onvv-gate/usr/src/cmd/rexd/
H A Dmount_nfs.c70 static void netbuf_free(struct netbuf *nb);
672 struct netbuf *nb = NULL; local
720 nb = (struct netbuf *)malloc(sizeof (struct netbuf));
721 if (nb == NULL) {
725 *nb = tbind->addr;
726 nb->buf = (char *)malloc(nb->len);
727 if (nb->buf == NULL) {
729 free(nb);
730 nb
786 netbuf_free(struct netbuf *nb) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_top.c57 off_t nb,
66 ASSERT(nb);
68 top_delta_debug(ul, mof, nb, dtyp));
70 deltamap_add(ul->un_deltamap, mof, nb, dtyp, func, arg, tp);
82 top_cancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb, int flags) argument
88 ASSERT(nb);
91 top_delta_debug(ul, mof, nb, DT_CANCEL)));
94 deltamap_del(ul->un_deltamap, mof, nb);
96 logmap_cancel(ul, mof, nb, metadata);
108 top_iscancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) argument
54 top_delta( ufsvfs_t *ufsvfsp, offset_t mof, off_t nb, delta_t dtyp, int (*func)(), ulong_t arg) argument
689 top_log(ufsvfs_t *ufsvfsp, char *va, offset_t vamof, off_t nb, caddr_t buf, uint32_t bufsz) argument
[all...]
H A Dlufs.c185 setsum(int32_t *sp, int32_t *lp, int nb) argument
190 nb /= sizeof (int32_t);
191 while (nb--)
197 checksum(int32_t *sp, int32_t *lp, int nb) argument
201 setsum(sp, lp, nb);
274 size_t nb; local
316 nb = (size_t)(sizeof (ic_extent_block_t) +
318 nebp = kmem_alloc(nb, KM_SLEEP);
340 kmem_free(nebp, nb);
376 kmem_free(nebp, nb);
502 lufs_initialize( ufsvfs_t *ufsvfsp, daddr_t bno, size_t nb, struct fiolog *flp) argument
672 size_t nb = flp->nbytes_actual; local
1280 off_t nb = bp->b_bcount; local
1354 off_t nb = bp->b_bcount; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fm/dicts/
H A DINTEL.dict57 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
/opensolaris-onvv-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DOpaque.java63 Opaque(byte[] nb) { argument
64 bytes = nb;
/opensolaris-onvv-gate/usr/src/lib/libast/common/regex/
H A Dregdecomp.c84 int nb; local
152 nb = ne = ib = ie = -2;
165 else if (nb < 0)
166 ne = nb = m;
171 if (ne == nb)
175 *s++ = nb;
179 ne = nb = m;
207 if (nb >= 0)
209 *s++ = nb;
210 if (ne != nb)
[all...]
/opensolaris-onvv-gate/usr/src/lib/libshell/common/tests/
H A Dsubshell.sh106 integer BS=1024 nb=64 ss=60 bs no
113 set -- $(printf %.'$(($BS*$nb))'c x | dd bs='$bs')
118 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs -- expected $((BS*nb)), got ${no:-0}"
128 set -- $(printf %.'$(($BS*$nb))'c x | dd bs='$bs' 2>/dev/null)
133 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs and trailing redirection -- expected $((BS*nb)), got ${no:-0}"
/opensolaris-onvv-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/
H A Damd64.esc97 * - mem_ce : reported by nb
125 event ereport.cpu.amd.nb.mem_ce@chip/core/strand{within(5s)};
248 ereport.cpu.amd.nb.mem_ce@chip/core<>/strand<>;
255 ereport.cpu.amd.nb.mem_ce@chip/core<>/strand<>;
262 ereport.cpu.amd.nb.mem_ce@chip/core<>/strand<>;
267 ereport.cpu.amd.nb.mem_ce@chip/core<>/strand<>;
271 * in a nb.mem_ce or nb.mem_ue ereport. These cases should be rare.
283 ereport.cpu.amd.nb.mem_ce@chip/core/strand;
289 * - mem_ue : reported by nb fo
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_input.c116 unsigned nb; local
119 nb = nf * framesz;
121 bcopy(cnvsrc, data, nb);
122 data += nb;
123 cnvsrc += nb;
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dccp.c939 int len, clen, type, nb; local
976 nb = clen < CILEN_DEFLATE ? ao->deflate_size : DEFLATE_SIZE(p[2]);
977 ho->deflate_size = nb;
980 p[3] != DEFLATE_CHK_SEQUENCE || nb > ao->deflate_size ||
981 nb <= DEFLATE_MIN_SIZE) {
985 if (nb > ao->deflate_size)
986 nb = ao->deflate_size;
987 else if (nb <= DEFLATE_MIN_SIZE)
988 nb = DEFLATE_MIN_SIZE+1;
992 PUTCHAR(DEFLATE_MAKE_OPT(nb), nak
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/rpc/
H A Drpc_subr.c396 grow_netbuf(struct netbuf *nb, size_t length) argument
400 if (nb->maxlen >= length)
404 bcopy(nb->buf, newbuf, nb->len);
405 kmem_free(nb->buf, nb->maxlen);
406 nb->buf = newbuf;
407 nb->maxlen = (unsigned int)length;
/opensolaris-onvv-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dpass1.c240 uint32_t nb; local
248 nb = roundup(len, secsize);
251 extbuf = (uint8_t *)malloc(nb);
255 fsbtodb(loc + part_start), nb) != 0) {
309 uint32_t block = 0, nb, len, left; local
371 nb = roundup(len, secsize);
372 dirbuf = (uint8_t *)malloc(nb);
377 fsbtodb(baseblock + part_start), nb) != 0) {
420 nb = roundup(len, secsize);
421 dirbuf = (uint8_t *)malloc(nb);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/truss/
H A Dexpound.c863 int nb = (sp->len > 8)? 8 : sp->len; local
867 if (Pread(Proc, buffer, (size_t)nb, (long)sp->buf) == nb) {
869 showbytes(buffer, nb, obuf+3);
871 (nb == sp->len)?
899 int nb = (sp->len > 8)? 8 : sp->len; local
903 if (Pread(Proc, buffer, (size_t)nb, (long)sp->buf) == nb) {
905 showbytes(buffer, nb, obuf+3);
907 (nb
3143 int nb = (count < 32)? count : 32; local
3169 long nb; local
3194 showbuffer(pri, (long)ip->iov_base, nb); local
3209 long nb; local
3240 showbuffer(pri, (long)ip->iov_base, nb); local
3264 int nb = count < MYBUFSIZ? (int)count : MYBUFSIZ; local
3322 int nb = count < MYBUFSIZ? (int)count : MYBUFSIZ; local
3540 long nb = (what == SYS_recvmsg)? pri->Rval1 : 32*1024; local
3559 show_iovec(pri, (long)msg.msg_iov, msg.msg_iovlen, showbuf, nb); local
3578 long nb = (what == SYS_recvmsg)? pri->Rval1 : 32*1024; local
3596 show_iovec32(pri, (long)msg.msg_iov, msg.msg_iovlen, showbuf, nb); local
4140 ssize_t nb = (count * sizeof (id_t) < MYBUFSIZ)? local
5086 long nb = (what == SYS_readv)? r0 : 32*1024; local
5094 pri->sys_args[2], showbuf, nb); local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dsubst.t456 my($na, $nb) = ("\x{ff}", "\x{fe}");
467 $a = "$na--$nb";
469 is($b, "$na$ua$nb", "s///: replace utf8 into non-utf8");
471 is($b, "$na--$ua--$nb", "s///: replace long utf8 into non-utf8");
483 $a = "$na--$nb";
485 is($b, "$na$ua$nb", "s///: replace utf8 into non-utf8 (utf8 pattern)");
487 is($b, "$na--$ua--$nb", "s///: replace long utf8 into non-utf8 (utf8 pattern)");
489 is($b, "$na$na$nb", "s///: replace non-utf8 into non-utf8 (utf8 pattern)");
491 is($b, "$na--$na--$nb", "s///: replace long non-utf8 into non-utf8 (utf8 pattern)");
/opensolaris-onvv-gate/usr/src/common/fs/
H A Dufsops.c220 daddr32_t nb, *bap; local
232 nb = db[bn];
233 return (nb);
255 nb = inodep->i_ib[NIADDR - j];
256 if (nb == 0) {
264 filep->fi_blocknum = fsbtodb(&devp->un_fs.di_fs, nb);
272 nb = bap[i];
273 if (nb == 0) {
277 return (nb);
/opensolaris-onvv-gate/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c359 lufs_read_log(int32_t addr, caddr_t va, int nb) argument
373 while (nb) {
455 i = MIN(NB_LEFT_IN_SECTOR(addr), nb);
461 nb -= i;
1003 int nb; local
1015 nb = fp->fi_count;
1031 if (OVERLAP(l->l_mof, l->l_nb, bof, nb)) {
1051 MIN(l->l_mof + l->l_nb, bof + nb) -
1061 MIN(l->l_mof + l->l_nb, bof + nb) -
/opensolaris-onvv-gate/usr/src/uts/intel/os/
H A Dfmsmb.c704 int i, j, nb; local
713 for (nb = bbstypes->count-1, i = 0; nb >= 0; nb--) {
714 tmp_id = bbstypes->ids[nb]->id;
716 tmp_idx.index[i] = nb;
718 curr_id = bbstypes->ids[nb]->cont_by_id;
913 int nb; local
944 for (nb = 0; nb < bbstype
[all...]
/opensolaris-onvv-gate/usr/src/cmd/vi/port/
H A Dexrecover.c78 unsigned char nb[BUFSIZE]; variable
217 perror((char *)nb);
253 if (nb[0] == '/') {
254 (void)unlink((const char *)nb);
490 CP(nb, bestnb);
538 (void)strcat(strcat(strcpy(nb, dirname), "/"), filname);
539 if (yeah(nb)) {
551 CP(bestnb, nb);
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c315 bpanswer(res, nb)
317 struct netbuf *nb;
331 if (nb) {
333 addr = (struct sockaddr_in *)nb->buf;
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c1397 struct netbuf *nb = NULL; local
1664 nb = (struct netbuf *)malloc(sizeof (*nb));
1665 if (nb == NULL) {
1669 *nb = tbind->addr;
1670 nb->buf = (char *)malloc(nb->maxlen);
1671 if (nb->buf == NULL) {
1673 free(nb);
1674 nb
1755 struct netbuf *nb = NULL; local
[all...]

Completed in 311 milliseconds

12345