/titanic_44/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 824 struct dk_callback *dkc = (struct dk_callback *)arg; in dadk_ioctl() local 839 if ((flag & FKIOCTL) && dkc != NULL && in dadk_ioctl() 840 dkc->dkc_callback != NULL) { in dadk_ioctl() 841 (*dkc->dkc_callback)(dkc->dkc_cookie, in dadk_ioctl() 863 if ((flag & FKIOCTL) && dkc != NULL && in dadk_ioctl() 864 dkc->dkc_callback != NULL) { in dadk_ioctl() 869 bcopy(dkc, dkc2, sizeof (*dkc2)); in dadk_ioctl() 986 struct dk_callback *dkc = bp->b_private; in dadk_flushdone() local 988 ASSERT(dkc != NULL && dkc->dkc_callback != NULL); in dadk_flushdone() 990 (*dkc->dkc_callback)(dkc->dkc_cookie, geterror(bp)); in dadk_flushdone() [all …]
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 724 struct dk_callback *dkc; in vdev_disk_io_start() local 758 zio->io_vsd = dkc = kmem_alloc(sizeof (*dkc), KM_SLEEP); in vdev_disk_io_start() 761 dkc->dkc_callback = vdev_disk_ioctl_done; in vdev_disk_io_start() 762 dkc->dkc_flag = FLUSH_VOLATILE; in vdev_disk_io_start() 763 dkc->dkc_cookie = zio; in vdev_disk_io_start() 766 (uintptr_t)dkc, FKIOCTL, kcred, NULL); in vdev_disk_io_start()
|
H A D | zvol.c | 1652 struct dk_callback *dkc; in zvol_ioctl() local 1725 dkc = (struct dk_callback *)arg; in zvol_ioctl() 1728 if ((flag & FKIOCTL) && dkc != NULL && dkc->dkc_callback) { in zvol_ioctl() 1729 (*dkc->dkc_callback)(dkc->dkc_cookie, error); in zvol_ioctl()
|
/titanic_44/usr/src/cmd/fs.d/hsfs/fstyp/ |
H A D | fstyp.c | 531 struct dk_cinfo dkc; in rdev_is_a_cd() local 533 if (ioctl(rdevfd, DKIOCINFO, &dkc) < 0) in rdev_is_a_cd() 535 if (dkc.dki_ctype == DKC_CDROM) in rdev_is_a_cd()
|
/titanic_44/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 3404 struct dk_callback *dkc = (struct dk_callback *)arg; in dcdioctl() local 3421 if ((flag & FKIOCTL) && dkc != NULL && in dcdioctl() 3422 dkc->dkc_callback != NULL) { in dcdioctl() 3423 (*dkc->dkc_callback)(dkc->dkc_cookie, i); in dcdioctl() 3469 if ((flag & FKIOCTL) && dkc != NULL && in dcdioctl() 3470 dkc->dkc_callback != NULL) { in dcdioctl() 3473 bcopy(dkc, dkc2, sizeof (*dkc2)); in dcdioctl() 3503 struct dk_callback *dkc = bp->b_private; in dcdflushdone() local 3512 if (dkc != NULL) { in dcdflushdone() 3514 (*dkc->dkc_callback)(dkc->dkc_cookie, geterror(bp)); in dcdflushdone() [all …]
|
/titanic_44/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 1383 struct dk_callback *dkc = NULL; in bd_ioctl() local 1386 dkc = (void *)arg; in bd_ioctl() 1388 rv = bd_flush_write_cache(bd, dkc); in bd_ioctl() 1714 bd_flush_write_cache(bd_t *bd, struct dk_callback *dkc) in bd_flush_write_cache() argument 1738 if (dkc != NULL && dkc->dkc_callback != NULL) { in bd_flush_write_cache() 1741 *dc = *dkc; in bd_flush_write_cache()
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 5511 struct dk_callback dkc; member 5532 struct dk_callback *dkc = NULL; in vdc_dkio_flush_cb() local 5540 dkc = &dk_arg->dkc; in vdc_dkio_flush_cb() 5557 (dkc != NULL) && in vdc_dkio_flush_cb() 5558 (dkc->dkc_callback != NULL)) { in vdc_dkio_flush_cb() 5559 ASSERT(dkc->dkc_cookie != NULL); in vdc_dkio_flush_cb() 5560 (*dkc->dkc_callback)(dkc->dkc_cookie, rv); in vdc_dkio_flush_cb() 7530 struct dk_callback *dkc = in vd_process_ioctl() local 7551 if (dkc == NULL) in vd_process_ioctl() 7565 bcopy(dkc, &dkarg->dkc, sizeof (*dkc)); in vd_process_ioctl()
|
/titanic_44/usr/src/uts/common/xen/io/ |
H A D | xdf.c | 2679 struct dk_callback *dkc = (struct dk_callback *)arg; in xdf_ioctl() local 2692 if ((mode & FKIOCTL) && (dkc != NULL) && in xdf_ioctl() 2693 (dkc->dkc_callback != NULL)) { in xdf_ioctl() 2694 (*dkc->dkc_callback)(dkc->dkc_cookie, rv); in xdf_ioctl()
|
/titanic_44/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 1535 struct dk_callback *dkc); 9752 struct dk_callback *dkc; in sd_get_nv_sup() local 9821 dkc = kmem_zalloc(sizeof (struct dk_callback), KM_SLEEP); in sd_get_nv_sup() 9822 dkc->dkc_flag = FLUSH_VOLATILE; in sd_get_nv_sup() 9823 (void) sd_send_scsi_SYNCHRONIZE_CACHE(un, dkc); in sd_get_nv_sup() 9833 kmem_free(dkc, sizeof (struct dk_callback)); in sd_get_nv_sup() 21176 sd_send_scsi_SYNCHRONIZE_CACHE(struct sd_lun *un, struct dk_callback *dkc) argument 21191 if (dkc == NULL || dkc->dkc_callback == NULL) { 21211 (*dkc->dkc_callback)(dkc->dkc_cookie, 0); 21225 if (dkc != NULL && un->un_f_sync_nv_supported && [all …]
|