Home
last modified time | relevance | path

Searched refs:mod_path (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/psm/stand/lib/names/sparc/common/
H A Duname-m.c71 mod_path_uname_m(char *mod_path, char *ia_name) in mod_path_uname_m() argument
89 if (platcmp(mod_path, default_name)) { in mod_path_uname_m()
93 (void) strcpy(tmp, mod_path); in mod_path_uname_m()
94 (void) strcpy(mod_path, "/platform/"); in mod_path_uname_m()
95 (void) strcat(mod_path, ia_name); in mod_path_uname_m()
96 (void) strcat(mod_path, "/kernel "); in mod_path_uname_m()
97 (void) strcat(mod_path, tmp); in mod_path_uname_m()
99 } else if (platcmp(mod_path, ia_name)) in mod_path_uname_m()
100 (void) strcat(mod_path, default_path); in mod_path_uname_m()
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c1367 static char mod_path[MOD_MAXPATH]; in getmodpath() local
1386 (void) strncpy(mod_path, fname, len); in getmodpath()
1387 mod_path[len] = 0; in getmodpath()
1390 len = strlen(mod_path); in getmodpath()
1392 mod_path[len - isalen] = '\0'; in getmodpath()
1398 mod_path_uname_m(mod_path, impl_arch_name); in getmodpath()
1399 (void) strcat(mod_path, " "); in getmodpath()
1400 (void) strcat(mod_path, MOD_DEFPATH); in getmodpath()
1408 (void) strcpy(mod_path, buf); in getmodpath()
1411 printf("modpath: %s\n", mod_path); in getmodpath()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_rtld.c49 if ((dlp = dlopen(mp->mod_path, RTLD_LOCAL | RTLD_NOW)) == NULL) { in rtld_init()
H A Dfmd_module.h112 char *mod_path; /* full pathname of module file (ro) */ member
H A Dfmd_ckpt.c715 ckp->ckp_strn += strlen(mp->mod_path) + 1; in fmd_ckpt_resv_module()
754 fcfm.fcfm_path = fmd_ckpt_string(ckp, mp->mod_path); in fmd_ckpt_save_module()
1124 strcmp(mp->mod_path, fmd_ckpt_strptr(ckp, fcfm->fcfm_path, ""))) { in fmd_ckpt_restore_module()
H A Dfmd_module.c193 mp->mod_path = fmd_strdup(path, FMD_SLEEP); in fmd_module_create()
482 fmd_strfree(mp->mod_path); in fmd_module_destroy()
H A Dfmd_rpc_adm.c303 mp->mod_path, mp->mod_ops) == NULL) { in fmd_adm_modreset_1_svc()
H A Dfmd_api.c458 if (mp->mod_path != NULL) { in fmd_hdl_register()
459 (void) strlcpy(buf, mp->mod_path, sizeof (buf)); in fmd_hdl_register()