/freebsd-10.0-release/lib/libpam/libpam/ |
H A D | pam_debug_log.c | 48 char *fmtbuf, *modname, *period; local 51 modname = basename(file); 52 period = strchr(modname, '.'); 54 period = strchr(modname, '\0'); 56 asprintf(&fmtbuf, "%.*s: %s: %s\n", (int)(period - modname), 57 modname, function, format);
|
/freebsd-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/sys/dev/acpica/Osd/ |
H A D | OsdTable.c | 70 char modname[] = "acpi_dsdt"; local 82 modname[i + 5] = tolower(ExistingTable->Signature[i]); 86 acpi_table = preload_search_by_type(modname);
|
/freebsd-10.0-release/sbin/kldstat/ |
H A D | kldstat.c | 82 fprintf(stderr, " kldstat [-q] [-m modname]\n"); 94 char* modname = NULL; local 105 modname = optarg; 125 if (modname != NULL) { 129 if ((modid = modfind(modname)) < 0) { 131 warn("can't find module %s", modname);
|
/freebsd-10.0-release/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-10.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | drti.c | 62 static const char *modname; /* Name of this load object */ variable 79 if (modname == NULL) 82 (void) fprintf(stderr, "dtrace DOF %s: ", modname); 184 if ((modname = strrchr(lmp->l_name, '/')) == NULL) 185 modname = lmp->l_name; 187 modname++; 239 "%s", modname); 242 "LM%lu`%s", lmid, modname);
|
/freebsd-10.0-release/contrib/apr-util/dbm/ |
H A D | apr_dbm.c | 107 char modname[32]; 164 apr_snprintf(modname, sizeof(modname), "dbm%s.nlm", type); 166 apr_snprintf(modname, sizeof(modname), 169 apr_snprintf(modname, sizeof(modname), 174 rv = apu_dso_load(NULL, &symbol, modname, symname, pool);
|
/freebsd-10.0-release/usr.bin/netstat/ |
H A D | netgraph.c | 75 const char *const modname = "ng_socket.ko"; local 89 if ((fileid = kldfind(modname)) < 0) { 91 warn("kldfind(%s)", modname); 108 snprintf(path, sizeof(path), "%s%s", *pre, modname); 116 warnx("%s not found", modname);
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_linker.c | 142 const char *modname, struct linker_file *parent, 470 linker_reference_module(const char *modname, struct mod_depend *verinfo, argument 477 if ((mod = modlist_lookup2(modname, verinfo)) != NULL) { 484 error = linker_load_module(NULL, modname, NULL, verinfo, result); 490 linker_release_module(const char *modname, struct mod_depend *verinfo, argument 498 KASSERT(modname != NULL, 500 mod = modlist_lookup2(modname, verinfo); 507 KASSERT(modname == NULL && verinfo == NULL, 998 const char *kldname, *modname; local 1021 modname 1397 modlist_newmodule(const char *modname, int version, linker_file_t container) argument 1416 const char *modname; local 1438 const char *modname, *nmodname; local 1736 linker_hints_lookup(const char *path, int pathlen, const char *modname, int modnamelen, struct mod_depend *verinfo) argument 1869 linker_search_module(const char *modname, int modnamelen, struct mod_depend *verinfo) argument 1973 linker_load_module(const char *kldname, const char *modname, struct linker_file *parent, struct mod_depend *verinfo, struct linker_file **lfpp) argument 2050 const char *modname, *nmodname; local [all...] |
H A D | link_elf.c | 376 char *modname; local 381 modname = NULL; 386 modname = (char *)preload_search_info(modptr, MODINFO_NAME); 387 if (modname == NULL) 388 modname = "kernel"; 389 linker_kernel_file = linker_make_file(modname, &link_elf_class);
|
/freebsd-10.0-release/contrib/apr-util/crypto/ |
H A D | apr_crypto.c | 147 char modname[32]; local 178 apr_snprintf(modname, sizeof(modname), "crypto%s.nlm", name); 180 apr_snprintf(modname, sizeof(modname), 183 apr_snprintf(modname, sizeof(modname), 187 rv = apu_dso_load(&dso, &symbol, modname, symname, pool); 205 err->reason = modname;
|
/freebsd-10.0-release/sys/boot/common/ |
H A D | module.c | 58 static struct kernel_module * file_findmodule(struct preloaded_file *fp, char *modname, struct mod_depend *verinfo); 431 mod_load(char *modname, struct mod_depend *verinfo, int argc, char *argv[]) argument 437 if (file_havepath(modname)) { 438 printf("Warning: mod_load() called instead of mod_loadkld() for module '%s'\n", modname); 439 return (mod_loadkld(modname, argc, argv)); 442 mp = file_findmodule(NULL, modname, verinfo); 453 filename = mod_searchmodule(modname, verinfo); 455 sprintf(command_errbuf, "can't find '%s'", modname); 540 file_findmodule(struct preloaded_file *fp, char *modname, argument 548 mp = file_findmodule(fp, modname, verinf 712 mod_search_hints(struct moduledir *mdp, const char *modname, struct mod_depend *verinfo) argument 803 file_addmodule(struct preloaded_file *fp, char *modname, int version, struct kernel_module **newmp) argument [all...] |
H A D | bootstrap.h | 238 int file_addmodule(struct preloaded_file *fp, char *modname, int version,
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | netgraph.c | 469 char modname[NG_TYPESIZ + 3]; local 558 snprintf(modname, sizeof modname, "ng_%s", nodetype); 560 p->link.name, modname); 561 loadmodules(LOAD_QUIETLY, modname, NULL); 624 snprintf(modname, sizeof modname, "ng_%s", nodetype); 626 p->link.name, modname); 627 loadmodules(LOAD_QUIETLY, modname, NULL);
|
/freebsd-10.0-release/contrib/apr-util/dbd/ |
H A D | apr_dbd.c | 160 char modname[32]; local 186 apr_snprintf(modname, sizeof(modname), "dbd%s.nlm", name); 188 apr_snprintf(modname, sizeof(modname), 191 apr_snprintf(modname, sizeof(modname), 195 rv = apu_dso_load(NULL, &symbol, modname, symname, pool);
|
/freebsd-10.0-release/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-10.0-release/sys/cddl/dev/fbt/ |
H A D | fbt_powerpc.c | 197 char *modname = opaque; local 233 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 296 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 330 char modname[MAXPATHLEN]; local 334 strlcpy(modname, lf->filename, sizeof(modname)); 335 len = strlen(modname); 336 if (len > 3 && strcmp(modname + len - 3, ".ko") == 0) 337 modname[len - 3] = '\0'; 343 if (strcmp(modname, "dtrac [all...] |
H A D | fbt.c | 228 char *modname = opaque; local 286 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 370 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname, 414 char modname[MAXPATHLEN]; local 418 strlcpy(modname, lf->filename, sizeof(modname)); 419 len = strlen(modname); 420 if (len > 3 && strcmp(modname + len - 3, ".ko") == 0) 421 modname[len - 3] = '\0'; 427 if (strcmp(modname, "dtrac [all...] |
/freebsd-10.0-release/sys/compat/ndis/ |
H A D | subr_pe.c | 452 char *modname; local 464 modname = (char *)pe_translate_addr(imgbase, 466 if (!strncasecmp(module, modname, strlen(module))) {
|
/freebsd-10.0-release/contrib/binutils/binutils/ |
H A D | ieee.c | 3817 const char *modname; 4301 || ! ieee_write_id (info, info->modname)) 4475 || ! ieee_write_id (info, info->modname)) 4817 const char *modname; 4831 modname = strrchr (filename, '/'); 4835 if (modname == NULL || (backslash != NULL && backslash > modname)) 4836 modname = backslash; 4839 if (modname != NULL) 4840 ++modname; 3815 const char *modname; member in struct:ieee_handle 4813 const char *modname; local 5084 const char *filename, *modname; local [all...] |
H A D | objdump.c | 939 const char *modname; 1052 try_print_file_open (const char *origname, const char *modname) 1058 p->map = slurp_file (modname, &p->mapsize); 1068 p->modname = modname; 1117 char *modname = concat (include_paths[i], "/", fname, (const char *) 0); 1119 p = try_print_file_open (filename, modname); 1123 free (modname); 935 const char *modname; member in struct:print_file_list 1048 try_print_file_open(const char *origname, const char *modname) argument 1113 char *modname = concat (include_paths[i], "/", fname, (const char *) 0); local
|
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211_freebsd.c | 795 ieee80211_load_module(const char *modname) argument 799 (void)kern_kldload(curthread, modname, NULL); 801 printf("%s: load the %s module by hand for now.\n", __func__, modname);
|
/freebsd-10.0-release/contrib/unbound/daemon/ |
H A D | remote.c | 1718 const char *modname = mesh->mods.mod[m->s.curmod]->name; local 1720 if(strcmp(modname, "iterator") == 0 && s == module_wait_reply && 1727 snprintf(buf, len, "%s wait for", modname); 1745 snprintf(buf, len, "%s wants", modname); 1761 snprintf(buf, len, "%s is %s", modname, strextstate(s));
|