/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
H A D | boot2.c | 397 fixup_boot_drv(caddr_t addr, int klen, int bs, int bp) argument 404 (int)addr, klen, bs, bp); 407 if (bp > 7) 422 *p++ = bp + 'a'; 436 *p = bp + 'a';
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dnode_sync.c | 114 free_blocks(dnode_t *dn, blkptr_t *bp, int num, dmu_tx_t *tx) argument 121 for (int i = 0; i < num; i++, bp++) { 122 if (BP_IS_HOLE(bp)) 125 bytesfreed += dsl_dataset_block_kill(ds, bp, tx, B_FALSE); 136 uint64_t lsize = BP_GET_LSIZE(bp); 137 dmu_object_type_t type = BP_GET_TYPE(bp); 138 uint64_t lvl = BP_GET_LEVEL(bp); 140 bzero(bp, sizeof (blkptr_t)); 144 BP_SET_LSIZE(bp, lsize); 145 BP_SET_TYPE(bp, typ 237 blkptr_t *bp; local 326 blkptr_t *bp = dn->dn_phys->dn_blkptr; local [all...] |
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_open.c | 62 smb_battery_t *bp = (smb_battery_t *)(uintptr_t)hp; local 63 bp->smbbat_ssn = 0;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_log.c | 177 char *bp; local 183 for (bp = buf, i = 0; i < LOGR_NARG; ++i) { 189 if (strstr(bp, "[ID") == NULL) 194 if ((value = strsep(&bp, " \t")) == NULL) 203 * bp should be pointing at the remaining message text. 205 if ((value = strchr(bp, '\n')) != NULL) 208 (void) strlcpy(le->le_msg, bp, LOGR_MAXENTRYLEN);
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr.c | 339 xdr_bool(XDR *xdrs, bool_t *bp) argument 345 i = *bp ? XDR_TRUE : XDR_FALSE; 350 *bp = (i == XDR_FALSE) ? FALSE : TRUE;
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_nw.c | 303 char *bp, *ep, **ap; local 334 bp = pvt->buf; 348 if (n > (ep - bp)) { 352 pvt->net.n_name = strcpy(bp, name); /* (checked) */ 353 bp += n; 360 if (INADDRSZ > (ep - bp)) { 364 memset(bp, 0, INADDRSZ); 365 memcpy(bp, addr, n); 366 pvt->net.n_addr = bp; 367 bp [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getxby_door.c | 639 char *bp; local 655 bp = lmalloc(dsize); 656 if (bp == NULL) 658 tsdbuf->buffer = bp; 666 bp = lmalloc(dsize); 667 if (bp == NULL) 669 tsdbuf->buffer = bp;
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cut.c | 260 register char* bp; local 269 bp = sfreserve(fdin, len, -1); 271 bp = sfgetr(fdin, '\n', 0); 272 if (!bp && !(bp = sfgetr(fdin, 0, SF_LASTR))) 275 ep = bp + len; 284 register const char* s = bp; 294 if (s == bp && xx) 297 bp = (char*)(s = xx); 310 c = s - bp; 378 unsigned char *bp, *first; local [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 106 char *bp = *pbp; local 107 while (bp < endptr && OPTIONAL_SPACE(*bp)) { 108 bp++; 110 *pbp = bp; 116 char *bp, *tagBufp; local 131 bp = *pbp; 133 while (bp < endptr && !OPTIONAL_SPACE(*bp) && (*bp ! 166 char *bp, *valBufp; local 329 char *bp; local 433 char *bp, *e; local [all...] |
/illumos-gate/usr/src/cmd/ul/ |
H A D | ul.c | 517 char *bp = tcapbuf; local 520 CURS_UP = tgetstr("up", &bp); 521 CURS_RIGHT = tgetstr("ri", &bp); 523 CURS_RIGHT = tgetstr("nd", &bp); 524 CURS_LEFT = tgetstr("le", &bp); 526 CURS_LEFT = tgetstr("bc", &bp); 530 ENTER_STANDOUT = tgetstr("so", &bp); 531 EXIT_STANDOUT = tgetstr("se", &bp); 532 ENTER_UNDERLINE = tgetstr("us", &bp); 533 EXIT_UNDERLINE = tgetstr("ue", &bp); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | utils.c | 142 char buf[1024], *bp, *nlp, *ebp; local 156 bp = buf; 158 while (bp < ebp) { 159 if ((nlp = strchr(bp, '\n')) == NULL) 161 if (nlp > bp) { 163 syslog(LOG_DEBUG, "%s", bp); 165 bp = nlp + 1;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 518 char buffer[64], *bp; local 526 bp = buffer; 529 bp += snprintf(bp, 5, "\\%03o", *data++); 531 *bp++; 533 *bp = '\0';
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.misc.c | 446 char *rptr, *bp; local 450 bp = rptr + size; 451 if (bp > xalloc_bottom) 452 xalloc_bottom = bp; 459 char *rptr = ptr, *bp; local 482 bp = rptr + size; 483 if (bp > xalloc_bottom) 484 xalloc_bottom = bp;
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_branch.c | 214 cmd_list_t *bp; local 229 for (dimm_count = 0, bp = cmd_list_next(&branch->branch_dimms); 230 bp != NULL; bp = cmd_list_next(bp), dimm_count++)
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 219 register char *bp; local 344 bp = MXHostBuf; 352 (RES_UNC_T) bp, buflen)) < 0) 369 (RES_UNC_T) bp, buflen)) < 0) 372 n = strlen(bp); 384 if (wordinclass(bp, 'w')) 388 bp, pref); 399 weight[nmx] = mxrand(bp); 401 mxhosts[nmx++] = bp; 402 bp [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.c | 71 * buffer (pointed at by *bp), and increment the buffer pointer 77 store_16_bits(uchar_t **bp, uint32_t v) argument 79 uchar_t *l = *bp; 83 *bp += 2; 87 read_16_bits(uchar_t *bp, uint32_t *value) argument 89 *value = *bp++; 90 *value += *bp << 8; 96 * at by *bp), and increment the buffer pointer as well. This way 101 store_32_bits(uchar_t **bp, uint32_t v) argument 103 uchar_t *l = *bp; 114 read_32_bits(uchar_t *bp, uint32_t *value) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | utilities.c | 166 struct bufarea *bp; local 175 bp = getdatablk((daddr_t)(block + part_start), fsbsize); 176 if (bp->b_errs) { 177 bp->b_flags &= ~B_INUSE; 181 fp = (struct file_entry *)bp->b_un.b_buf; 186 bp->b_flags &= ~B_INUSE; 189 return (bp); 193 putfilentry(struct bufarea *bp) argument 198 fp = (struct file_entry *)bp->b_un.b_buf; 254 register struct bufarea *bp; local 290 register struct bufarea *bp; local 315 getblk(struct bufarea *bp, daddr_t blk, long size) argument 331 flush(int32_t fd, struct bufarea *bp) argument 357 struct bufarea *bp, *nbp; local [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | object.c | 624 const char *bp; local 639 bp = (char *)cur->tx_values; 642 value_len = *(uint32_t *)bp; 643 bp += sizeof (uint32_t) + TX_SIZE(value_len); 647 bp += sizeof (uint32_t); 648 *val = bp;
|
/illumos-gate/usr/src/cmd/last/ |
H A D | last.c | 125 struct utmpx *bp; local 255 bp = &buf[read(wtmp, buf, sizeof (buf)) / sizeof (buf[0]) - 1]; 256 for (; bp >= buf; bp--) { 257 if (want(bp, &ut_host, &ut_user)) { 266 * If bp->ut_line is longer than LMAX, 271 (void) strlcpy(ttnames[i], bp->ut_line, 278 i, bp); 281 bp->ut_line, ut_host, ut_user)) { 283 &print, i, bp); 458 want(struct utmpx *bp, char **host, char **user) argument 525 record_time(time_t *otime, int *print, int i, struct utmpx *bp) argument [all...] |
/illumos-gate/usr/src/cmd/listen/ |
H A D | nlps_serv.c | 148 char *bp = buf; local 156 if ((size = getrequest(bp)) <= 0) { 171 if ((!strncmp(bp,NLPSIDSTR,NLPSIDSZ)) && /* NLPS request */ 172 (*(bp + NLPSIDSZ) == NLPSSEPCHAR)) { 173 nls_service(bp, size); 184 } else if ( (*bp == (char)0xff) && (!strncmp(bp+1,SMBIDSTR,SMBIDSZ)) ) { 190 smbservice(bp, size, argv); 202 *bp, *(bp 814 register char *bp = bufp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_thread.c | 1006 struct buf *bp = 0; local 1049 if (bp) { 1050 brelse(bp); 1051 bp = 0; 1068 if ((bp == 0) || (bp->b_blkno != bno)) { 1069 if (bp) 1070 brelse(bp); 1071 bp = UFS_BREAD(ufsvfsp, 1073 bp [all...] |
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_bmap.c | 602 ud_common_ad(struct ud_inode *ip, struct buf *bp) argument 614 addr = bp->b_un.b_addr + sizeof (struct alloc_ext_desc); 615 aed = (struct alloc_ext_desc *)bp->b_un.b_addr; 712 struct buf *bp; local 720 bp = ud_bread(ip->i_dev, bno << ip->i_udf->udf_l2d_shift, 722 if (bp->b_flags & B_ERROR) 723 error = bp->b_error; 725 aed = (struct alloc_ext_desc *)bp->b_un.b_addr; 732 ud_common_ad(ip, bp); 734 brelse(bp); 1256 struct buf *bp; local [all...] |
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslapi.c | 1187 mblk_t *retmp = mp, *bp = mp, *prevbp = mp, *copybp; local 1208 mp = bp = retmp = prevbp = ssl->alert_sendbuf; 1214 ASSERT(bp != NULL); 1217 if (DB_REF(bp) > 1) { 1223 if ((copybp = copyb(bp)) == NULL) 1226 copybp->b_cont = bp->b_cont; 1227 if (bp == mp) { 1232 freeb(bp); 1233 bp = copybp; 1236 if (kssl_build_single_record(ssl, bp) ! [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr.c | 341 xdr_bool(XDR *xdrs, bool_t *bp) argument 348 i32b = *bp ? XDR_TRUE : XDR_FALSE; 355 *bp = (i32b == XDR_FALSE) ? FALSE : TRUE;
|
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/ |
H A D | pv_cmdk.c | 408 struct buf *bp; local 441 bp = getrbuf(KM_SLEEP); 442 bp->b_private = (void *)XB_SLICE_NONE; 445 status = physio(xdfs_strategy, bp, dev, rw, xdfs_minphys, &auio); 447 biofini(bp); 448 kmem_free(bp, sizeof (buf_t));
|