Home
last modified time | relevance | path

Searched refs:dadkio_rwcmd (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dctlr_ata.c139 struct dadkio_rwcmd dadkio_rwcmd; in ata_rdwr() local
143 bzero((caddr_t)&dadkio_rwcmd, sizeof (struct dadkio_rwcmd)); in ata_rdwr()
148 dadkio_rwcmd.cmd = (dir == DIR_READ) ? DADKIO_RWCMD_READ : in ata_rdwr()
150 dadkio_rwcmd.blkaddr = blkno; in ata_rdwr()
151 dadkio_rwcmd.buflen = tmpsec; in ata_rdwr()
152 dadkio_rwcmd.flags = flags; in ata_rdwr()
153 dadkio_rwcmd.bufaddr = bufaddr; in ata_rdwr()
166 if (ioctl(fd, DIOCTL_RWCMD, &dadkio_rwcmd) == -1) { in ata_rdwr()
176 switch (dadkio_rwcmd.status.status) { in ata_rdwr()
191 if (dadkio_rwcmd.status.status) { in ata_rdwr()
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c129 static void dadk_dk(struct dadk *dadkp, struct dadkio_rwcmd *scmdp,
133 static void dadk_recorderr(struct cmpkt *pktp, struct dadkio_rwcmd *rwcmdp);
778 struct dadkio_rwcmd *rwcmdp; in dadk_ioctl()
785 rwcmdp = (struct dadkio_rwcmd *)(intptr_t)arg; in dadk_ioctl()
1309 struct dadkio_rwcmd *rwcmdp; in dadk_pktcb()
1311 rwcmdp = (struct dadkio_rwcmd *)pktp->cp_passthru; /* ioctl packet */ in dadk_pktcb()
1478 dadk_recorderr(struct cmpkt *pktp, struct dadkio_rwcmd *rwcmdp) in dadk_recorderr()
1738 struct dadkio_rwcmd *rwcmdp = (struct dadkio_rwcmd *)cmdp; in dadk_dk_buf_setup()
1781 dadk_dk((struct dadk *)bp->av_forw, (struct dadkio_rwcmd *)bp->b_back, in dadk_dk_strategy()
1787 dadk_dk(struct dadk *dadkp, struct dadkio_rwcmd *rwcmdp, struct buf *bp) in dadk_dk()
/illumos-gate/usr/src/uts/sun/sys/dada/targets/
H A Ddadpriv.h81 struct dadkio_rwcmd { struct
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_disk.h75 #define RWCMDP(pktp) ((struct dadkio_rwcmd *)((pktp)->cp_bp->b_back))
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Ddadkio.h192 struct dadkio_rwcmd { struct
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c749 rwcmd_copyin(struct dadkio_rwcmd *rwcmdp, caddr_t inaddr, int flag) in rwcmd_copyin()
775 sizeof (struct dadkio_rwcmd), flag)) { in rwcmd_copyin()
788 rwcmd_copyout(struct dadkio_rwcmd *rwcmdp, caddr_t outaddr, int flag) in rwcmd_copyout()
820 sizeof (struct dadkio_rwcmd), flag)) in rwcmd_copyout()
989 struct dadkio_rwcmd *rwcmdp; in cmdkioctl()
992 rwcmdp = kmem_alloc(sizeof (struct dadkio_rwcmd), KM_SLEEP); in cmdkioctl()
1009 kmem_free(rwcmdp, sizeof (struct dadkio_rwcmd)); in cmdkioctl()
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c3054 struct dadkio_rwcmd rwcmd; in dcdioctl()
3202 sizeof (struct dadkio_rwcmd), flag)) { in dcdioctl()
3298 sizeof (struct dadkio_rwcmd), flag)) { in dcdioctl()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c5709 struct dadkio_rwcmd rwcmd; in vdc_dioctl_rwcmd()
5727 sizeof (struct dadkio_rwcmd), flag)) { in vdc_dioctl_rwcmd()
7213 {0, DIOCTL_RWCMD, sizeof (struct dadkio_rwcmd), NULL},