/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 50 makebusy(ml_unit_t *ul, buf_t *bp) in makebusy() 62 logdone(buf_t *bp) in logdone() 75 ldl_strategy_done(buf_t *cb) in ldl_strategy_done() 79 buf_t *bp; in ldl_strategy_done() 162 ldl_strategy(ml_unit_t *ul, buf_t *pb) in ldl_strategy() 166 buf_t *cb; in ldl_strategy() 239 writelog(ml_unit_t *ul, buf_t *bp) in writelog() 266 readlog(ml_unit_t *ul, buf_t *bp) in readlog() 297 push_dirty_bp(ml_unit_t *ul, buf_t *bp) in push_dirty_bp() 299 buf_t *newbp; in push_dirty_bp() [all …]
|
H A D | lufs_thread.c | 132 buf_t *bp; in log_roll_read() 257 buf_t *bp = &rbp->rb_bh; in log_roll_write_crb() 281 buf_t *bp = &rbp->rb_bh; in log_roll_write_bufs() 282 buf_t *bp2; in log_roll_write_bufs() 323 bp2 = kmem_alloc(sizeof (buf_t), KM_SLEEP); in log_roll_write_bufs() 347 buf_t *bp, *bp2; in log_roll_write() 413 kmem_free(bp, sizeof (buf_t)); in log_roll_write() 429 buf_t *bp; in trans_roll()
|
H A D | lufs.c | 270 buf_t *bp, *tbp; in lufs_snarf() 509 buf_t *bp; in lufs_initialize() 563 buf_t *bp = NULL; in lufs_free() 664 buf_t *bp = NULL; in lufs_alloc() 1276 lufs_read_strategy(ml_unit_t *ul, buf_t *bp) in lufs_read_strategy() 1351 lufs_write_strategy(ml_unit_t *ul, buf_t *bp) in lufs_write_strategy() 1417 lufs_strategy(ml_unit_t *ul, buf_t *bp) in lufs_strategy() 1496 bio_lufs_strategy = (void (*) (void *, buf_t *)) lufs_strategy; in lufs_init()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | bio.c | 41 buf_t *bw_bufp; /* Current buffer */ 85 bwp->bw_bufp = mdb_alloc(sizeof (buf_t), UM_SLEEP); in buf_walk_init() 119 (void) mdb_vread(bwp->bw_bufp, sizeof (buf_t), addr); in buf_walk_step() 131 mdb_free(bwp->bw_bufp, sizeof (buf_t)); in buf_walk_fini() 143 buf_t b; in bufpagefind() 153 if (mdb_vread(&b, sizeof (buf_t), b_addr) == -1) in bufpagefind()
|
/titanic_41/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_replay.c | 91 kmem_free(tmp->rpl_buf, sizeof (buf_t)); in raid_rply_dealloc() 102 kmem_free((caddr_t)rwbuf1->rpl_buf, sizeof (buf_t)); in raid_rply_dealloc() 110 kmem_free((caddr_t)rwbuf2->rpl_buf, sizeof (buf_t)); in raid_rply_dealloc() 123 buf_t *bp; in raid_rply_alloc() 136 tmp->rpl_buf = kmem_zalloc(sizeof (buf_t), KM_SLEEP); in raid_rply_alloc() 138 bp = (buf_t *)tmp->rpl_buf; in raid_rply_alloc() 152 rwbuf1->rpl_buf = kmem_zalloc(sizeof (buf_t), KM_SLEEP); in raid_rply_alloc() 156 rwbuf2->rpl_buf = kmem_zalloc(sizeof (buf_t), KM_SLEEP); in raid_rply_alloc() 159 bp = (buf_t *)rwbuf1->rpl_buf; in raid_rply_alloc() 169 bp = (buf_t *)rwbuf2->rpl_buf; in raid_rply_alloc() [all …]
|
H A D | raid_resync.c | 200 init_buf(buf_t *bp, int flags, size_t size) in init_buf() 203 bzero((caddr_t)bp, sizeof (buf_t)); in init_buf() 220 destroy_buf(buf_t *bp) in destroy_buf() 227 reset_buf(buf_t *bp, int flags, size_t size) in reset_buf() 271 buf_t buf; in init_pw_area() 430 buf_t *readb1 = &cs->cs_pbuf; in raid_resync_region() 431 buf_t *readb2 = &cs->cs_dbuf; in raid_resync_region() 432 buf_t *writeb = &cs->cs_hbuf; in raid_resync_region()
|
/titanic_41/usr/src/cmd/mdb/common/modules/sd/ |
H A D | sd.c | 103 wsp->walk_data = mdb_alloc(sizeof (buf_t), UM_SLEEP); in buf_avforw_walk_init() 138 if (mdb_vread(wsp->walk_data, sizeof (buf_t), wsp->walk_addr) == -1) { in buf_avforw_walk_step() 145 wsp->walk_addr = (uintptr_t)(((buf_t *)wsp->walk_data)->av_forw); in buf_avforw_walk_step() 190 if (((buf_t *)walk_data)->av_forw == NULL) { in buf_callback() 212 mdb_free(wsp->walk_data, sizeof (buf_t)); in buf_avforw_walk_fini() 426 buf_t currentBuf; in process_semo_sleepq() 446 if (mdb_vread((void *)¤tBuf, sizeof (buf_t), in process_semo_sleepq() 484 buf_t currentBuf; in process_sdlun_waitq() 502 if (mdb_vread(¤tBuf, sizeof (buf_t), in process_sdlun_waitq() 542 buf_t xba_current; in process_xbuf() [all …]
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | fdbuffer.h | 61 typedef void (*fdb_iodone_t)(struct fdbuffer *fdbuf, void *kargp, buf_t *bp); 106 buf_t *fd_parentbp; /* buf associated with parent buf */ 154 extern buf_t *fdb_iosetup(fdbuffer_t *fdbuf, u_offset_t off, size_t len, 156 extern void fdb_iodone(buf_t *bufp);
|
H A D | buf.h | 130 } buf_t; typedef 347 extern void (*bio_lufs_strategy)(void *, buf_t *); /* UFS Logging */ 348 extern void (*bio_snapshot_strategy)(void *, buf_t *); /* UFS snapshots */
|
/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | ufs_log.h | 39 buf_t *sv_bp; 45 buf_t lb_buf; 125 buf_t *cb_bp; /* buf's with space in circular buf */ 126 buf_t *cb_dirty; /* filling this buffer for log write */ 127 buf_t *cb_free; /* free bufs list */ 196 buf_t *un_bp; /* contains memory for un_ondisk */ 496 buf_t rb_bh; /* roll buffer header */ 556 extern void ldl_strategy(ml_unit_t *, buf_t *); 586 extern void lufs_strategy(ml_unit_t *, buf_t *); 587 extern void lufs_read_strategy(ml_unit_t *, buf_t *); [all …]
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | md_raid.h | 459 buf_t *ps_bp; 506 buf_t cbuf_bp; 553 buf_t cs_pbuf; 555 buf_t cs_hbuf; 558 buf_t cs_dbuf; 604 buf_t *rpl_buf; 674 extern void init_buf(buf_t *bp, int flags, size_t size); 675 extern void destroy_buf(buf_t *bp); 676 extern void reset_buf(buf_t *bp, int flags, size_t size); 677 extern void md_raid_strategy(buf_t *pb, int flag, void *private);
|
H A D | mdvar.h | 479 buf_t *bufp, 623 extern int mdstrategy(buf_t *); 701 extern int md_checkbuf(mdi_unit_t *, md_unit_t *, buf_t *); 705 extern void md_call_strategy(buf_t *, int, void *); 727 extern void md_minphys(buf_t *); 737 extern void md_kstat_done(mdi_unit_t *ui, buf_t *bp, int war); 805 extern buf_t *md_bioclone(buf_t *, off_t, size_t, dev_t, diskaddr_t, 806 int (*)(buf_t *), buf_t *, int);
|
H A D | md_sp.h | 114 buf_t *ps_bp; /* parent buffer */ 136 buf_t cs_buf; /* child buffer */
|
H A D | md_stripe.h | 108 buf_t *ps_bp; 138 buf_t cs_buf;
|
H A D | md_trans.h | 59 buf_t *cb_bp; /* buf's with space in circular buf */ 60 buf_t *cb_dirty; /* filling this buffer for log write */ 61 buf_t *cb_free; /* free bufs list */ 795 buf_t *ps_bp; 837 extern void ldl_errorbp(set_t, buf_t *, char *); 845 extern int ldl_logreset(mt_unit_t *, buf_t *);
|
/titanic_41/usr/src/uts/common/xen/io/ |
H A D | xdb.h | 83 buf_t xr_buf; 144 buf_t *xs_f_iobuf; 145 buf_t *xs_l_iobuf;
|
H A D | xdf.h | 173 buf_t *v_buf; 214 buf_t *xdf_f_act; /* active buf list head */ 215 buf_t *xdf_l_act; /* active buf list tail */ 216 buf_t *xdf_i_act; /* active buf list index */
|
H A D | xdf.c | 124 #define BP_VREQ_SET(bp, vreq) (((bp)->av_back = (buf_t *)(vreq))) 282 vreq_get(xdf_t *vdp, buf_t *bp) in vreq_get() 313 buf_t *bp = vreq->v_buf; in vreq_free() 358 check_fbwrite(xdf_t *vdp, buf_t *bp, daddr_t blkno) in check_fbwrite() 400 buf_t *bp = vreq->v_buf; in vreq_setup() 608 xdf_io_err(buf_t *bp, int err, size_t resid) in xdf_io_err() 617 xdf_kstat_enter(xdf_t *vdp, buf_t *bp) in xdf_kstat_enter() 633 xdf_kstat_exit(xdf_t *vdp, buf_t *bp) in xdf_kstat_exit() 649 xdf_kstat_waitq_to_runq(xdf_t *vdp, buf_t *bp) in xdf_kstat_waitq_to_runq() 663 xdf_kstat_runq_to_waitq(xdf_t *vdp, buf_t *bp) in xdf_kstat_runq_to_waitq() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_log.c | 133 buf_t *bp; in md_alloc_wrbuf() 150 bp = md_trans_zalloc(sizeof (buf_t)); in md_alloc_wrbuf() 183 buf_t *bp; in md_alloc_rdbuf() 208 bp = md_trans_alloc(sizeof (buf_t)); in md_alloc_rdbuf() 209 bzero((caddr_t)bp, sizeof (buf_t)); in md_alloc_rdbuf() 237 buf_t *bp; in md_free_cirbuf() 257 md_trans_free(bp, sizeof (buf_t)); in md_free_cirbuf() 267 md_trans_free(bp, sizeof (buf_t)); in md_free_cirbuf()
|
H A D | mdtrans.c | 109 trans_done_shadow(buf_t *bp) in trans_done_shadow() 111 buf_t *pb; in trans_done_shadow() 135 buf_t *pb, /* primary buffer */ in shadow_debug() 137 buf_t *cb, /* buffer for writing to master */ in shadow_debug() 141 buf_t *sb; /* Shadow buffer */ in shadow_debug() 638 md_trans_strategy(buf_t *pb, int flag, void *private) in md_trans_strategy() 641 buf_t *cb; /* child buf pointer */ in md_trans_strategy()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | vdev_file.c | 151 vdev_file_io_intr(buf_t *bp) in vdev_file_io_intr() 167 buf_t *bp = arg; in vdev_file_io_strategy() 191 buf_t *bp; in vdev_file_io_start()
|
/titanic_41/usr/src/uts/common/fs/ |
H A D | fdbuffer.c | 342 buf_t * 346 buf_t *bp; in fdb_iosetup() 393 bp = kmem_alloc(sizeof (buf_t), KM_SLEEP); in fdb_iosetup() 464 fdb_iodone(buf_t *bp) in fdb_iodone()
|
/titanic_41/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 682 } buf_t; typedef 684 extern void bioinit(buf_t *); 685 extern void biodone(buf_t *); 686 extern void bioerror(buf_t *, int); 687 extern int geterror(buf_t *);
|
/titanic_41/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_io.h | 59 extern void _sd_ccent_rd(_sd_cctl_t *cc_ent, uint_t wanted, buf_t *bp);
|
/titanic_41/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp.c | 591 buf_t *bp in sp_mapbuf() 648 if (bp != (buf_t *)NULL) { in sp_mapbuf() 864 (sizeof (md_spcs_t) - sizeof (buf_t))); in sp_done() 934 md_sp_strategy(buf_t *parent_buf, int flag, void *private) in md_sp_strategy() 944 buf_t *child_buf; in md_sp_strategy() 1104 buf_t *child_buf, *parent_buf; in sp_directed_read() 1688 buf_t *bp; in sp_dump() 1846 sizeof (md_spcs_t) - sizeof (buf_t) + biosize(), 0, in init_init()
|