Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c79 buf_t *bp; in ldl_strategy_done()
166 buf_t *cb; in ldl_strategy()
354 buf_t *bp; in inval_range()
395 buf_t *bp; in get_write_bp()
439 buf_t *bp; in alloc_wrbuf()
487 buf_t *bp; in alloc_rdbuf()
536 buf_t *bp; in free_cirbuf()
586 buf_t *bp; in find_bp()
817 buf_t *bp, in fetchbuf()
1087 buf_t *bp; in logseek()
[all …]
H A Dlufs_thread.c131 buf_t *bp; in log_roll_read()
254 buf_t *bp = &rbp->rb_bh; in log_roll_write_crb()
278 buf_t *bp = &rbp->rb_bh; in log_roll_write_bufs()
279 buf_t *bp2; in log_roll_write_bufs()
320 bp2 = kmem_alloc(sizeof (buf_t), KM_SLEEP); in log_roll_write_bufs()
344 buf_t *bp, *bp2; in log_roll_write()
410 kmem_free(bp, sizeof (buf_t)); in log_roll_write()
426 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.c340 buf_t *bp; in ufs_alloc_data()
420 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.c151 (void (*) (void *, buf_t *))fssnap_strategy; in ufs_snap_create()
H A Dufs_directio.c189 buf_t *bp; in directio_wait_one()
251 buf_t *bp; in directio_start()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dbio.c39 buf_t *bw_bufp; /* Current buffer */
83 bwp->bw_bufp = mdb_alloc(sizeof (buf_t), UM_SLEEP); in buf_walk_init()
117 (void) mdb_vread(bwp->bw_bufp, sizeof (buf_t), addr); in buf_walk_step()
129 mdb_free(bwp->bw_bufp, sizeof (buf_t)); in buf_walk_fini()
141 buf_t b; in bufpagefind()
151 if (mdb_vread(&b, sizeof (buf_t), b_addr) == -1) in bufpagefind()
/illumos-gate/usr/src/uts/common/sys/
H A Dfdbuffer.h59 typedef void (*fdb_iodone_t)(struct fdbuffer *fdbuf, void *kargp, buf_t *bp);
104 buf_t *fd_parentbp; /* buf associated with parent buf */
152 extern buf_t *fdb_iosetup(fdbuffer_t *fdbuf, u_offset_t off, size_t len,
154 extern int fdb_iodone(buf_t *bufp);
H A Dbuf.h132 } buf_t; typedef
349 extern void (*bio_lufs_strategy)(void *, buf_t *); /* UFS Logging */
350 extern void (*bio_snapshot_strategy)(void *, buf_t *); /* UFS snapshots */
/illumos-gate/usr/src/cmd/mdb/common/modules/sd/
H A Dsd.c104 wsp->walk_data = mdb_alloc(sizeof (buf_t), UM_SLEEP); in buf_avforw_walk_init()
139 if (mdb_vread(wsp->walk_data, sizeof (buf_t), wsp->walk_addr) == -1) { in buf_avforw_walk_step()
146 wsp->walk_addr = (uintptr_t)(((buf_t *)wsp->walk_data)->av_forw); in buf_avforw_walk_step()
191 if (((buf_t *)walk_data)->av_forw == NULL) { in buf_callback()
213 mdb_free(wsp->walk_data, sizeof (buf_t)); in buf_avforw_walk_fini()
427 buf_t currentBuf; in process_sdlun_waitq()
445 if (mdb_vread(&currentBuf, sizeof (buf_t), in process_sdlun_waitq()
485 buf_t xba_current; in process_xbuf()
525 if (mdb_vread((void *)&xba_current, sizeof (buf_t), in process_xbuf()
/illumos-gate/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 …]
/illumos-gate/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.h177 buf_t *v_buf;
218 buf_t *xdf_f_act; /* active buf list head */
219 buf_t *xdf_l_act; /* active buf list tail */
220 buf_t *xdf_i_act; /* active buf list index */
H A Dxdf.c295 vreq_get(xdf_t *vdp, buf_t *bp) in vreq_get()
326 buf_t *bp = vreq->v_buf; in vreq_free()
413 buf_t *bp = vreq->v_buf; in vreq_setup()
696 buf_t *bp; in xdf_kstat_create()
751 buf_t *bp; in xdf_kstat_delete()
842 xdf_bp_pop(xdf_t *vdp, buf_t *bp) in xdf_bp_pop()
844 buf_t *bp_iter; in xdf_bp_pop()
882 static buf_t *
886 buf_t *bp; in xdf_bp_next()
921 buf_t *bp = vreq->v_buf; in xdf_io_fini()
[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()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c174 vdev_file_io_intr(buf_t *bp) in vdev_file_io_intr()
197 buf_t *bp = arg; in vdev_file_io_strategy()
221 buf_t *bp; in vdev_file_io_start()
H A Dvdev_disk.c72 buf_t vdb_buf;
794 buf_t *bp; in vdev_disk_ldi_physio()
852 vdev_disk_io_intr(buf_t *bp) in vdev_disk_io_intr()
908 buf_t *bp; in vdev_disk_io_start()
/illumos-gate/usr/src/uts/common/fs/
H A Dfdbuffer.c341 buf_t *
345 buf_t *bp; in fdb_iosetup()
392 bp = kmem_alloc(sizeof (buf_t), KM_SLEEP); in fdb_iosetup()
463 fdb_iodone(buf_t *bp) in fdb_iodone()
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c642 bioinit(buf_t *bp) in bioinit()
644 bzero(bp, sizeof (buf_t)); in bioinit()
648 biodone(buf_t *bp) in biodone()
659 bioerror(buf_t *bp, int error) in bioerror()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzvol.h51 extern int zvol_strategy(buf_t *bp);
/illumos-gate/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;
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c218 buf_t *i_bp;
1308 buf_t *bp; in bd_dump()
1743 buf_t *bp; in bd_tg_rdwr()
1923 buf_t *bp = xi->i_bp; in bd_runq_exit()
2141 buf_t *bp; in bd_flush_write_cache()
2194 buf_t *bp = NULL; in bd_free_space_cb()
2464 buf_t *bp = xi->i_bp; in bd_xfer_done()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c643 static buf_t *st_remove_from_queue(buf_t **head, buf_t **tail, buf_t *bp);
644 static void st_add_to_queue(buf_t **head, buf_t **tail, buf_t *end, buf_t *bp);
16791 buf_t *bp; in st_recov_ret()
16847 buf_t *bp; in st_recover()
17231 buf_t *bp; in st_uscsi_rcmd()
18007 buf_t *bp; in st_recover_reissue_pkt()
18008 buf_t *pkt_bp; in st_recover_reissue_pkt()
18140 static buf_t *
18141 st_remove_from_queue(buf_t **head, buf_t **tail, buf_t *bp) in st_remove_from_queue()
18143 buf_t *runqbp; in st_remove_from_queue()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c178 buf_t *bufp, vio_desc_direction_t dir, int flags);
182 buf_t *bufp, vio_desc_direction_t dir, int flags);
2954 DTRACE_IO1(start, buf_t *, bufp); in vdc_send_request()
3022 DTRACE_PROBE1(send, buf_t *, bufp); in vdc_send_request()
3027 DTRACE_IO1(done, buf_t *, bufp); in vdc_send_request()
3296 DTRACE_IO1(done, buf_t *, bufp); in vdc_do_op()
4079 DTRACE_IO1(done, buf_t *, bufp); in vdc_cancel_backup_dring()
5077 DTRACE_IO1(done, buf_t *, bufp); in vdc_process_data_msg()
5754 buf = kmem_alloc(sizeof (buf_t), KM_SLEEP); in vdc_dioctl_rwcmd()
5766 kmem_free(buf, sizeof (buf_t)); in vdc_dioctl_rwcmd()
[all …]

12