/illumos-gate/usr/src/uts/common/os/ |
H A D | bio.c | 538 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bio_busy() 595 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in getblk_common() 801 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in trygetblk() 895 for (bp = dp->av_forw; bp != dp; bp = bp->av_forw) { in bflush() 975 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in blkflush() 1044 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bfinval() 1189 bp->b_forw = bp->b_back = bp->av_forw = bp->av_back = bp; in binit() 1403 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bcheck() 1541 bp = bp->av_forw; in bio_getfreeblk() 1716 bp = bp->av_forw; in bio_recycle() [all …]
|
H A D | bp_map.c | 100 ((bp->b_proc == NULL) || (bp->b_proc->p_as == &kas)))) in bp_mapin_common() 114 pp = *bp->b_shadow; in bp_mapin_common() 116 pp = bp->b_pages; in bp_mapin_common() 126 color = bp_color(bp); in bp_mapin_common() 148 pp = bp->b_pages; in bp_mapin_common() 156 if (bp->b_proc == NULL || (as = bp->b_proc->p_as) == NULL) in bp_mapin_common() 225 pp = bp->b_pages; in bp_mapout() 296 bp_mapin(bp); in bp_copy_common() 298 bp_mapout(bp); in bp_copy_common() 308 pp = bp->b_pages; in bp_copy_common() [all …]
|
/illumos-gate/usr/src/ucblib/libtermcap/ |
H A D | termcap.c | 237 while (*bp && *bp != ':') in tskip() 238 bp++; in tskip() 265 bp = tskip(bp); in tgetnum() 268 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetnum() 298 bp = tskip(bp); in tgetflag() 301 if (*bp++ == id[0] && *bp != 0 && *bp++ == id[1]) { in tgetflag() 302 if (!*bp || *bp == ':') in tgetflag() 325 bp = tskip(bp); in tgetstr() 328 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetstr() 410 bp = appendsmalldec(bp, ws.ws_row); in tngetsize() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.c | 52 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len); in dt_buf_create() 58 bp->dbu_err = 0; in dt_buf_create() 68 bp->dbu_name, (ulong_t)bp->dbu_len, bp->dbu_resizes); in dt_buf_destroy() 76 if ((bp->dbu_ptr = bp->dbu_buf) != NULL) in dt_buf_reset() 79 dt_buf_create(dtp, bp, bp->dbu_name, bp->dbu_len); in dt_buf_reset() 86 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); in dt_buf_write() 94 if (bp->dbu_ptr + adj + len > bp->dbu_buf + bp->dbu_len) { in dt_buf_write() 99 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) { in dt_buf_write() 139 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); in dt_buf_offset() 146 return (bp->dbu_ptr - bp->dbu_buf); in dt_buf_len() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn_term.c | 47 eqn_box(p, bp); in term_eqn() 60 if ((bp->type == EQN_LIST && bp->expectargs > 1) || in eqn_box() 61 (bp->type == EQN_PILE && (bp->prev || bp->next)) || in eqn_box() 62 (bp->parent != NULL && (bp->parent->pos == EQNPOS_SQRT || in eqn_box() 64 ((bp->top != NULL || bp->bottom != NULL) && in eqn_box() 66 bp->parent->pos != EQNPOS_OVER && bp->next != NULL) || in eqn_box() 68 (bp->type == EQN_SUBEXPR && bp->pos != EQNPOS_SQRT && in eqn_box() 83 term_word(p, bp->left != NULL ? bp->left : "("); in eqn_box() 98 if ((cp = strchr(bp->text, '\0')) > bp->text && in eqn_box() 170 term_word(p, bp->right != NULL ? bp->right : ")"); in eqn_box() [all …]
|
H A D | eqn_html.c | 44 if (NULL == bp) in eqn_box() 125 if (bp->top || bp->bottom) { in eqn_box() 127 if (bp->top && NULL == bp->bottom) in eqn_box() 129 else if (bp->top && bp->bottom) in eqn_box() 141 } else if (bp->type == EQN_LIST && bp->expectargs > 1 && in eqn_box() 142 bp->parent && bp->parent->type == EQN_PILE) { in eqn_box() 151 cp = bp->text; in eqn_box() 201 if (NULL != bp->left || NULL != bp->right) in eqn_box() 203 "open", bp->left == NULL ? "" : bp->left, in eqn_box() 204 "close", bp->right == NULL ? "" : bp->right); in eqn_box() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_auto.c | 43 u_int8_t *bp; local 184 u_int8_t *bp; local 192 bp = recbuf; 247 u_int8_t *bp; local 368 u_int8_t *bp; local 376 bp = recbuf; 425 u_int8_t *bp; local 534 bp = recbuf; 703 bp = recbuf; 906 bp = recbuf; [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/ |
H A D | spa.h | 216 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument 219 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) argument 222 #define BP_IS_EMBEDDED(bp) BF64_GET((bp)->blk_prop, 39, 1) argument 224 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1) argument 231 ((bp)->blk_phys_birth ? (bp)->blk_phys_birth : (bp)->blk_birth) 245 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp)); 278 #define BP_IDENTITY(bp) (&(bp)->blk_dva[0]) argument 279 #define BP_IS_GANG(bp) DVA_GET_GANG(BP_IDENTITY(bp)) argument 282 #define BP_IS_HOLE(bp) DVA_IS_EMPTY(BP_IDENTITY(bp)) argument 305 #define BPE_GET_ETYPE(bp) BP_GET_CHECKSUM(bp) argument [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.c | 121 BKT *bp; local 157 BKT *bp; local 189 BKT *bp; local 269 (mp->pgin)(mp->pgcookie, bp->pgno, bp->page); 284 BKT *bp; local 311 BKT *bp; local 336 bp != (void *)&mp->lqh; bp = bp->q.cqe_next) 367 bp != (void *)&mp->lqh; bp = bp->q.cqe_next) 399 bp->page = (char *)bp + sizeof(BKT); 453 for (bp = head->cqh_first; bp != (void *)head; bp = bp->hq.cqe_next) [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_auto.c | 43 u_int8_t *bp; local 188 u_int8_t *bp; local 196 bp = recbuf; 250 u_int8_t *bp; local 367 u_int8_t *bp; local 375 bp = recbuf; 427 u_int8_t *bp; local 576 bp = recbuf; 732 bp = recbuf; 906 bp = recbuf; [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | btree_auto.c | 40 u_int8_t *bp; local 59 bp = logrec.data; 149 u_int8_t *bp; local 157 bp = recbuf; 203 u_int8_t *bp; local 320 u_int8_t *bp; local 328 bp = recbuf; 380 u_int8_t *bp; local 529 bp = recbuf; 729 bp = recbuf; [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_buf.c | 45 return (bp); in fmd_buf_alloc() 52 fmd_free(bp->buf_data, bp->buf_size); in fmd_buf_free() 72 for (bp = bhp->bh_hash[i]; bp != NULL; bp = np) { in fmd_buf_hash_destroy() 87 fmd_buf_t *bp; in fmd_buf_hash_apply() local 91 for (bp = bhp->bh_hash[i]; bp != NULL; bp = bp->buf_next) in fmd_buf_hash_apply() 99 fmd_buf_t *bp; in fmd_buf_hash_commit() local 103 for (bp = bhp->bh_hash[i]; bp != NULL; bp = bp->buf_next) in fmd_buf_hash_commit() 124 return (bp); in fmd_buf_insert() 131 fmd_buf_t *bp; in fmd_buf_lookup() local 133 for (bp = bhp->bh_hash[h]; bp != NULL; bp = bp->buf_next) { in fmd_buf_lookup() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 338 bp->b_bufsize = bp->b_bcount; in push_dirty_bp() 366 bp = bp->b_forw; in inval_range() 373 bp = bp->b_forw; in inval_range() 380 bp = bp->b_forw; in inval_range() 473 bp->b_forw = bp; in alloc_wrbuf() 474 bp->b_back = bp; in alloc_wrbuf() 524 bp->b_forw = bp->b_back = bp; in alloc_rdbuf() 548 if (bp == bp->b_forw) in free_cirbuf() 600 bp = bp->b_forw; in find_bp() 627 bp = bp->b_forw; in find_read_lof() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | spa.h | 378 ((wp) != &(bp)->blk_prop && (wp) != &(bp)->blk_birth) 462 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument 465 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) argument 483 (BP_USES_CRYPT(bp) && BP_GET_LEVEL(bp) > 0) 486 (BP_IS_ENCRYPTED(bp) || BP_IS_AUTHENTICATED(bp)) 488 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1) argument 496 (bp)->blk_phys_birth ? (bp)->blk_phys_birth : (bp)->blk_birth) 507 ((BP_IS_EMBEDDED(bp)) ? 1 : (bp)->blk_fill)) 536 (BP_IS_METADATA(bp) ? BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp)) 594 #define BP_IDENTITY(bp) (ASSERT(!BP_IS_EMBEDDED(bp)), &(bp)->blk_dva[0]) argument [all …]
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | remcap.c | 297 while (*bp && *bp != ':') in tskip() 298 bp++; in tskip() 324 bp = tskip(bp); in tgetnum() 327 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetnum() 333 bp++; in tgetnum() 356 bp = tskip(bp); in tgetflag() 359 if (*bp++ == id[0] && *bp != 0 && *bp++ == id[1]) { in tgetflag() 360 if (!*bp || *bp == ':') in tgetflag() 382 bp = tskip(bp); in tgetstr() 385 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetstr() [all …]
|
/illumos-gate/usr/src/cmd/vgrind/ |
H A D | vgrindefs.c | 188 while (*bp && *bp != ':') in tskip() 189 bp++; in tskip() 191 bp++; in tskip() 210 bp = tskip(bp); in tgetnum() 213 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetnum() 219 bp++; in tgetnum() 242 bp = tskip(bp); in tgetflag() 245 if (*bp++ == id[0] && *bp != 0 && *bp++ == id[1]) { in tgetflag() 246 if (!*bp || *bp == ':') in tgetflag() 268 bp = tskip(bp); in tgetstr() [all …]
|
/illumos-gate/usr/src/cmd/captoinfo/ |
H A D | otermcap.c | 288 while (*bp && *bp != ':') in tskip() 289 bp++; in tskip() 291 bp++; in tskip() 310 bp = tskip(bp); in otgetnum() 313 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in otgetnum() 319 bp++; in otgetnum() 342 bp = tskip(bp); in otgetflag() 345 if (*bp++ == id[0] && *bp != 0 && *bp++ == id[1]) { in otgetflag() 346 if (!*bp || *bp == ':') in otgetflag() 368 bp = tskip(bp); in otgetstr() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/txn/ |
H A D | txn_auto.c | 34 u_int8_t *bp; local 48 bp = logrec.data; 115 u_int8_t *bp; local 123 bp = recbuf; 154 u_int8_t *bp; local 247 u_int8_t *bp; local 255 bp = recbuf; 294 u_int8_t *bp; local 415 u_int8_t *bp; local 423 bp = recbuf; [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | nhash.c | 92 bzero((*cp)->bp, sizeof (*(*cp)->bp) * hsz); in init_cache() 111 Bucket *bp; in add_cache() local 121 bp = &cp->bp[(*cp->hfunc)(itemp->key, itemp->keyl, cp->hsz)]; in add_cache() 122 if (bp->nent >= bp->nalloc) { in add_cache() 124 bp->itempp = in add_cache() 137 (sizeof (*bp->itempp) * bp->nalloc)); in add_cache() 140 (sizeof (*bp->itempp) * bp->nalloc)); in add_cache() 155 bp->itempp[bp->nent] = itemp; in add_cache() 156 bp->nent++; in add_cache() 164 Bucket *bp; in lookup_cache() local [all …]
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | oid_ops.c | 354 bp++; 357 bp++; 360 bp++; 371 bp++; 373 (isspace(*bp) || *bp == '.')) 374 bp++; 381 (isspace(*bp) || *bp == '.')) 395 (isspace(*bp) || *bp == '.')) 413 while (isspace(*bp) || *bp == '.') 422 while (isspace(*bp) || *bp == '.') [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_auto.c | 40 u_int8_t *bp; local 58 bp = logrec.data; 60 bp += sizeof(rectype); 64 bp += sizeof(DB_LSN); 66 bp += sizeof(opcode); 75 bp += name->size; 85 bp += uid->size; 88 bp += sizeof(id); 90 bp += sizeof(ftype); 169 u_int8_t *bp; local [all …]
|
/illumos-gate/usr/src/lib/libumem/amd64/ |
H A D | umem_genasm.c | 459 uint8_t *bp; in genasm_malloc() local 474 bp = base; in genasm_malloc() 478 bp += off; in genasm_malloc() 484 bp += off; in genasm_malloc() 491 bp += off; in genasm_malloc() 498 bp += genasm_malfini(bp, umem_genasm_omptr); in genasm_malloc() 507 uint8_t *bp; in genasm_free() local 524 bp = base; in genasm_free() 528 bp += off; in genasm_free() 534 bp += off; in genasm_free() [all …]
|
/illumos-gate/usr/src/lib/libumem/i386/ |
H A D | umem_genasm.c | 449 uint8_t *bp; in genasm_malloc() local 464 bp = base; in genasm_malloc() 468 bp += off; in genasm_malloc() 474 bp += off; in genasm_malloc() 481 bp += off; in genasm_malloc() 488 bp += genasm_malfini(bp, umem_genasm_omptr); in genasm_malloc() 497 uint8_t *bp; in genasm_free() local 514 bp = base; in genasm_free() 518 bp += off; in genasm_free() 524 bp += off; in genasm_free() [all …]
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_debug.h | 107 #define QL_DUMP_1(bp, wdsize, count) \ argument 111 #define QL_DUMP_1(bp, wdsize, count) argument 117 #define QL_DUMP_2(bp, wdsize, count) \ argument 121 #define QL_DUMP_2(bp, wdsize, count) argument 131 #define QL_DUMP_3(bp, wdsize, count) argument 141 #define QL_DUMP_4(bp, wdsize, count) argument 151 #define QL_DUMP_5(bp, wdsize, count) argument 161 #define QL_DUMP_6(bp, wdsize, count) argument 171 #define QL_DUMP_7(bp, wdsize, count) argument 181 #define QL_DUMP_8(bp, wdsize, count) argument [all …]
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_physio.c | 67 struct buf *bp = *bpp; in fc_physio_setup() local 70 bp->b_iodone = NULL; in fc_physio_setup() 71 bp->b_resid = 0; in fc_physio_setup() 72 *bpp = bp; in fc_physio_setup() 80 bp->b_error = 0; in fc_physio_setup() 81 bp->b_proc = procp; in fc_physio_setup() 84 bp->b_edev = 0; in fc_physio_setup() 85 bp->b_lblkno = 0; in fc_physio_setup() 99 bp->b_error = error; in fc_physio_setup() 101 freerbuf(bp); in fc_physio_setup() [all …]
|