Lines Matching defs:ioctl_arg

543 	/* convert input vd_buf to output ioctl_arg */
544 int (*copyin)(void *vd_buf, size_t, void *ioctl_arg);
545 /* convert input ioctl_arg to output vd_buf */
546 void (*copyout)(void *ioctl_arg, void *vd_buf);
2642 vd_geom2dk_geom(void *vd_buf, size_t vd_buf_len, void *ioctl_arg)
2644 VD_GEOM2DK_GEOM((vd_geom_t *)vd_buf, (struct dk_geom *)ioctl_arg);
2650 vd_vtoc2vtoc(void *vd_buf, size_t vd_buf_len, void *ioctl_arg)
2652 VD_VTOC2VTOC((vd_vtoc_t *)vd_buf, (struct extvtoc *)ioctl_arg);
2657 dk_geom2vd_geom(void *ioctl_arg, void *vd_buf)
2659 DK_GEOM2VD_GEOM((struct dk_geom *)ioctl_arg, (vd_geom_t *)vd_buf);
2663 vtoc2vd_vtoc(void *ioctl_arg, void *vd_buf)
2665 VTOC2VD_VTOC((struct extvtoc *)ioctl_arg, (vd_vtoc_t *)vd_buf);
2669 vd_get_efi_in(void *vd_buf, size_t vd_buf_len, void *ioctl_arg)
2672 dk_efi_t *dk_efi = (dk_efi_t *)ioctl_arg;
2686 vd_get_efi_out(void *ioctl_arg, void *vd_buf)
2690 dk_efi_t *dk_efi = (dk_efi_t *)ioctl_arg;
2698 vd_set_efi_in(void *vd_buf, size_t vd_buf_len, void *ioctl_arg)
2701 dk_efi_t *dk_efi = (dk_efi_t *)ioctl_arg;
2714 vd_set_efi_out(void *ioctl_arg, void *vd_buf)
2717 dk_efi_t *dk_efi = (dk_efi_t *)ioctl_arg;
2723 vd_scsicmd_in(void *vd_buf, size_t vd_buf_len, void *ioctl_arg)
2727 struct uscsi_cmd *uscsi = (struct uscsi_cmd *)ioctl_arg;
2801 vd_scsicmd_out(void *ioctl_arg, void *vd_buf)
2804 struct uscsi_cmd *uscsi = (struct uscsi_cmd *)ioctl_arg;
3044 vd_do_slice_ioctl(vd_t *vd, int cmd, void *ioctl_arg)
3064 ASSERT(ioctl_arg != NULL);
3065 bcopy(&vd->dk_geom, ioctl_arg, sizeof (vd->dk_geom));
3069 ASSERT(ioctl_arg != NULL);
3070 bcopy(&vd->vtoc, ioctl_arg, sizeof (vd->vtoc));
3074 ASSERT(ioctl_arg != NULL);
3079 geom = (struct dk_geom *)ioctl_arg;
3086 ASSERT(ioctl_arg != NULL);
3091 vtoc = (struct extvtoc *)ioctl_arg;
3107 ASSERT(ioctl_arg != NULL);
3108 dk_ioc = (dk_efi_t *)ioctl_arg;
3288 vd_do_dskimg_ioctl(vd_t *vd, int cmd, void *ioctl_arg)
3301 ASSERT(ioctl_arg != NULL);
3302 geom = (struct dk_geom *)ioctl_arg;
3311 ASSERT(ioctl_arg != NULL);
3312 vtoc = (struct extvtoc *)ioctl_arg;
3321 ASSERT(ioctl_arg != NULL);
3322 geom = (struct dk_geom *)ioctl_arg;
3333 bcopy(ioctl_arg, &vd->dk_geom, sizeof (vd->dk_geom));
3337 ASSERT(ioctl_arg != NULL);
3340 vtoc = (struct extvtoc *)ioctl_arg;
3359 ASSERT(ioctl_arg != NULL);
3360 efi = (dk_efi_t *)ioctl_arg;
3369 ASSERT(ioctl_arg != NULL);
3370 efi = (dk_efi_t *)ioctl_arg;