Lines Matching defs:emul64
39 #include <sys/emul64.h>
130 * Since emul64 does no physical I/O, operations that would normally be I/O
145 * emul64_yield_enable emul64 will yield the CPU, only if this
162 * defining properties in the emul64.conf file.
185 static int bsd_readblks(struct emul64 *, ushort_t, ushort_t, diskaddr_t,
187 static int bsd_writeblks(struct emul64 *, ushort_t, ushort_t, diskaddr_t,
189 emul64_tgt_t *find_tgt(struct emul64 *, ushort_t, ushort_t);
196 char *emul64_name = "emul64";
314 struct emul64 *emul64 = PKT2EMUL64(pkt);
316 int instance = ddi_get_instance(emul64->emul64_dip);
1013 bsd_readblks(struct emul64 *emul64, ushort_t target, ushort_t lun,
1029 EMUL64_MUTEX_ENTER(emul64);
1030 tgt = find_tgt(emul64, target, lun);
1031 EMUL64_MUTEX_EXIT(emul64);
1094 bsd_writeblks(struct emul64 *emul64, ushort_t target, ushort_t lun,
1111 EMUL64_MUTEX_ENTER(emul64);
1112 tgt = find_tgt(emul64, target, lun);
1113 EMUL64_MUTEX_EXIT(emul64);
1205 find_tgt(struct emul64 *emul64, ushort_t target, ushort_t lun)
1209 tgt = emul64->emul64_tgt;
1336 * in a CPU bound kernel when the device is an emul64 device. This makes