Home
last modified time | relevance | path

Searched refs:eswp (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dexec.c651 struct execsw *eswp; in gexec() local
1038 struct execsw *eswp; in findexecsw() local
1040 for (eswp = execsw; eswp < &execsw[nexectype]; eswp++) { in findexecsw()
1043 bcmp(magic, eswp->exec_magic, eswp->exec_maglen) == 0) in findexecsw()
1044 return (eswp); in findexecsw()
1060 for (eswp = execsw; eswp < &execsw[nexectype]; eswp++) { in findexec_by_hdr()
1063 bcmp(&header[eswp->exec_magoff], eswp->exec_magic, in findexec_by_hdr()
1067 return (eswp); in findexec_by_hdr()
1082 for (eswp = execsw; eswp < &execsw[nexectype]; eswp++) { in findexec_by_magic()
1085 bcmp(magic, eswp->exec_magic, eswp->exec_maglen) == 0) { in findexec_by_magic()
[all …]
H A Dmodconf.c1300 struct execsw *eswp; in mod_infoexec() local
1305 *p0 = eswp - execsw; in mod_infoexec()
1316 struct execsw *eswp; in mod_installexec() local
1339 if (eswp->exec_func != NULL) { in mod_installexec()
1341 *eswp->exec_magic); in mod_installexec()
1348 rw_exit(eswp->exec_lock); in mod_installexec()
1359 struct execsw *eswp; in mod_removeexec() local
1364 if (eswp == NULL) { in mod_removeexec()
1374 eswp->exec_func = NULL; in mod_removeexec()
1375 eswp->exec_core = NULL; in mod_removeexec()
[all …]
H A Dcore.c334 struct execsw *eswp; in do_core() local
440 if ((eswp = PTOU(curproc)->u_execsw) == NULL || in do_core()
441 (eswp = findexec_by_magic(eswp->exec_magic)) == NULL) { in do_core()
444 error = eswp->exec_core(vp, p, credp, rlimit, sig, in do_core()
446 rw_exit(eswp->exec_lock); in do_core()