Home
last modified time | relevance | path

Searched refs:bp (Results 26 – 50 of 748) sorted by relevance

12345678910>>...30

/illumos-gate/usr/src/uts/intel/io/dktp/drvobj/
H A Dstrategy.c964 bp->av_forw = bp->av_back = bp; in que_insert()
1093 kmem_free(bp, sizeof (*bp)); in qmerge_iodone()
1122 } else if (bp->av_forw == bp) { in qmerge_nextbp()
1123 bp->av_forw = bp->av_back = NULL; in qmerge_nextbp()
1202 } else if (bp->av_forw == bp) { in qmerge_nextbp()
1203 bp->av_forw = bp->av_back = NULL; in qmerge_nextbp()
1217 } else if (bp->av_forw == bp) { in qmerge_nextbp()
1220 bp->av_forw = bp->av_back = NULL; in qmerge_nextbp()
1275 bp->av_forw->av_back = bp->av_back; in qmerge_nextbp()
1277 bp->av_forw = bp->av_back = NULL; in qmerge_nextbp()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dutilities.c192 return (bp); in getfilentry()
294 for (bp = bufhead.b_next; bp != &bufhead; bp = bp->b_next) in getdatablk()
297 for (bp = bufhead.b_prev; bp != &bufhead; bp = bp->b_prev) in getdatablk()
306 bp->b_prev->b_next = bp->b_next; in getdatablk()
307 bp->b_next->b_prev = bp->b_prev; in getdatablk()
313 return (bp); in getdatablk()
323 return (bp); in getblk()
326 bp->b_errs = bread(fsreadfd, bp->b_un.b_buf, dblk, size); in getblk()
329 return (bp); in getblk()
342 bwrite(fd, bp->b_un.b_buf, bp->b_bno, (long)bp->b_size); in flush()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dser_sctx.c91 krb5_octet *bp; local
94 bp = *buffer;
137 *buffer = bp;
199 bp = *buffer;
224 *buffer = bp;
389 bp = *buffer;
513 *buffer = bp;
544 bp = *buffer;
594 &bp, &remain);
596 &bp, &remain);
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Doid_ops.c332 bp++;
335 bp++;
338 bp++;
350 bp++;
352 bp++;
358 bp++;
360 (isspace(*bp) || *bp == '.'))
374 (isspace(*bp) || *bp == '.'))
392 while (isspace(*bp) || *bp == '.')
401 while (isspace(*bp) || *bp == '.')
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dblkptr.c50 uint64_t *bp64 = (uint64_t *)bp; in encode_embedded_bp_compressed()
60 bzero(bp, sizeof (*bp)); in encode_embedded_bp_compressed()
61 BP_SET_EMBEDDED(bp, B_TRUE); in encode_embedded_bp_compressed()
62 BP_SET_COMPRESS(bp, comp); in encode_embedded_bp_compressed()
75 ASSERT3P(bp64, <, bp + 1); in encode_embedded_bp_compressed()
100 ASSERT(BP_IS_EMBEDDED(bp)); in decode_embedded_bp_compressed()
102 psize = BPE_GET_PSIZE(bp); in decode_embedded_bp_compressed()
111 ASSERT3P(bp64, <, bp + 1); in decode_embedded_bp_compressed()
132 ASSERT(BP_IS_EMBEDDED(bp)); in decode_embedded_bp()
134 lsize = BPE_GET_LSIZE(bp); in decode_embedded_bp()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dbuf.h216 (bp)->b_back->b_forw = (bp)->b_forw; \
217 (bp)->b_forw->b_back = (bp)->b_back; \
218 (bp)->b_forw = (bp)->b_back = NULL; \
289 ASSERT((bp)->av_forw != (bp)); \
290 ASSERT((bp)->av_back != (bp)); \
291 (bp)->av_back->av_forw = (bp)->av_forw; \
292 (bp)->av_forw->av_back = (bp)->av_back; \
294 (bp)->av_forw = (bp)->av_back = NULL; \
309 #define BWRITE(bp) \ argument
314 #define BWRITE2(bp) \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c12495 bp = bp + 6; in ql_ascii_fw_dump()
12519 bp = bp + 6; in ql_ascii_fw_dump()
12541 bp = bp + 6; in ql_ascii_fw_dump()
12551 bp = bp + 6; in ql_ascii_fw_dump()
12561 bp = bp + 6; in ql_ascii_fw_dump()
12571 bp = bp + 6; in ql_ascii_fw_dump()
12581 bp = bp + 6; in ql_ascii_fw_dump()
12591 bp = bp + 6; in ql_ascii_fw_dump()
12601 bp = bp + 6; in ql_ascii_fw_dump()
12611 bp = bp + 6; in ql_ascii_fw_dump()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr.c535 if (drmach_board_lookup(bp->b_num, &bp->b_id) != 0) in dr_open()
1396 if (cv_wait_sig(&bp->b_scv, &bp->b_slock) == 0) { in dr_disconnect()
1825 (DR_DEVS_RELEASED(bp) == DR_DEVS_ATTACHED(bp))) { in dr_release_update_state()
1998 if (cv_wait_sig(&bp->b_scv, &bp->b_slock) == 0) { in dr_dev_unconfigure()
2099 if (DR_DEVS_ATTACHED(bp) == DR_DEVS_PRESENT(bp)) in dr_dev_cancel()
2143 if (cv_wait_sig(&bp->b_scv, &bp->b_slock) == 0) { in dr_dev_status()
2769 state_str[bp->b_state], bp->b_state, in dr_board_transition()
2906 bp->b_id, bp, dr_dev_found); in dr_init_devlists()
3266 bp->b_num, bp->b_path); in dr_board_destroy()
3301 bzero(bp, sizeof (*bp)); in dr_board_destroy()
[all …]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c537 if (drmach_board_lookup(bp->b_num, &bp->b_id) != 0) in dr_open()
1407 if (cv_wait_sig(&bp->b_scv, &bp->b_slock) == 0) { in dr_disconnect()
1512 if (dr_init_devlists(bp) || (bp->b_ndev == 0)) in dr_disconnect()
1857 (DR_DEVS_RELEASED(bp) == DR_DEVS_ATTACHED(bp))) { in dr_release_update_state()
2030 if (cv_wait_sig(&bp->b_scv, &bp->b_slock) == 0) { in dr_dev_unconfigure()
2131 if (DR_DEVS_ATTACHED(bp) == DR_DEVS_PRESENT(bp)) in dr_dev_cancel()
2175 if (cv_wait_sig(&bp->b_scv, &bp->b_slock) == 0) { in dr_dev_status()
2799 state_str[bp->b_state], bp->b_state, in dr_board_transition()
2937 bp->b_id, bp, dr_dev_found); in dr_init_devlists()
3307 bp->b_num, bp->b_path); in dr_board_destroy()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_actx.c349 *buffer = bp; in krb5_auth_context_externalize()
414 &bp, in krb5_auth_context_internalize()
434 &bp, in krb5_auth_context_internalize()
446 &bp, in krb5_auth_context_internalize()
458 &bp, in krb5_auth_context_internalize()
470 &bp, in krb5_auth_context_internalize()
481 &bp, in krb5_auth_context_internalize()
493 &bp, in krb5_auth_context_internalize()
506 &bp, in krb5_auth_context_internalize()
525 &bp, in krb5_auth_context_internalize()
[all …]
H A Dser_ctx.c173 krb5_octet *bp; in krb5_context_externalize() local
178 bp = *buffer; in krb5_context_externalize()
207 &bp, &remain); in krb5_context_externalize()
329 *buffer = bp; in krb5_context_externalize()
344 krb5_octet *bp; in krb5_context_internalize() local
348 bp = *buffer; in krb5_context_internalize()
510 *buffer = bp; in krb5_context_internalize()
552 bp = *buffer; in krb5_oscontext_externalize()
568 *buffer = bp; in krb5_oscontext_externalize()
589 bp = *buffer; in krb5_oscontext_internalize()
[all …]
/illumos-gate/usr/src/cmd/filesync/
H A Drules.c103 struct base *bp; in read_rules() local
288 struct base *bp; in write_rules() local
311 for (bp = bases; bp; bp = bp->b_next) in write_rules()
391 if (bp->b_ident) in rw_base()
491 if (bp == 0) in add_ignore()
492 bp = &omnibase; in add_ignore()
504 if (bp == 0) in add_include()
505 bp = &omnibase; in add_include()
544 struct base *bp; in add_restr() local
546 for (bp = bases; bp; bp = bp->b_next) { in add_restr()
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_printf.c76 char *bp = s; in prom_sprintf() local
81 *bp++ = (char)0; in prom_sprintf()
89 char *bp = s; in prom_vsprintf() local
92 *bp++ = (char)0; in prom_vsprintf()
105 if (bp == 0) { in _doprint()
106 bp = &lbp; in _doprint()
109 start = *bp; in _doprint()
116 _sput('\r', bp); in _doprint()
117 _sput('\n', bp); in _doprint()
151 _sput('-', bp); in _doprint()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dvm_subr.c153 if (bp == NULL) { in default_physio()
156 bp->b_resid = 0; in default_physio()
175 bp->b_file = NULL; in default_physio()
176 bp->b_offset = -1; in default_physio()
182 bp->b_dip = NULL; in default_physio()
188 bp->b_error = 0; in default_physio()
189 bp->b_proc = procp; in default_physio()
211 bp->b_edev = dev; in default_physio()
223 (*mincnt)(bp); in default_physio()
224 c = bp->b_bcount; in default_physio()
[all …]
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_krcvudat.c78 mblk_t *bp; in t_krcvudata() local
130 freemsg(bp); in t_krcvudata()
158 mp = bp; in t_krcvudata()
160 if (bp->b_wptr == bp->b_rptr) { in t_krcvudata()
168 bp = tmp; in t_krcvudata()
181 tp = bp; in t_krcvudata()
208 if (bp->b_wptr != bp->b_rptr) { in t_krcvudata()
210 if (!pullupmsg(bp, MBLKL(bp))) { in t_krcvudata()
277 freemsg(bp); in t_krcvudata()
294 freemsg(bp); in t_krcvudata()
[all …]
H A Dt_kconnect.c78 mblk_t *bp; in t_kconnect() local
138 freemsg(bp); in t_kconnect()
156 bp = NULL; in t_kconnect()
164 freemsg(bp); in t_kconnect()
172 hdrsz = MBLKL(bp); in t_kconnect()
183 freemsg(bp); in t_kconnect()
204 nbp = bp; in t_kconnect()
205 bp = bp->b_cont; in t_kconnect()
213 freemsg(bp); in t_kconnect()
223 freemsg(bp); in t_kconnect()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_thread.c131 buf_t *bp; in log_roll_read() local
172 bp = &rbp->rb_bh; in log_roll_read()
294 bp->b_blkno += j; in log_roll_write_bufs()
327 bp->b_un.b_addr + bp->b_bcount; in log_roll_write_bufs()
329 bp = bp2; in log_roll_write_bufs()
344 buf_t *bp, *bp2; in log_roll_write() local
391 bp = &rbp->rb_bh; in log_roll_write()
401 bp2 = bp->b_list; in log_roll_write()
408 bp = bp2; in log_roll_write()
426 buf_t *bp; in trans_roll() local
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c747 if (!bp) { in dadk_ioctl()
773 freerbuf(bp); in dadk_ioctl()
993 freerbuf(bp); in dadk_flushdone()
1058 freerbuf(bp); in dadk_iob_alloc()
1574 biodone(bp); in dadk_iodone()
1707 freerbuf(bp); in dadk_rmb_ioctl()
1731 biodone(bp); in dadk_rmb_iodone()
1747 bp->av_forw = bp->b_forw = (struct buf *)dadkp; in dadk_dk_buf_setup()
1763 freerbuf(bp); in dadk_dk_buf_setup()
1782 bp); in dadk_dk_strategy()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_builtin.c63 const topo_builtin_t *bp; in bltin_init() local
65 for (bp = _topo_builtins; bp->bltin_name != NULL; bp++) { in bltin_init()
66 if (strcmp(mp->tm_name, bp->bltin_name) == 0) in bltin_init()
70 mp->tm_data = (void *)bp; in bltin_init()
77 bp->bltin_name, topo_mod_errmsg(mp)); in bltin_init()
87 topo_builtin_t *bp = mp->tm_data; in bltin_fini() local
90 (*bp->bltin_fini)(mp); in bltin_fini()
106 const topo_builtin_t *bp; in topo_builtin_create() local
115 for (bp = _topo_builtins; bp->bltin_name != NULL; bp++) { in topo_builtin_create()
128 switch (bp->bltin_type) { in topo_builtin_create()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd_xbuf.c235 brkp->bp0 = bp; in ddi_xbuf_qstrategy()
253 bp->av_forw = NULL; in ddi_xbuf_qstrategy()
273 ASSERT(bp != NULL); in ddi_xbuf_done()
340 if (bp->b_resid) in xbuf_brk_done()
343 freerbuf(bp); in xbuf_brk_done()
394 struct buf *bp; in xbuf_iostart() local
613 struct buf *bp; in ddi_xbuf_flushq() local
623 for (bp = xap->xa_headp; bp != NULL; bp = next_bp) { in ddi_xbuf_flushq()
632 prev_bp = bp; in ddi_xbuf_flushq()
671 bp->b_resid = bp->b_bcount; in ddi_xbuf_flushq()
[all …]
/illumos-gate/usr/src/cmd/last/
H A Dlast.c129 struct utmpx *bp; in main() local
265 for (; bp >= buf; bp--) { in main()
287 i, bp); in main()
310 bp->ut_host); in main()
521 *host = bp->ut_host; in want()
522 *user = bp->ut_user; in want()
534 if ((bp->ut_type == BOOT_TIME) || (bp->ut_type == DOWN_TIME)) in want()
537 if (bp->ut_type != USER_PROCESS && bp->ut_type != DEAD_PROCESS && in want()
538 bp->ut_type != BOOT_TIME && bp->ut_type != DOWN_TIME) in want()
582 if ((bp->ut_type == USER_PROCESS && bp->ut_user[0] != '\0') || in record_time()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dprintf.c108 char *bp, *p; in _print() local
455 *p++ = *bp != '\0' ? *bp++ : '0'; in _print()
469 bp = &buf[0]; in _print()
527 *bp != '\0' && *bp != '0') { in _print()
573 bp = &buf[0]; in _print()
643 p = bp + 1; in _print()
664 p = --bp; in _print()
665 bp -= n; in _print()
691 bp = NULL; in _print()
692 p = bp + n; in _print()
[all …]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dcontract.c258 contract_bucket_t *bp; in contract_hold_bucket() local
263 bp = &contract_hash[hash]; in contract_hold_bucket()
264 MUTEX_LOCK(&bp->cb_lock); in contract_hold_bucket()
265 return (bp); in contract_hold_bucket()
282 if (bp->cb_list == NULL) in contract_lookup()
299 if (bp->cb_list == NULL) in contract_insert()
300 bp->cb_list = startd_list_create(contract_list_pool, bp, 0); in contract_insert()
320 contract_bucket_t *bp; in contract_hash_store() local
329 contract_insert(bp, ce); in contract_hash_store()
337 contract_bucket_t *bp; in contract_hash_remove() local
[all …]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h325 ((wp) != &(bp)->blk_prop && (wp) != &(bp)->blk_birth)
384 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument
387 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) argument
392 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1) argument
399 ((bp)->blk_phys_birth ? (bp)->blk_phys_birth : (bp)->blk_birth)
407 BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp));
435 #define BP_IDENTITY(bp) (&(bp)->blk_dva[0]) argument
436 #define BP_IS_GANG(bp) DVA_GET_GANG(BP_IDENTITY(bp)) argument
439 #define BP_IS_HOLE(bp) DVA_IS_EMPTY(BP_IDENTITY(bp)) argument
440 #define BP_IS_OLDER(bp, txg) (!BP_IS_HOLE(bp) && (bp)->blk_birth < (txg)) argument
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_builtin.c44 const fmd_builtin_t *bp; in bltin_init() local
46 for (bp = _fmd_builtins; bp->bltin_name != NULL; bp++) { in bltin_init()
51 if (bp == NULL) in bltin_init()
54 if (bp->bltin_init == NULL) in bltin_init()
57 mp->mod_data = (void *)bp; in bltin_init()
79 fmd_builtin_t *bp = mp->mod_data; in bltin_fini() local
82 (void) fmd_module_enter(mp, bp->bltin_fini); in bltin_fini()
106 const fmd_builtin_t *bp; in fmd_builtin_loadall() local
113 for (bp = _fmd_builtins; bp->bltin_name != NULL; bp++) { in fmd_builtin_loadall()
114 if (!(ctxt & bp->bltin_ctxts)) in fmd_builtin_loadall()
[all …]

12345678910>>...30