/freebsd-9.3-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-9.3-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-9.3-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-9.3-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-9.3-release/sys/dev/acpica/Osd/ |
H A D | OsdTable.c | 70 char modname[] = "acpi_dsdt"; local 81 modname[i + 5] = tolower(ExistingTable->Signature[i]); 88 acpi_table = preload_search_by_type(modname);
|
/freebsd-9.3-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-9.3-release/gnu/usr.bin/cvs/contrib/ |
H A D | easy-import.pl | 269 $modname = <>; 270 chop $modname; 271 if ($modname eq "") { 275 last if !$cvsmods{$modname}; 280 ($area,$modpath) = split(/\//,$cvsmods{$modname},2); 350 if($tmp gt $modname) { 368 print(ED "${cmd}${modname} " . ' ' x (15 - length($modname)) . 374 "${modname} --> $area/${modpath}\" modules") 386 "${us}cvs co ${modname} [all...] |
/freebsd-9.3-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-9.3-release/usr.bin/netstat/ |
H A D | netgraph.c | 76 const char *const modname = "ng_socket.ko"; local 90 if ((fileid = kldfind(modname)) < 0) { 92 warn("kldfind(%s)", modname); 109 snprintf(path, sizeof(path), "%s%s", *pre, modname); 117 warnx("%s not found", modname);
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_linker.c | 140 const char *modname, struct linker_file *parent, 479 linker_reference_module(const char *modname, struct mod_depend *verinfo, argument 486 if ((mod = modlist_lookup2(modname, verinfo)) != NULL) { 493 error = linker_load_module(NULL, modname, NULL, verinfo, result); 499 linker_release_module(const char *modname, struct mod_depend *verinfo, argument 507 KASSERT(modname != NULL, 509 mod = modlist_lookup2(modname, verinfo); 516 KASSERT(modname == NULL && verinfo == NULL, 1008 const char *kldname, *modname; local 1031 modname 1386 modlist_newmodule(const char *modname, int version, linker_file_t container) argument 1405 const char *modname; local 1427 const char *modname, *nmodname; local 1727 linker_hints_lookup(const char *path, int pathlen, const char *modname, int modnamelen, struct mod_depend *verinfo) argument 1864 linker_search_module(const char *modname, int modnamelen, struct mod_depend *verinfo) argument 1968 linker_load_module(const char *kldname, const char *modname, struct linker_file *parent, struct mod_depend *verinfo, struct linker_file **lfpp) argument 2045 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); 709 modname = ef->strtab + dp->d_un.d_val; 710 error = linker_load_module(modname, lf); 982 modname = ef->strtab + dp->d_un.d_val; 983 error = linker_load_module(modname, l [all...] |
/freebsd-9.3-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); 430 mod_load(char *modname, struct mod_depend *verinfo, int argc, char *argv[]) argument 436 if (file_havepath(modname)) { 437 printf("Warning: mod_load() called instead of mod_loadkld() for module '%s'\n", modname); 438 return (mod_loadkld(modname, argc, argv)); 441 mp = file_findmodule(NULL, modname, verinfo); 452 filename = mod_searchmodule(modname, verinfo); 454 sprintf(command_errbuf, "can't find '%s'", modname); 539 file_findmodule(struct preloaded_file *fp, char *modname, argument 547 mp = file_findmodule(fp, modname, verinf 711 mod_search_hints(struct moduledir *mdp, const char *modname, struct mod_depend *verinfo) argument 802 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-9.3-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-9.3-release/contrib/cvs/src/ |
H A D | modules.c | 49 char *modname; 860 return (strcmp (left->modname, right->modname)); 882 s_rec->modname = cp = xmalloc (ks + 1); 991 line = xmalloc (strlen (s_h->modname) + 15); 992 sprintf (line, "%-12s", s_h->modname); 1003 line = xmalloc (strlen (s_h->modname) + strlen (s_h->rest) + 15); 1005 (void) sprintf (line, "%s %s", s_h->modname, s_h->rest); 1096 /* FIXME-leak: here is where we would free s_h->modname, s_h->rest, 47 char *modname; member in struct:sortrec
|
/freebsd-9.3-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-9.3-release/sys/cddl/dev/fbt/ |
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-9.3-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-9.3-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-9.3-release/sys/net80211/ |
H A D | ieee80211_freebsd.c | 722 ieee80211_load_module(const char *modname) argument 726 (void)kern_kldload(curthread, modname, NULL); 728 printf("%s: load the %s module by hand for now.\n", __func__, modname);
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | target.c | 1289 target_link (char *modname, CORE_ADDR *t_reloc) argument 1293 (current_target.to_lookup_symbol) (modname, t_reloc); 1295 error ("Unable to link to %s and get relocation in rombug", modname);
|
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_sys.c | 121 wlan_kmod_load(const char *modname) argument 132 if (strcmp(modname, mstat.name) == 0) 138 if (kldload(modname) < 0) { 139 syslog(LOG_ERR, "failed to load %s kernel module - %s", modname,
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 15216 char modname[DTRACE_MODNAMELEN]; 15224 strlcpy(modname, ctl->filename, sizeof(modname)); 15226 if (len > 3 && strcmp(modname + len - 3, ".ko") == 0) 15227 modname[len - 3] = '\0'; 15228 template.dtpr_mod = modname; 15287 "enabled probes", modname);
|