HomeSort by: relevance | last modified time | path
    Searched refs:modname (Results 1 - 25 of 47) sorted by relevancy

1 2

  /src/lib/libpam/libpam/
pam_debug_log.c 55 const char *modname, *period; local
59 modname = strrchr(file, '/');
60 if (modname == NULL)
61 modname = file;
62 period = strchr(modname, '.');
64 period = strchr(modname, '\0');
70 pam_error(pamh, "%.*s: %s: %s\n", (int)(ssize_t)(period - modname),
71 modname, function, msg);
  /src/external/bsd/openpam/dist/bin/openpam_dump_policy/
openpam_dump_policy.c 72 char *modname, **opt, *p; local
77 modname = strrchr(chain->module->path, '/');
78 modname = strdup(modname ? modname : chain->module->path);
79 if (modname == NULL)
81 for (p = modname; *p && *p != '.'; ++p)
84 printf("extern struct pam_module %s_pam_module;\n", modname);
104 printf("\t.module = &%s_pam_module,\n", modname);
113 free(modname);
    [all...]
  /src/external/bsd/openpam/dist/lib/libpam/
openpam_dynamic.c 182 openpam_dynamic(const char *modname)
193 if (strchr(modname, '/') != NULL) {
200 modname[0] != '/') {
202 "invalid module name: %s", modname);
205 return (try_module(modname));
211 p = strchr(modname, '\0');
220 } else if (*p == '\0' && p >= modname + sizeof PAM_SOEXT &&
236 *path, modname, &dot);
239 *path, modname, &dot, LIB_MAJ);
242 *path, modname, PAM_SOEXT, &dot, LIB_MAJ)
    [all...]
  /src/external/cddl/osnet/dist/lib/libdtrace/common/
drti.c 63 static const char *modname; /* Name of this load object */ variable
78 if (modname == NULL)
81 (void) fprintf(stderr, "dtrace DOF %s: ", modname);
134 if ((modname = strrchr(lmp->l_name, '/')) == NULL)
135 modname = lmp->l_name;
137 modname++;
157 "%s", modname);
160 "LM%lu`%s", lmid, modname);
  /src/lib/libc/citrus/
