Searched refs:modstat (Results 1 – 17 of 17) sorted by relevance
/freebsd/tests/sys/kern/ |
H A D | module_test.c | 95 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 D | kldstat.c | 56 if (modstat(modid, &stat) < 0) { in printmod() 166 if (modstat(modid, &stat) < 0) in main()
|
/freebsd/share/examples/kld/syscall/test/ |
H A D | call.c | 47 if (modstat(modid, &stat) != 0) in main()
|
/freebsd/lib/libutil/ |
H A D | kld.c | 61 if (modstat(mid, &mstat) != 0) in kld_isloaded()
|
/freebsd/contrib/netbsd-tests/modules/ |
H A D | t_builtin.c | 142 struct modstat ms[128]; in ATF_TC_BODY()
|
/freebsd/sbin/pfctl/tests/ |
H A D | pfctl_test.c | 79 if (modstat(modid, &stat) < 0) { in check_pf_module_available()
|
/freebsd/sys/sys/ |
H A D | module.h | 273 int modstat(int _modid, struct module_stat *_stat);
|
H A D | syscall.mk | 183 modstat.o \
|
/freebsd/lib/libsys/ |
H A D | Symbol.sys.map | 161 modstat;
|
H A D | Makefile.sys | 258 modstat.2 \
|
/freebsd/tools/regression/kgssapi/ |
H A D | gsstest.c | 92 modstat(mod, &stat); in main()
|
/freebsd/usr.sbin/crunch/examples/ |
H A D | really-big.conf | 46 progs mkstr modstat more msgs netstat newsyslog nfsstat nice nm nohup
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_sys.c | 93 if (modstat(modid, &mstat) < 0) in bridge_kmod_load()
|
/freebsd/lib/libpmc/ |
H A D | libpmc.c | 1407 if ((error = modstat(pmc_mod_id, &pmc_modstat)) < 0) in pmc_init()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_module.c | 1276 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 D | ifconfig.c | 2044 if (modstat(modid, &mstat) < 0) in ifmaybeload()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_sys.c | 130 if (modstat(modid, &mstat) < 0) in wlan_kmod_load()
|