Home
last modified time | relevance | path

Searched refs:b_private (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dcm.h56 #define SET_BP_SEC(bp, X) ((bp)->b_private = (void *) (X))
57 #define GET_BP_SEC(bp) ((daddr_t)(bp)->b_private)
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd_xbuf.c241 bp->b_private = brkp; in ddi_xbuf_qstrategy()
243 bp->b_private = NULL; in ddi_xbuf_qstrategy()
382 return (bp->b_private); in ddi_xbuf_get()
496 if (bp->b_private) { in xbuf_iostart()
497 struct xbuf_brk *brkp = bp->b_private; in xbuf_iostart()
536 bp->b_private = xp; in xbuf_iostart()
H A Dsgen.c1262 bp->b_private = (struct buf *)uscmd; in sgen_uscsi_cmd()
1359 ASSERT(bp->b_private); in sgen_start()
1453 ucmd = (struct uscsi_cmd *)bp->b_private; in sgen_make_uscsi_cmd()
1594 ucmd = (struct uscsi_cmd *)bp->b_private; in sgen_callback()
1727 (struct uscsi_cmd *)sg_state->sgen_cmdbuf->b_private; in sgen_handle_autosense()
1817 (struct uscsi_cmd *)sg_state->sgen_cmdbuf->b_private; in sgen_handle_sense()
1903 (struct uscsi_cmd *)sg_state->sgen_cmdbuf->b_private; in sgen_check_error()
H A Dsd.c10803 xp->xb_private = bp->b_private; in sd_xbuf_init()
10884 bp->b_private = xp; in sd_xbuf_init()
10933 ASSERT(bp->b_private != NULL); in sd_uscsi_strategy()
10934 uip = (struct sd_uscsi_info *)bp->b_private; in sd_uscsi_strategy()
11713 bp->b_private = xp->xb_private; in sd_uscsi_iodone()
13604 new_bp->b_private = new_xp; in sd_bioclone_alloc()
13689 new_bp->b_private = new_xp; in sd_shadow_buf_alloc()
15702 ASSERT(un->un_rqs_bp->b_private == xp);
20404 bp->b_private = uip;
20457 uip = (struct sd_uscsi_info *)(bp->b_private);
H A Dst.c16219 cp->cm_bp->b_private = (void *)cp; in st_get_contig_mem()
16247 cp = (struct contig_mem *)bp->b_private; in st_bigblk_xfer_done()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c198 vnode_t *vp = bp->b_private; in vdev_file_io_strategy()
281 bp->b_private = vf->vf_vnode; in vdev_file_io_start()
/illumos-gate/usr/src/uts/common/io/usb/clients/usbskel/
H A Dusbskel.c734 if ((bp->b_private = request = usb_alloc_ctrl_req( in usbskel_strategy()
848 bp->b_private = NULL; in usbskel_normal_callback()
908 bp->b_private = NULL; in usbskel_exception_callback()
/illumos-gate/usr/src/uts/common/sys/
H A Dbuf.h123 void *b_private; /* "opaque" driver private area */ member
/illumos-gate/usr/src/uts/intel/io/dktp/drvobj/
H A Dstrategy.c813 #define DBLK(bp) ((unsigned long)(bp)->b_private)
934 bp_merge->b_private = bp->b_private;
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c417 bp->b_private = NULL; in lofi_tg_rdwr()
1312 diskaddr_t p_lba = (diskaddr_t)(uintptr_t)bp->b_private; in lofi_trim_task()
1396 diskaddr_t p_lba = (diskaddr_t)(uintptr_t)bp->b_private; in lofi_strategy_task()
1850 bp->b_private = (void *)(uintptr_t)p_lba; /* partition start */ in lofi_strategy_backend()
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c870 bp->b_private = dkc2; in dadk_ioctl()
986 struct dk_callback *dkc = bp->b_private; in dadk_flushdone()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdf.c437 (diskaddr_t)(uintptr_t)bp->b_private; in vreq_setup()
2776 if ((long)bp->b_private == XB_SLICE_NONE) { in xdf_strategy()
2846 bp->b_private = (void *)(uintptr_t)p_blkst; in xdf_strategy()
3026 dbp->b_private = (void *)(uintptr_t)p_blkst; in xdf_dump()
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c3467 bp->b_private = NULL; in dcdioctl()
3475 bp->b_private = dkc2; in dcdioctl()
3503 struct dk_callback *dkc = bp->b_private; in dcdflushdone()
3517 bp->b_private = NULL; in dcdflushdone()
/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h1437 #define SD_GET_XBUF(bp) ((struct sd_xbuf *)((bp)->b_private))
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c2129 struct dk_callback *dc = (void *)bp->b_private; in bd_flush_write_cache_done()
2166 bp->b_private = dc; in bd_flush_write_cache()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c2404 bp->b_private = private_data; in scsi_uscsi_handle_cmd()
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc.c930 bp->b_private = NULL; in usbvc_strategy()
2847 bp->b_private = NULL; in usbvc_read_buf()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c8346 rqbp->b_private = mp_uscmdp; in vhci_uscsi_send_sense()
8540 ASSERT(bp->b_private != NULL); in vhci_uscsi_iostart()
8542 mp_uscmdp = (mp_uscsi_cmd_t *)bp->b_private; in vhci_uscsi_iostart()
H A Dmpapi_impl.c1953 bp->b_private = mp_uscmdp; in vhci_init_uscsi_cmd()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c1910 vd_task_t *task = (vd_task_t *)buf->b_private; in vd_bio_task()
2164 buf->b_private = task; in vd_start_bio()
H A Dvdc.c1513 if ((long)buf->b_private == VD_SLICE_NONE) { in vdc_strategy()
5760 buf->b_private = (void *)VD_SLICE_NONE; in vdc_dioctl_rwcmd()