Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 754) sorted by relevance

12345678910>>...31

/illumos-gate/usr/src/uts/common/os/
H A Dbio.c539 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bio_busy()
596 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in getblk_common()
802 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in trygetblk()
896 for (bp = dp->av_forw; bp != dp; bp = bp->av_forw) { in bflush()
976 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in blkflush()
1045 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bfinval()
1190 bp->b_forw = bp->b_back = bp->av_forw = bp->av_back = bp; in binit()
1429 for (bp = dp->b_forw; bp != dp; bp = bp->b_forw) { in bcheck()
1568 bp = bp->av_forw; in bio_getfreeblk()
1743 bp = bp->av_forw; in bio_recycle()
[all …]
H A Dbp_map.c100 ((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 Dtermcap.c239 while (*bp && *bp != ':') in tskip()
240 bp++; in tskip()
267 bp = tskip(bp); in tgetnum()
270 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetnum()
300 bp = tskip(bp); in tgetflag()
303 if (*bp++ == id[0] && *bp != 0 && *bp++ == id[1]) { in tgetflag()
304 if (!*bp || *bp == ':') in tgetflag()
327 bp = tskip(bp); in tgetstr()
330 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetstr()
412 bp = appendsmalldec(bp, ws.ws_row); in tngetsize()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_buf.c54 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len); in dt_buf_create()
60 bp->dbu_err = 0; in dt_buf_create()
70 bp->dbu_name, (ulong_t)bp->dbu_len, bp->dbu_resizes); in dt_buf_destroy()
78 if ((bp->dbu_ptr = bp->dbu_buf) != NULL) in dt_buf_reset()
81 dt_buf_create(dtp, bp, bp->dbu_name, bp->dbu_len); in dt_buf_reset()
88 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); in dt_buf_write()
96 if (bp->dbu_ptr + adj + len > bp->dbu_buf + bp->dbu_len) { in dt_buf_write()
101 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) { in dt_buf_write()
141 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); in dt_buf_offset()
148 return (bp->dbu_ptr - bp->dbu_buf); in dt_buf_len()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Deqn_term.c47 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 Deqn_html.c43 if (NULL == bp) in eqn_box()
124 if (bp->top || bp->bottom) { in eqn_box()
126 if (bp->top && NULL == bp->bottom) in eqn_box()
128 else if (bp->top && bp->bottom) in eqn_box()
140 } else if (bp->type == EQN_LIST && bp->expectargs > 1 && in eqn_box()
141 bp->parent && bp->parent->type == EQN_PILE) { in eqn_box()
150 cp = bp->text; in eqn_box()
200 if (NULL != bp->left || NULL != bp->right) in eqn_box()
202 "open", bp->left == NULL ? "" : bp->left, in eqn_box()
203 "close", bp->right == NULL ? "" : bp->right); in eqn_box()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_auto.c43 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 Dspa.h216 #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 Dmpool.c121 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 Ddb_auto.c43 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 Dbtree_auto.c40 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 Dfmd_buf.c47 return (bp); in fmd_buf_alloc()
54 fmd_free(bp->buf_data, bp->buf_size); in fmd_buf_free()
74 for (bp = bhp->bh_hash[i]; bp != NULL; bp = np) { in fmd_buf_hash_destroy()
89 fmd_buf_t *bp; in fmd_buf_hash_apply() local
93 for (bp = bhp->bh_hash[i]; bp != NULL; bp = bp->buf_next) in fmd_buf_hash_apply()
101 fmd_buf_t *bp; in fmd_buf_hash_commit() local
105 for (bp = bhp->bh_hash[i]; bp != NULL; bp = bp->buf_next) in fmd_buf_hash_commit()
126 return (bp); in fmd_buf_insert()
133 fmd_buf_t *bp; in fmd_buf_lookup() local
135 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 Dlufs_log.c338 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 Dspa.h378 ((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 Dremcap.c300 while (*bp && *bp != ':') in tskip()
301 bp++; in tskip()
327 bp = tskip(bp); in tgetnum()
330 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetnum()
336 bp++; in tgetnum()
359 bp = tskip(bp); in tgetflag()
362 if (*bp++ == id[0] && *bp != 0 && *bp++ == id[1]) { in tgetflag()
363 if (!*bp || *bp == ':') in tgetflag()
385 bp = tskip(bp); in tgetstr()
388 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetstr()
[all …]
/illumos-gate/usr/src/cmd/vgrind/
H A Dvgrindefs.c190 while (*bp && *bp != ':') in tskip()
191 bp++; in tskip()
193 bp++; in tskip()
212 bp = tskip(bp); in tgetnum()
215 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in tgetnum()
221 bp++; in tgetnum()
244 bp = tskip(bp); in tgetflag()
247 if (*bp++ == id[0] && *bp != 0 && *bp++ == id[1]) { in tgetflag()
248 if (!*bp || *bp == ':') in tgetflag()
270 bp = tskip(bp); in tgetstr()
[all …]
/illumos-gate/usr/src/cmd/captoinfo/
H A Dotermcap.c290 while (*bp && *bp != ':') in tskip()
291 bp++; in tskip()
293 bp++; in tskip()
312 bp = tskip(bp); in otgetnum()
315 if (*bp++ != id[0] || *bp == 0 || *bp++ != id[1]) in otgetnum()
321 bp++; in otgetnum()
344 bp = tskip(bp); in otgetflag()
347 if (*bp++ == id[0] && *bp != 0 && *bp++ == id[1]) { in otgetflag()
348 if (!*bp || *bp == ':') in otgetflag()
370 bp = tskip(bp); in otgetstr()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/txn/
H A Dtxn_auto.c34 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 Dnhash.c92 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 Doid_ops.c354 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 Dlog_auto.c40 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 Dumem_genasm.c459 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 Dumem_genasm.c449 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 Dql_debug.h107 #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 Dfc_physio.c67 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 …]

12345678910>>...31