Searched refs:modfind (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-current/tests/sys/kern/
H A Dmodule_test.c35 ATF_TC_WITHOUT_HEAD(modfind); variable
36 ATF_TC_BODY(modfind, tc)
41 modid = modfind("rootbus");
44 modid = modfind("nonexistent_module");
119 ATF_REQUIRE(modfind(ms.name) == modid);
151 ATF_REQUIRE(modfind(ms.name) == modid);
184 ATF_REQUIRE(modfind(ms.name) == modid);
189 ATF_TP_ADD_TC(tp, modfind);
/freebsd-current/share/examples/kld/syscall/test/
H A Dcall.c45 if ((modid = modfind("sys/syscall")) == -1)
46 err(1, "modfind");
/freebsd-current/tests/freebsd_test_suite/
H A Dmacros.h48 if (modfind(_mod_name) == -1) { \
87 if (modfind(_mod_name) == -1) { \
/freebsd-current/tests/atf_python/
H A Dutils.py26 def modfind(self, mod_name: str) -> int: member in class:LibCWrapper
27 if self._libc.modfind(bytes(mod_name, encoding="ascii")) == -1:
51 error_code = libc.modfind(mod_name)
/freebsd-current/sbin/mount_udf/
H A Dmount_udf.c142 if (modfind("udf_iconv") < 0)
143 if (kldload("udf_iconv") < 0 || modfind("udf_iconv") < 0) {
/freebsd-current/tests/sys/netlink/
H A Dtest_snl_generic.c17 if (modfind("netlink") == -1)
H A Dtest_snl.c19 if (modfind("netlink") == -1)
/freebsd-current/usr.sbin/nfsrevoke/
H A Dnfsrevoke.c67 if (modfind("nfsd") < 0)
/freebsd-current/sbin/mount_msdosfs/
H A Dmount_msdosfs.c299 if (modfind("msdosfs_iconv") < 0)
300 if (kldload("msdosfs_iconv") < 0 || modfind("msdosfs_iconv") < 0) {
/freebsd-current/usr.sbin/nfscbd/
H A Dnfscbd.c110 if (modfind("nfscl") < 0) {
113 modfind("nfscl") < 0)
/freebsd-current/sbin/mount_cd9660/
H A Dmount_cd9660.c251 if (modfind("cd9660_iconv") < 0)
252 if (kldload("cd9660_iconv") < 0 || modfind("cd9660_iconv") < 0) {
/freebsd-current/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_compat.c206 if (modfind("zfs") < 0) {
236 * modfind("zfs") so out-of-base openzfs userland works with the
239 if (modfind("zfs") < 0) {
/freebsd-current/sys/sys/
H A Dmodule.h274 int modfind(const char *_name);
H A Dsyscall.mk181 modfind.o \
/freebsd-current/sbin/pfctl/tests/
H A Dpfctl_test.c74 if ((modid = modfind("pf")) < 0) {
/freebsd-current/sbin/kldstat/
H A Dkldstat.c158 if ((modid = modfind(modname)) < 0) {
/freebsd-current/usr.sbin/nvmfd/
H A Dnvmfd.c205 if (modfind("nvmft") == -1 && kldload("nvmft") == -1)
/freebsd-current/sbin/ggate/shared/
H A Dggate.c214 if (modfind("g_gate") == -1) {
216 if (kldload("geom_gate") == -1 || modfind("g_gate") == -1) {
/freebsd-current/sbin/ccdconfig/
H A Dccdconfig.c138 if (modfind("g_ccd") < 0) {
140 if (kldload("geom_ccd") < 0 || modfind("g_ccd") < 0)
/freebsd-current/usr.sbin/watch/
H A Dwatch.c325 if (modfind("snp") == -1)
326 if (kldload("snp") == -1 || modfind("snp") == -1)
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_diskstorage_tbl.c132 if (modfind(name1) == -1) {
134 if (kldload(name2) == -1 || modfind(name1) == -1) {
/freebsd-current/sbin/setkey/
H A Dsetkey.c111 if (modfind(name) < 0)
112 if (kldload(name) < 0 || modfind(name) < 0) {
/freebsd-current/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c181 if (errno == ENOENT && modfind("ksyms") == -1) {
/freebsd-current/tools/regression/kgssapi/
H A Dgsstest.c87 mod = modfind("gsstest_syscall");
/freebsd-current/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.c72 if (modfind(_mod_name) == -1) {

Completed in 721 milliseconds

123