Lines Matching defs:io_hdr
170 #define CTL_LUN(io) ((io)->io_hdr.ctl_private[CTL_PRIV_LUN].ptrs[0])
171 #define CTL_SOFTC(io) ((io)->io_hdr.ctl_private[CTL_PRIV_LUN].ptrs[1])
172 #define CTL_BACKEND_LUN(io) ((io)->io_hdr.ctl_private[CTL_PRIV_BACKEND_LUN].ptrs[0])
174 ctl_ports[(io)->io_hdr.nexus.targ_port])
180 #define CTL_RSGL(io) ((io)->io_hdr.ctl_private[CTL_PRIV_BACKEND].ptrs[0])
181 #define CTL_LSGL(io) ((io)->io_hdr.ctl_private[CTL_PRIV_BACKEND].ptrs[1])
279 * Note: Make sure the io_hdr is *always* the first element in this
283 struct ctl_io_hdr io_hdr; /* common to all I/O types */
377 * Note: Make sure the io_hdr is *always* the first element in this
381 struct ctl_io_hdr io_hdr; /* common to all I/O types */
393 * Note: Make sure the io_hdr is *always* the first element in this
397 struct ctl_io_hdr io_hdr; /* common to all I/O types */
486 * Note: Make sure the io_hdr is *always* the first element in this
655 struct ctl_io_hdr io_hdr;
660 struct ctl_io_hdr io_hdr; /* common to all I/O types */
669 KASSERT((io)->io_hdr.io_type == CTL_IO_##_1, \
670 ("%s: unexpected I/O type %x", __func__, (io)->io_hdr.io_type))
673 KASSERT((io)->io_hdr.io_type == CTL_IO_##_1 || \
674 (io)->io_hdr.io_type == CTL_IO_##_2, \
675 ("%s: unexpected I/O type %x", __func__, (io)->io_hdr.io_type))
687 switch (io->io_hdr.io_type) {
701 switch (io->io_hdr.io_type) {
715 switch (io->io_hdr.io_type) {
729 switch (io->io_hdr.io_type) {
743 switch (io->io_hdr.io_type) {
757 switch (io->io_hdr.io_type) {
771 switch (io->io_hdr.io_type) {
787 switch (io->io_hdr.io_type) {
803 switch (io->io_hdr.io_type) {
819 switch (io->io_hdr.io_type) {
835 switch (io->io_hdr.io_type) {
851 switch (io->io_hdr.io_type) {
867 switch (io->io_hdr.io_type) {
883 switch (io->io_hdr.io_type) {
899 switch (io->io_hdr.io_type) {
915 switch (io->io_hdr.io_type) {
931 switch (io->io_hdr.io_type) {