Searched refs:dadkio_rwcmd (Results 1 – 9 of 9) sorted by relevance
/titanic_44/usr/src/cmd/format/ |
H A D | ctlr_ata.c | 152 struct dadkio_rwcmd dadkio_rwcmd; in ata_rdwr() local 156 bzero((caddr_t)&dadkio_rwcmd, sizeof (struct dadkio_rwcmd)); in ata_rdwr() 161 dadkio_rwcmd.cmd = (dir == DIR_READ) ? DADKIO_RWCMD_READ : in ata_rdwr() 163 dadkio_rwcmd.blkaddr = blkno; in ata_rdwr() 164 dadkio_rwcmd.buflen = tmpsec; in ata_rdwr() 165 dadkio_rwcmd.flags = flags; in ata_rdwr() 166 dadkio_rwcmd.bufaddr = bufaddr; in ata_rdwr() 179 if (ioctl(fd, DIOCTL_RWCMD, &dadkio_rwcmd) == -1) { in ata_rdwr() 189 switch (dadkio_rwcmd.status.status) { in ata_rdwr() 204 if (dadkio_rwcmd.status.status) { in ata_rdwr() [all …]
|
/titanic_44/usr/src/uts/i86pc/i86hvm/io/ |
H A D | pv_cmdk.c | 325 xdfs_rwcmd_copyin(struct dadkio_rwcmd *rwcmdp, caddr_t inaddr, int flag) in xdfs_rwcmd_copyin() 351 sizeof (struct dadkio_rwcmd), flag)) { in xdfs_rwcmd_copyin() 363 xdfs_rwcmd_copyout(struct dadkio_rwcmd *rwcmdp, caddr_t outaddr, int flag) in xdfs_rwcmd_copyout() 395 sizeof (struct dadkio_rwcmd), flag)) in xdfs_rwcmd_copyout() 405 struct dadkio_rwcmd *rwcmdp; in xdfs_dioctl_rwcmd() 411 rwcmdp = kmem_alloc(sizeof (struct dadkio_rwcmd), KM_SLEEP); in xdfs_dioctl_rwcmd() 454 kmem_free(rwcmdp, sizeof (struct dadkio_rwcmd)); in xdfs_dioctl_rwcmd()
|
/titanic_44/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 129 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()
|
/titanic_44/usr/src/uts/sun/sys/dada/targets/ |
H A D | dadpriv.h | 81 struct dadkio_rwcmd { struct
|
/titanic_44/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_disk.h | 77 #define RWCMDP(pktp) ((struct dadkio_rwcmd *)((pktp)->cp_bp->b_back))
|
/titanic_44/usr/src/uts/common/sys/dktp/ |
H A D | dadkio.h | 192 struct dadkio_rwcmd { struct
|
/titanic_44/usr/src/uts/intel/io/dktp/disk/ |
H A D | cmdk.c | 785 rwcmd_copyin(struct dadkio_rwcmd *rwcmdp, caddr_t inaddr, int flag) in rwcmd_copyin() 811 sizeof (struct dadkio_rwcmd), flag)) { in rwcmd_copyin() 824 rwcmd_copyout(struct dadkio_rwcmd *rwcmdp, caddr_t outaddr, int flag) in rwcmd_copyout() 856 sizeof (struct dadkio_rwcmd), flag)) in rwcmd_copyout() 1025 struct dadkio_rwcmd *rwcmdp; in cmdkioctl() 1028 rwcmdp = kmem_alloc(sizeof (struct dadkio_rwcmd), KM_SLEEP); in cmdkioctl() 1045 kmem_free(rwcmdp, sizeof (struct dadkio_rwcmd)); in cmdkioctl()
|
/titanic_44/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 3054 struct dadkio_rwcmd rwcmd; in dcdioctl() 3202 sizeof (struct dadkio_rwcmd), flag)) { in dcdioctl() 3298 sizeof (struct dadkio_rwcmd), flag)) { in dcdioctl()
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 5709 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},
|