Symbol: emul
bin/ps/extern.h
76
void emul(struct pinfo *, VARENT *, enum mode);
bin/ps/keyword.c
121
VAR4("emul", "EMUL", LJUST, emul),
lib/libnvmm/libnvmm_x86.c
1022
const struct x86_emul *emul;
lib/libnvmm/libnvmm_x86.c
1058
const struct x86_emul *emul;
lib/libnvmm/libnvmm_x86.c
1062
const struct x86_emul *emul;
lib/libnvmm/libnvmm_x86.c
1075
[1] = { .emul = &x86_emul_or },
lib/libnvmm/libnvmm_x86.c
1076
[4] = { .emul = &x86_emul_and },
lib/libnvmm/libnvmm_x86.c
1077
[6] = { .emul = &x86_emul_xor },
lib/libnvmm/libnvmm_x86.c
1078
[7] = { .emul = &x86_emul_cmp }
lib/libnvmm/libnvmm_x86.c
1082
[0] = { .emul = &x86_emul_test },
lib/libnvmm/libnvmm_x86.c
1083
[1] = { .emul = &x86_emul_test }
lib/libnvmm/libnvmm_x86.c
1087
[0] = { .emul = &x86_emul_mov }
lib/libnvmm/libnvmm_x86.c
1103
.emul = NULL /* group1 */
lib/libnvmm/libnvmm_x86.c
1115
.emul = NULL /* group1 */
lib/libnvmm/libnvmm_x86.c
1127
.emul = NULL /* group1 */
lib/libnvmm/libnvmm_x86.c
1142
.emul = NULL /* group3 */
lib/libnvmm/libnvmm_x86.c
1154
.emul = NULL /* group3 */
lib/libnvmm/libnvmm_x86.c
1169
.emul = NULL /* group11 */
lib/libnvmm/libnvmm_x86.c
1181
.emul = NULL /* group11 */
lib/libnvmm/libnvmm_x86.c
1194
.emul = &x86_emul_or
lib/libnvmm/libnvmm_x86.c
1203
.emul = &x86_emul_or
lib/libnvmm/libnvmm_x86.c
1212
.emul = &x86_emul_or
lib/libnvmm/libnvmm_x86.c
1221
.emul = &x86_emul_or
lib/libnvmm/libnvmm_x86.c
1234
.emul = &x86_emul_and
lib/libnvmm/libnvmm_x86.c
1243
.emul = &x86_emul_and
lib/libnvmm/libnvmm_x86.c
1252
.emul = &x86_emul_and
lib/libnvmm/libnvmm_x86.c
1261
.emul = &x86_emul_and
lib/libnvmm/libnvmm_x86.c
1274
.emul = &x86_emul_sub
lib/libnvmm/libnvmm_x86.c
1283
.emul = &x86_emul_sub
lib/libnvmm/libnvmm_x86.c
1292
.emul = &x86_emul_sub
lib/libnvmm/libnvmm_x86.c
1301
.emul = &x86_emul_sub
lib/libnvmm/libnvmm_x86.c
1314
.emul = &x86_emul_xor
lib/libnvmm/libnvmm_x86.c
1323
.emul = &x86_emul_xor
lib/libnvmm/libnvmm_x86.c
1332
.emul = &x86_emul_xor
lib/libnvmm/libnvmm_x86.c
1341
.emul = &x86_emul_xor
lib/libnvmm/libnvmm_x86.c
1354
.emul = &x86_emul_xchg
lib/libnvmm/libnvmm_x86.c
1363
.emul = &x86_emul_xchg
lib/libnvmm/libnvmm_x86.c
1376
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1385
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1394
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1403
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1412
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1421
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1430
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1439
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1451
.emul = NULL
lib/libnvmm/libnvmm_x86.c
1459
.emul = NULL
lib/libnvmm/libnvmm_x86.c
1471
.emul = NULL
lib/libnvmm/libnvmm_x86.c
1479
.emul = NULL
lib/libnvmm/libnvmm_x86.c
1491
.emul = &x86_emul_stos
lib/libnvmm/libnvmm_x86.c
1499
.emul = &x86_emul_stos
lib/libnvmm/libnvmm_x86.c
1511
.emul = &x86_emul_lods
lib/libnvmm/libnvmm_x86.c
1519
.emul = &x86_emul_lods
lib/libnvmm/libnvmm_x86.c
1535
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
1545
.emul = &x86_emul_mov
lib/libnvmm/libnvmm_x86.c
2336
if (group1[instr->regmodrm.reg].emul == NULL) {
lib/libnvmm/libnvmm_x86.c
2339
instr->emul = group1[instr->regmodrm.reg].emul;
lib/libnvmm/libnvmm_x86.c
2341
if (group3[instr->regmodrm.reg].emul == NULL) {
lib/libnvmm/libnvmm_x86.c
2344
instr->emul = group3[instr->regmodrm.reg].emul;
lib/libnvmm/libnvmm_x86.c
2346
if (group11[instr->regmodrm.reg].emul == NULL) {
lib/libnvmm/libnvmm_x86.c
2349
instr->emul = group11[instr->regmodrm.reg].emul;
lib/libnvmm/libnvmm_x86.c
2501
instr->emul = opcode->emul;
lib/libnvmm/libnvmm_x86.c
2544
instr->emul = opcode->emul;
lib/libnvmm/libnvmm_x86.c
3355
} else if (instr->emul->readreg) {
lib/libnvmm/libnvmm_x86.c
3369
(*instr->emul->func)(vcpu, &mem, state->gprs);
lib/libnvmm/libnvmm_x86.c
3371
if (instr->emul->notouch) {
lib/libnvmm/libnvmm_x86.c
3391
} else if (instr->emul->backprop) {
sys/arch/sparc/fpu/fpu.c
145
const struct emul *sunos_emul;
sys/arch/vax/vax/syscall.c
69
const struct emul * const emul = p->p_emul;
sys/arch/vax/vax/syscall.c
70
const struct sysent *callp = emul->e_sysent;
sys/arch/vax/vax/syscall.c
81
if ((unsigned long) tf->tf_code >= emul->e_nsysent)
sys/arch/vax/vax/syscall.c
82
callp += emul->e_nosys;
sys/compat/aoutm68k/aoutm68k_exec.c
58
struct emul emul_netbsd_aoutm68k = {
sys/compat/aoutm68k/aoutm68k_mod.c
41
extern struct emul emul_netbsd_aoutm68k;
sys/compat/common/compat_util.h
64
struct emul;
sys/compat/freebsd/freebsd_exec.c
66
struct emul emul_freebsd = {
sys/compat/freebsd/freebsd_exec.h
48
extern struct emul emul_freebsd;
sys/compat/linux/common/linux_exec.c
86
struct emul emul_linux = {
sys/compat/linux/common/linux_exec.h
119
extern struct emul emul_linux;
sys/compat/linux32/arch/aarch64/linux32_exec_machdep.c
55
const struct emul *e = &emul_linux32;
sys/compat/linux32/common/linux32_exec.c
68
struct emul emul_linux32 = {
sys/compat/linux32/common/linux32_exec.h
47
extern struct emul emul_linux32;
sys/compat/linux32/common/linux32_socketcall.c
59
#define sc(emul, fn) { "linux32/" #fn, sizeof (struct emul##_##fn##_args), \
sys/compat/linux32/common/linux32_socketcall.c
60
(int (*)(struct lwp *, const void *, register_t *))emul##_##fn }
sys/compat/netbsd32/netbsd32.h
1320
extern struct emul emul_netbsd32;
sys/compat/netbsd32/netbsd32_ioctl.c
461
asd->emul = (char *)NETBSD32PTR64(asd32->emul);
sys/compat/netbsd32/netbsd32_ioctl.c
967
NETBSD32PTR32(asd32->emul, asd->emul);
sys/compat/netbsd32/netbsd32_ioctl.h
145
netbsd32_charp emul;
sys/compat/netbsd32/netbsd32_netbsd.c
115
struct emul emul_netbsd32 = {
sys/compat/sunos/sunos_exec.c
66
struct emul emul_sunos = {
sys/compat/sunos/sunos_exec.h
53
extern struct emul emul_sunos;
sys/compat/sunos/sunos_mod.c
64
get_sunos_emul(const struct emul **e)
sys/compat/sunos32/sunos32_exec.c
65
struct emul emul_sunos = {
sys/compat/sunos32/sunos32_exec.h
34
extern struct emul emul_sunos;
sys/compat/sunos32/sunos32_mod.c
67
get_sunos_emul(const struct emul **e)
sys/compat/ultrix/ultrix_exec.h
29
extern struct emul emul_ultrix;
sys/compat/ultrix/ultrix_misc.c
162
struct emul emul_ultrix = {
sys/dev/wscons/wsconsio.h
468
char *emul;
sys/dev/wscons/wsdisplay.c
1495
char *type, typebuf[16], *emul, emulbuf[16];
sys/dev/wscons/wsdisplay.c
1516
if (d->emul) {
sys/dev/wscons/wsdisplay.c
1517
error = copyinstr(d->emul, emulbuf, sizeof(emulbuf),0);
sys/dev/wscons/wsdisplay.c
1520
emul = emulbuf;
sys/dev/wscons/wsdisplay.c
1522
emul = 0;
sys/dev/wscons/wsdisplay.c
1524
if ((error = wsdisplay_addscreen(sc, d->idx, type, emul)) == 0)
sys/dev/wscons/wsdisplay.c
315
wsscreen_attach(struct wsdisplay_softc *sc, int console, const char *emul,
sys/dev/wscons/wsdisplay.c
338
dconf->wsemul = wsemul_pick(emul);
sys/dev/wscons/wsdisplay.c
438
const char *screentype, const char *emul)
sys/dev/wscons/wsdisplay.c
474
scr = wsscreen_attach(sc, 0, emul, scrdesc,
sys/kern/kern_exec.c
143
static int exec_sigcode_map(struct proc *, const struct emul *);
sys/kern/kern_exec.c
2014
exec_sigcode_alloc(const struct emul *e)
sys/kern/kern_exec.c
202
struct emul emul_netbsd = {
sys/kern/kern_exec.c
2070
exec_sigcode_free(const struct emul *e)
sys/kern/kern_exec.c
2089
exec_sigcode_map(struct proc *p, const struct emul *e)
sys/kern/kern_ktrace.c
623
const char *emul = l->l_proc->p_emul->e_name;
sys/kern/kern_ktrace.c
628
ktr_kmem(l, KTR_EMUL, emul, strlen(emul));
sys/kern/kern_scdebug.c
137
const struct emul *em;
sys/kern/kern_scdebug.c
248
const struct emul *em;
sys/kern/kern_syscall.c
109
syscall_establish(const struct emul *em, const struct syscall_package *sp)
sys/kern/kern_syscall.c
147
syscall_disestablish(const struct emul *em, const struct syscall_package *sp)
sys/kern/kern_syscall.c
247
struct emul *e = p->p_emul;
sys/kern/kern_syscall.c
290
struct emul *e = p->p_emul;
sys/kern/kern_syscall.c
67
const struct emul *em;
sys/rump/kern/lib/libsys_cygwin/sys_cygwin_component.c
18
struct emul emul_rump_sys_cygwin = {
sys/rump/kern/lib/libsys_cygwin/sys_cygwin_component.c
33
extern struct emul *emul_default;
sys/rump/kern/lib/libsys_linux/sys_linux_component.c
29
struct emul emul_rump_sys_linux = {
sys/rump/kern/lib/libsys_linux/sys_linux_component.c
45
extern struct emul *emul_default;
sys/rump/kern/lib/libsys_sunos/sys_sunos_component.c
18
struct emul emul_rump_sys_sunos = {
sys/rump/kern/lib/libsys_sunos/sys_sunos_component.c
33
extern struct emul *emul_default;
sys/rump/librump/rumpkern/emul.c
121
struct emul emul_netbsd = {
sys/rump/librump/rumpkern/lwproc.c
64
struct emul *emul_default = &emul_netbsd;
sys/rump/librump/rumpkern/rump.c
767
struct emul *e;
sys/sys/compat_stub.h
313
struct emul;
sys/sys/compat_stub.h
314
MODULE_HOOK(get_emul_sunos_hook, int, (const struct emul **));
sys/sys/exec.h
160
struct emul *es_emul; /* os emulation */
sys/sys/exec.h
292
int exec_sigcode_alloc(const struct emul *);
sys/sys/exec.h
293
void exec_sigcode_free(const struct emul *);
sys/sys/proc.h
303
struct emul *p_emul; /* :: emulation information */
sys/sys/proc.h
618
extern struct emul emul_netbsd;
sys/sys/syscallvar.h
46
extern struct emul emul_netbsd;
sys/sys/syscallvar.h
55
int syscall_establish(const struct emul *, const struct syscall_package *);
sys/sys/syscallvar.h
56
int syscall_disestablish(const struct emul *, const struct syscall_package *);
usr.bin/kdump/kdump.c
1006
if (strcmp(emul->name, "linux") == 0 ||
usr.bin/kdump/kdump.c
1007
strcmp(emul->name, "linux32") == 0) {
usr.bin/kdump/kdump.c
1048
const struct emulation *emul;
usr.bin/kdump/kdump.c
1054
emul = prev_emul;
usr.bin/kdump/kdump.c
1057
emul = cur_emul;
usr.bin/kdump/kdump.c
1059
if (numeric || ((code >= emul->nsysnames || code < 0 || plain > 1)))
usr.bin/kdump/kdump.c
1062
(void)printf("%s ", emul->sysnames[code]);
usr.bin/kdump/kdump.c
836
const struct emulation *emul = cur_emul;
usr.bin/kdump/kdump.c
847
((ktr->ktr_code >= emul->nsysnames || ktr->ktr_code < 0))) {
usr.bin/kdump/kdump.c
851
sys_name = emul->sysnames[ktr->ktr_code];
usr.bin/kdump/kdump.c
869
(strcmp(emul->name, "linux") != 0 &&
usr.bin/kdump/kdump.c
870
strcmp(emul->name, "linux32") != 0 &&
usr.bin/kdump/setemul.c
258
ectx_update(pid_t pid, const struct emulation *emul)
usr.bin/kdump/setemul.c
263
ctx->emulation = emul;
usr.bin/ktruss/dump.c
666
struct ktr_entry *emul;
usr.bin/ktruss/dump.c
694
emul = getpendq(kth, KTR_EMUL, NULL);
usr.bin/ktruss/dump.c
695
if (emul != NULL) {
usr.bin/ktruss/dump.c
697
ktremul(emul);
usr.bin/ktruss/dump.c
730
char *emul = (char *)(kth + 1);
usr.bin/ktruss/dump.c
733
xwprintf("emul(%s)", emul);
usr.bin/ktruss/dump.c
734
setemul(emul, kth->ktr_pid, 1);
usr.sbin/wsconscfg/wsconscfg.c
77
asd.emul = 0;
usr.sbin/wsconscfg/wsconscfg.c
86
asd.emul = optarg;