Home
last modified time | relevance | path

Searched refs:modstat (Results 1 – 17 of 17) sorted by relevance

/freebsd/tests/sys/kern/
H A Dmodule_test.c95 ATF_TC_WITHOUT_HEAD(modstat);
96 ATF_TC_BODY(modstat, tc) in ATF_TC_BODY() argument
102 ATF_REQUIRE(modstat(0, &ms) == -1); in ATF_TC_BODY()
108 ATF_REQUIRE(modstat(modid, NULL) == -1); in ATF_TC_BODY()
112 ATF_REQUIRE(modstat(modid, &ms) == -1); in ATF_TC_BODY()
116 ATF_REQUIRE(modstat(modid, &ms) == 0); in ATF_TC_BODY()
134 ATF_REQUIRE(modstat(0, (struct module_stat *)&ms) == -1); in ATF_TC_BODY()
140 ATF_REQUIRE(modstat(modid, NULL) == -1); in ATF_TC_BODY()
144 ATF_REQUIRE(modstat(modid, (struct module_stat *)&ms) == -1); in ATF_TC_BODY()
148 ATF_REQUIRE(modstat(modid, (struct module_stat *)&ms) == 0); in ATF_TC_BODY()
[all …]
/freebsd/sbin/kldstat/
H A Dkldstat.c56 if (modstat(modid, &stat) < 0) { in printmod()
166 if (modstat(modid, &stat) < 0) in main()
/freebsd/share/examples/kld/syscall/test/
H A Dcall.c47 if (modstat(modid, &stat) != 0) in main()
/freebsd/lib/libutil/
H A Dkld.c61 if (modstat(mid, &mstat) != 0) in kld_isloaded()
/freebsd/contrib/netbsd-tests/modules/
H A Dt_builtin.c142 struct modstat ms[128]; in ATF_TC_BODY()
/freebsd/sbin/pfctl/tests/
H A Dpfctl_test.c79 if (modstat(modid, &stat) < 0) { in check_pf_module_available()
/freebsd/sys/sys/
H A Dmodule.h273 int modstat(int _modid, struct module_stat *_stat);
H A Dsyscall.mk183 modstat.o \
/freebsd/lib/libsys/
H A DSymbol.sys.map161 modstat;
H A DMakefile.sys258 modstat.2 \
/freebsd/tools/regression/kgssapi/
H A Dgsstest.c92 modstat(mod, &stat); in main()
/freebsd/usr.sbin/crunch/examples/
H A Dreally-big.conf46 progs mkstr modstat more msgs netstat newsyslog nfsstat nice nm nohup
/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_sys.c93 if (modstat(modid, &mstat) < 0) in bridge_kmod_load()
/freebsd/lib/libpmc/
H A Dlibpmc.c1407 if ((error = modstat(pmc_mod_id, &pmc_modstat)) < 0) in pmc_init()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_module.c1276 if (modstat(modid, &ms) != 0) { in dt_module_update()
1277 dt_dprintf("modstat failed for id %d in %s: %s\n", in dt_module_update()
/freebsd/sbin/ifconfig/
H A Difconfig.c2044 if (modstat(modid, &mstat) < 0) in ifmaybeload()
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c130 if (modstat(modid, &mstat) < 0) in wlan_kmod_load()