/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | kmod.h | 43 char modname[128]; \ 45 snprintf(modname, sizeof(modname), __VA_ARGS__); \ 46 kern_kldload(curthread, modname, &fileid); \
|
/freebsd-11-stable/sys/tools/ |
H A D | fw_stub.awk | 36 print "usage: fw_stub <firmware:name>* [-l name] [-m modname] [-c outfile]"; 121 modname = opt_m; 122 gsub(/[-\.]/, "_", modname); 148 modname "_fw_modevent(module_t mod, int type, void *unused)\ 215 static moduledata_t " modname "_fw_mod = {\ 216 \"" modname "_fw\",\ 217 " modname "_fw_modevent,\ 220 DECLARE_MODULE(" modname "_fw, " modname "_fw_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);\ 221 MODULE_VERSION(" modname "_f [all...] |
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_dynamic.c | 179 openpam_dynamic(const char *modname) argument 190 if (strchr(modname, '/') != NULL) { 197 modname[0] != '/') { 199 "invalid module name: %s", modname); 202 return (try_module(modname)); 208 p = strchr(modname, '\0'); 217 } else if (*p == '\0' && p >= modname + sizeof PAM_SOEXT && 233 *path, modname, &dot); 236 *path, modname, &dot, LIB_MAJ); 239 *path, modname, PAM_SOEX [all...] |
/freebsd-11-stable/contrib/openpam/bin/openpam_dump_policy/ |
H A D | openpam_dump_policy.c | 74 char *modname, **opt, *p; local 79 modname = strrchr(chain->module->path, '/'); 80 modname = strdup(modname ? modname : chain->module->path); 81 if (modname == NULL) 83 for (p = modname; *p && *p != '.'; ++p) 86 printf("extern struct pam_module %s_pam_module;\n", modname); 106 printf("\t.module = &%s_pam_module,\n", modname); 115 free(modname); [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | drti.c | 62 static const char *modname; /* Name of this load object */ variable 77 if (modname == NULL) 80 (void) fprintf(stderr, "dtrace DOF %s: ", modname); 133 if ((modname = strrchr(lmp->l_name, '/')) == NULL) 134 modname = lmp->l_name; 136 modname++; 156 "%s", modname); 159 "LM%lu`%s", lmid, modname);
|
/freebsd-11-stable/sys/dev/acpica/Osd/ |
H A D | OsdTable.c | 71 char modname[] = "acpi_dsdt"; local 83 modname[i + 5] = tolower(ExistingTable->Signature[i]); 87 acpi_table = preload_search_by_type(modname);
|
/freebsd-11-stable/contrib/apr-util/ldap/ |
H A D | apr_ldap_stub.c | 36 char *modname; local 49 modname = "apr_ldap-" APU_STRINGIFY(APU_MAJOR_VERSION) ".dll"; 51 modname = "apr_ldap-" APU_STRINGIFY(APU_MAJOR_VERSION) ".so"; 53 rv = apu_dso_load(NULL, &symbol, modname, "apr__ldap_fns", pool);
|
/freebsd-11-stable/contrib/apr-util/dbm/ |
H A D | apr_dbm.c | 107 char modname[32]; 166 apr_snprintf(modname, sizeof(modname), "dbm%s.nlm", type); 168 apr_snprintf(modname, sizeof(modname), 171 apr_snprintf(modname, sizeof(modname), 176 rv = apu_dso_load(NULL, &symbol, modname, symname, pool);
|
/freebsd-11-stable/sbin/kldstat/ |
H A D | kldstat.c | 103 fprintf(stderr, " kldstat [-d] [-q] [-m modname]\n"); 116 char* modname = NULL; local 133 modname = optarg; 153 if (modname != NULL) { 157 if ((modid = modfind(modname)) < 0) { 159 warn("can't find module %s", modname);
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_linker.c | 151 const char *modname, struct linker_file *parent, 507 linker_reference_module(const char *modname, struct mod_depend *verinfo, argument 514 if ((mod = modlist_lookup2(modname, verinfo)) != NULL) { 521 error = linker_load_module(NULL, modname, NULL, verinfo, result); 527 linker_release_module(const char *modname, struct mod_depend *verinfo, argument 535 KASSERT(modname != NULL, 537 mod = modlist_lookup2(modname, verinfo); 544 KASSERT(modname == NULL && verinfo == NULL, 1038 const char *kldname, *modname; local 1061 modname 1435 modlist_newmodule(const char *modname, int version, linker_file_t container) argument 1454 const char *modname; local 1476 const char *modname, *nmodname; local 1774 linker_hints_lookup(const char *path, int pathlen, const char *modname, int modnamelen, const struct mod_depend *verinfo) argument 1905 linker_search_module(const char *modname, int modnamelen, const struct mod_depend *verinfo) argument 2009 linker_load_module(const char *kldname, const char *modname, struct linker_file *parent, const struct mod_depend *verinfo, struct linker_file **lfpp) argument 2090 const char *modname, *nmodname; local [all...] |
/freebsd-11-stable/contrib/apr-util/crypto/ |
H A D | apr_crypto.c | 196 char modname[32]; local 227 apr_snprintf(modname, sizeof(modname), "crypto%s.nlm", name); 229 apr_snprintf(modname, sizeof(modname), 232 apr_snprintf(modname, sizeof(modname), 236 rv = apu_dso_load(&dso, &symbol, modname, symname, pool); 257 err->reason = apr_pstrdup(pool, modname);
|
/freebsd-11-stable/contrib/lua/src/ |
H A D | loadlib.c | 505 ** Try to find a load function for module 'modname' at file 'filename'. 506 ** First, change '.' to '_' in 'modname'; then, if 'modname' has 512 static int loadfunc (lua_State *L, const char *filename, const char *modname) { argument 515 modname = luaL_gsub(L, modname, ".", LUA_OFSEP); 516 mark = strchr(modname, *LUA_IGMARK); 519 openfunc = lua_pushlstring(L, modname, mark - modname); 523 modname 658 modinit(lua_State *L, const char *modname) argument 674 const char *modname = luaL_checkstring(L, 1); local [all...] |
H A D | lauxlib.c | 897 LUALIB_API void luaL_pushmodule (lua_State *L, const char *modname, argument 900 if (lua_getfield(L, -1, modname) != LUA_TTABLE) { /* no LOADED[modname]? */ 904 if (luaL_findtable(L, 0, modname, sizehint) != NULL) 905 luaL_error(L, "name conflict for module '%s'", modname); 907 lua_setfield(L, -3, modname); /* LOADED[modname] = new table */ 971 LUALIB_API void luaL_requiref (lua_State *L, const char *modname, argument 974 lua_getfield(L, -1, modname); /* LOADED[modname] */ [all...] |
/freebsd-11-stable/sys/cddl/dev/fbt/aarch64/ |
H A D | fbt_isa.c | 89 char *modname; local 92 modname = opaque; 113 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 152 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
|
/freebsd-11-stable/sys/cddl/dev/fbt/riscv/ |
H A D | fbt_isa.c | 88 char *modname; local 91 modname = opaque; 112 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 143 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
|
/freebsd-11-stable/sys/cddl/dev/fbt/mips/ |
H A D | fbt_isa.c | 87 char *modname; local 89 modname = opaque; 110 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 142 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
|
/freebsd-11-stable/sys/cddl/dev/fbt/arm/ |
H A D | fbt_isa.c | 92 char *modname = opaque; local 128 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 173 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
|
/freebsd-11-stable/stand/common/ |
H A D | module.c | 58 static struct kernel_module * file_findmodule(struct preloaded_file *fp, char *modname, struct mod_depend *verinfo); 487 mod_load(char *modname, struct mod_depend *verinfo, int argc, char *argv[]) argument 493 if (file_havepath(modname)) { 494 printf("Warning: mod_load() called instead of mod_loadkld() for module '%s'\n", modname); 495 return (mod_loadkld(modname, argc, argv)); 498 mp = file_findmodule(NULL, modname, verinfo); 510 filename = mod_searchmodule(modname, verinfo); 513 "can't find '%s'", modname); 602 file_findmodule(struct preloaded_file *fp, char *modname, argument 610 mp = file_findmodule(fp, modname, verinf 790 mod_search_hints(struct moduledir *mdp, const char *modname, struct mod_depend *verinfo) argument 881 file_addmodule(struct preloaded_file *fp, char *modname, int version, struct kernel_module **newmp) argument [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | netgraph.c | 471 char modname[NG_TYPESIZ + 3]; local 560 snprintf(modname, sizeof modname, "ng_%s", nodetype); 562 p->link.name, modname); 563 loadmodules(LOAD_QUIETLY, modname, NULL); 626 snprintf(modname, sizeof modname, "ng_%s", nodetype); 628 p->link.name, modname); 629 loadmodules(LOAD_QUIETLY, modname, NULL);
|
/freebsd-11-stable/lib/libc/iconv/ |
H A D | citrus_module.c | 262 _citrus_find_getops(_citrus_module_t handle, const char *modname, argument 269 modname, ifname);
|
/freebsd-11-stable/contrib/apr-util/dbd/ |
H A D | apr_dbd.c | 159 char modname[32]; local 185 apr_snprintf(modname, sizeof(modname), "dbd%s.nlm", name); 187 apr_snprintf(modname, sizeof(modname), 190 apr_snprintf(modname, sizeof(modname), 194 rv = apu_dso_load(NULL, &symbol, modname, symname, pool);
|
/freebsd-11-stable/sys/cddl/dev/fbt/x86/ |
H A D | fbt_isa.c | 154 char *modname = opaque; local 214 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 298 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
|
/freebsd-11-stable/sys/cddl/dev/fbt/powerpc/ |
H A D | fbt_isa.c | 112 char *modname = opaque; local 153 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 216 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lauxlib.c | 667 LUALIB_API void luaL_pushmodule (lua_State *L, const char *modname, argument 670 lua_getfield(L, -1, modname); /* get _LOADED[modname] */ 675 if (luaL_findtable(L, 0, modname, sizehint) != NULL) 676 luaL_error(L, "name conflict for module " LUA_QS, modname); 678 lua_setfield(L, -3, modname); /* _LOADED[modname] = new table */ 743 LUALIB_API void luaL_requiref (lua_State *L, const char *modname, argument 746 lua_pushstring(L, modname); /* argument to open function */ 750 lua_setfield(L, -2, modname); /* _LOADE [all...] |
H A D | lauxlib.h | 87 LUALIB_API void (luaL_requiref) (lua_State *L, const char *modname, 164 LUALIB_API void (luaL_pushmodule) (lua_State *L, const char *modname,
|