Home
last modified time | relevance | path

Searched refs:modctl (Results 1 – 25 of 35) sorted by relevance

12

/netbsd/external/bsd/iscsi/dist/src/initiator/
H A Dlibkmod.c83 if (modctl(MODCTL_STAT, &kernel->iov)) { in openkmod()
201 if (modctl(MODCTL_LOAD, &cmdargs)) { in kmodload()
216 return modctl(MODCTL_UNLOAD, __UNCONST(name)) == 0; in kmodunload()
/netbsd/tests/modules/
H A Dt_modctl.c74 err = modctl(MODCTL_EXISTS, 0); in check_permission()
101 if (modctl(MODCTL_STAT, &iov) != 0) { in get_modstat_info()
299 if (modctl(MODCTL_LOAD, &ml) == -1) { in load()
325 if (modctl(MODCTL_UNLOAD, __UNCONST(name)) == -1) { in unload()
343 (void)modctl(MODCTL_UNLOAD, __UNCONST(name)); in unload_cleanup()
H A Dt_x86_pte.c73 if (modctl(MODCTL_LOAD, &params) != 0) in fetch_results()
79 if (modctl(MODCTL_UNLOAD, module_name) != 0) in fetch_results()
H A Dt_ufetchstore.c78 if (modctl(MODCTL_LOAD, &params) != 0) { in load_module()
96 if (modctl(MODCTL_UNLOAD, module_name) != 0) { in unload_module()
/netbsd/tests/modules/k_helper3/
H A Dk_helper3.c84 rv = modctl(MODCTL_LOAD, &ml); in load()
97 (void)modctl(MODCTL_UNLOAD, shortname); in load()
/netbsd/sys/sys/
H A Dmodule.h247 enum modctl { enum
271 int modctl(int, void *);
/netbsd/sbin/modstat/
H A Dmodstat_hostops.c40 .op_modctl = modctl,
H A Dprog_ops.h46 #define prog_modctl modctl
/netbsd/sbin/modunload/
H A Dmodunload_hostops.c40 .op_modctl = modctl,
H A Dprog_ops.h46 #define prog_modctl modctl
/netbsd/sbin/modload/
H A Dmodload_hostops.c40 .op_modctl = modctl,
H A Dprog_ops.h46 #define prog_modctl modctl
/netbsd/tests/fs/zfs/
H A Dt_zpool.sh54 export RUMPHIJACK=blanket=/dev/zfs:/dk:/jippo,sysctl=yes,modctl=yes
/netbsd/tests/lib/libc/stdio/
H A Dt_fopen.c299 err = modctl(MODCTL_EXISTS, 0); in check_kernel_modular()
325 if (modctl(MODCTL_STAT, &iov) != 0) { in is_module_present()
/netbsd/sys/rump/include/rump/
H A Dmakerumpdefs.sh132 getenum ../../../sys/module.h modctl MODCTL
/netbsd/sys/modules/examples/
H A DREADME56 modctl(2), module(7), modload(8), modstat(8), modunload(8), module(9),
/netbsd/usr.sbin/autofs/
H A Dautomountd.c447 error = modctl(MODCTL_LOAD, &args); in load_autofs()
/netbsd/tests/modules/ufetchstore/
H A Dt_ufetchstore.c78 if (modctl(MODCTL_LOAD, &params) != 0) { in load_module()
96 if (modctl(MODCTL_UNLOAD, module_name) != 0) { in unload_module()
/netbsd/lib/libc/sys/
H A DMakefile.inc140 __mknod50.S mlock.S mlockall.S modctl.S __mount50.S \
281 madvise.2 mincore.2 minherit.2 mlock.2 mlockall.2 mmap.2 modctl.2 \
/netbsd/usr.sbin/npf/npfctl/
H A Dnpfctl.c278 if (modctl(MODCTL_LOAD, &args) != 0 && errno != EEXIST) { in npfctl_preload_bpfjit()
/netbsd/sys/rump/
H A Drump.sysmap94 246 sys_modctl modctl rump___sysimpl_modctl
/netbsd/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_module.c1274 if (modctl(MODCTL_STAT, &iov) < 0) { in dt_module_update()
1460 if (modctl(MODCTL_STAT, &iov)) { in dtrace_update()
H A Ddt_open.c1148 if (modctl(MODCTL_LOAD, &cmdargs) < 0 && errno != EEXIST) { in dt_vopen()
/netbsd/lib/librumphijack/
H A Dhijack.c2453 int modctl(int, void *);
2455 modctl(int operation, void *argp) function
/netbsd/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_util.c647 if (modctl(MODCTL_LOAD, &cmdargs) < 0 && errno != EEXIST) in libzfs_load()

12