Home
last modified time | relevance | path

Searched refs:buf_t (Results 1 – 25 of 40) sorted by relevance

12

/titanic_44/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c50 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 Dlufs_thread.c132 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 Dlufs.c270 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()
H A Dufs_extvnops.c342 buf_t *bp; in ufs_alloc_data()
422 buf_t *bp; in ufs_alloc_data()
H A Dufs_subr.c1076 buf_t *bp; in ufs_fbiwrite()
1242 buf_t *bps, *bp; in ufs_construct_si()
1249 bps = kmem_alloc(NSIBUF * sizeof (buf_t), KM_SLEEP); in ufs_construct_si()
1300 kmem_free(bps, NSIBUF * sizeof (buf_t)); in ufs_construct_si()
H A Dufs_snap.c153 (void (*) (void *, buf_t *))fssnap_strategy; in ufs_snap_create()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dbio.c41 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_44/usr/src/cmd/mdb/common/modules/sd/
H A Dsd.c103 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 *)&currentBuf, sizeof (buf_t), in process_semo_sleepq()
484 buf_t currentBuf; in process_sdlun_waitq()
502 if (mdb_vread(&currentBuf, sizeof (buf_t), in process_sdlun_waitq()
542 buf_t xba_current; in process_xbuf()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Dfdbuffer.h61 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 Dbuf.h130 } 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_44/usr/src/uts/common/sys/fs/
H A Dufs_log.h39 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_44/usr/src/uts/common/xen/io/
H A Dxdb.h83 buf_t xr_buf;
144 buf_t *xs_f_iobuf;
145 buf_t *xs_l_iobuf;
H A Dxdf.h173 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 Dxdf.c124 #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 …]
H A Dxdb.c86 static int xdb_biodone(buf_t *);
236 static buf_t *
239 buf_t *bp; in xdb_get_buf()
539 buf_t *bp; in xdb_intr()
631 xdb_biodone(buf_t *bp) in xdb_biodone()
638 buf_t *nbp; in xdb_biodone()
1509 buf_t *bp; in xdb_send_buf()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c151 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()
H A Dvdev_disk.c652 buf_t *bp; in vdev_disk_ldi_physio()
677 vdev_disk_io_intr(buf_t *bp) in vdev_disk_io_intr()
725 buf_t *bp; in vdev_disk_io_start()
/titanic_44/usr/src/uts/common/fs/
H A Dfdbuffer.c342 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_44/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h682 } 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_44/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_io.h59 extern void _sd_ccent_rd(_sd_cctl_t *cc_ent, uint_t wanted, buf_t *bp);
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Dzvol.h51 extern int zvol_strategy(buf_t *bp);
H A Dvdev_impl.h348 buf_t vb_buf; /* buffer that describes the io */
/titanic_44/usr/src/lib/libzpool/common/
H A Dkernel.c1110 bioinit(buf_t *bp) in bioinit()
1112 bzero(bp, sizeof (buf_t)); in bioinit()
1116 biodone(buf_t *bp) in biodone()
1127 bioerror(buf_t *bp, int error) in bioerror()
/titanic_44/usr/src/uts/common/sys/scsi/targets/
H A Dstdef.h886 buf_t *cmd_bp;
893 buf_t *cmd_bp;
1058 buf_t *un_recov_buf; /* buf to recover failed commands */
1224 buf_t *ei_failing_bp;
/titanic_44/usr/src/uts/common/io/blkdev/
H A Dblkdev.c119 buf_t *i_bp;
1038 buf_t *bp; in bd_dump()
1420 buf_t *bp; in bd_tg_rdwr()
1581 buf_t *bp = xi->i_bp; in bd_runq_exit()
1716 buf_t *bp; in bd_flush_write_cache()
1927 buf_t *bp = xi->i_bp; in bd_xfer_done()

12