citrus_module.c 282 _citrus_find_getops(_citrus_module_t handle, const char *modname,
289 _DIAGASSERT(modname != NULL);
293 modname, ifname);
356 _citrus_find_getops(_citrus_module_t handle, const char *modname,
364 _citrus_load_module(_citrus_module_t *rhandle, char const *modname)
citrus_ctype.c 62 _initctypemodule(_citrus_ctype_t cc, char const *modname,
74 modname,
  /src/external/cddl/osnet/dev/fbt/mips/
fbt_isa.c 112 char *modname; local
114 modname = opaque;
123 const char *modname = module_name(mod); local
153 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
197 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
  /src/external/bsd/iscsi/dist/src/initiator/
libkmod.c 143 kmodstat(const char *modname, FILE *fp)
156 if (modname == NULL || strcmp(modname, module.name) == 0) {
  /src/external/cddl/osnet/dev/fbt/
fbt.c 204 char modname[MAXPATHLEN]; local
208 strlcpy(modname, lf->filename, sizeof(modname));
209 len = strlen(modname);
210 if (len > 3 && strcmp(modname + len - 3, ".ko") == 0)
211 modname[len - 3] = '\0';
217 if (strcmp(modname, "dtrace") == 0)
241 (void) linker_file_function_listall(lf, fbt_provide_module_function, modname);
250 char modname[MAXPATHLEN]; local
259 strlcpy(modname, module_name(mod), sizeof(modname))
    [all...]
  /src/sys/net/npf/
npf_alg.c 111 char modname[NPF_ALG_PREFLEN + 64]; local
113 snprintf(modname, sizeof(modname), "%s%s", NPF_ALG_PREF, name);
116 if (module_autoload(modname, MODULE_CLASS_MISC) != 0) {
npf_rproc.c 105 char modname[RPROC_NAME_LEN + NPF_EXT_PREFLEN]; local
120 snprintf(modname, sizeof(modname), "%s%s", npf_ext_prefix, name);
121 error = module_autoload(modname, MODULE_CLASS_MISC);
  /src/external/cddl/osnet/dev/fbt/aarch64/
fbt_isa.c 128 char *modname = opaque; local
137 const char *modname = module_name(mod); local
176 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
230 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
  /src/external/gpl3/gdb.old/dist/gdb/python/lib/gdb/
__init__.py 158 modname = "%s.%s.%s" % (__name__, package, py_file[:-3])
160 if modname in sys.modules:
162 reload(__import__(modname))
164 __import__(modname)
  /src/external/cddl/osnet/dev/fbt/arm/
fbt_isa.c 131 char *modname = opaque; local
159 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
204 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
273 const char *modname = module_name(mod); local
314 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
387 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
  /src/external/mit/lua/dist/src/
lua.c 214 ** Receives 'globname[=modname]' and runs 'globname = require(modname)'.
218 char *modname = strchr(globname, '='); local
219 if (modname == NULL) /* no explicit name? */
220 modname = globname; /* module name is equal to global name */
222 *modname = '\0'; /* global name ends here */
223 modname++; /* module name starts after the '=' */
226 lua_pushstring(L, modname);
227 status = docall(L, 1, 1); /* call 'require(modname)' */
229 lua_setglobal(L, globname); /* globname = require(modname) */
    [all...]
loadlib.c 557 ** Try to find a load function for module 'modname' at file 'filename'.
558 ** First, change '.' to '_' in 'modname'; then, if 'modname' has
564 static int loadfunc (lua_State *L, const char *filename, const char *modname) {
567 modname = luaL_gsub(L, modname, ".", LUA_OFSEP);
568 mark = strchr(modname, *LUA_IGMARK);
571 openfunc = lua_pushlstring(L, modname, mark - modname);
575 modname = mark + 1; /* else go ahead and try old-style name *
    [all...]
lauxlib.c 992 LUALIB_API void luaL_requiref (lua_State *L, const char *modname,
995 lua_getfield(L, -1, modname); /* LOADED[modname] */
999 lua_pushstring(L, modname); /* argument to open function */
1002 lua_setfield(L, -3, modname); /* LOADED[modname] = module */
1007 lua_setglobal(L, modname); /* _G[modname] = module */
  /src/external/cddl/osnet/dev/fbt/x86/
fbt_isa.c 230 char *modname = opaque; local
245 const char *modname = module_name(mod); local
299 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
389 fbt->fbtp_id = dtrace_probe_create(fbt_id, modname,
  /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/
__init__.py 163 modname = "%s.%s.%s" % (__name__, package, py_file[:-3])
165 if modname in sys.modules:
167 reload(__import__(modname))
169 __import__(modname)
  /src/sys/arch/arm/ti/
ti_iic.c 238 const char *modname; local
281 modname = fdtbus_get_string(phandle, "ti,hwmods");
282 if (modname == NULL)
283 modname = fdtbus_get_string(OF_parent(phandle), "ti,hwmods");
290 if (modname != NULL)
291 aprint_normal(": I2C controller (%s), %d-bytes FIFO\n", modname, fifo);
  /src/external/gpl2/xcvs/dist/src/
modules.c 50 char *modname;
812 return (strcmp (left->modname, right->modname));
830 s_rec->modname = cp = xmalloc (ks + 1);
938 line = Xasprintf ("%-12s", s_h->modname);
949 line = Xasprintf ("%s %s", s_h->modname, s_h->rest);
1040 /* FIXME-leak: here is where we would free s_h->modname, s_h->rest,
48 char *modname; member in struct:sortrec
  /src/usr.sbin/altq/libaltq/
qop.c 1412 char modname[64], filename[MAXPATHLEN], *cp; local
1425 strlcpy(modname, "altq_", sizeof(modname));
1428 strlcat(modname, cp + 1, sizeof(modname));
1431 snprintf(filename, sizeof(filename), "/modules/%s.ko", modname);
1437 if (kldload(modname) < 0) {
1438 LOG(LOG_ERR, errno, "kldload %s failed!", modname);
1443 LOG(LOG_INFO, 0, "kld module %s loaded", modname);
  /src/sys/net80211/
ieee80211_netbsd.c 709 ieee80211_load_module(const char *modname)
716 (void) linker_load_module(modname, NULL, NULL, NULL, NULL);
720 printf("%s: load the %s module by hand for now.\n", __func__, modname);
  /src/sys/dev/tc/
tcds.c 127 tcds_lookup(const char *modname)
132 if (strncmp(td->td_name, modname, TC_ROM_LLEN) == 0)
  /src/sys/external/bsd/compiler_rt/dist/lib/interception/
interception_win.cc 976 RVAPtr<const char> modname(module, imports->Name);
977 if (_stricmp(&*modname, imported_module) == 0)

Completed in 79 milliseconds

1 2