Home
last modified time | relevance | path

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

/titanic_41/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()
/titanic_41/usr/src/psm/stand/boot/common/
H A Dreadfile.c1514 static char mod_path[MOD_MAXPATH]; local
1538 (void) strncpy(mod_path, fname, len);
1539 mod_path[len] = 0;
1542 len = strlen(mod_path);
1543 if ((len > isalen) && (strcmp(&mod_path[len - isalen], isastr) == 0)) {
1544 mod_path[len - isalen] = '\0';
1552 mod_path_uname_m(mod_path, impl_arch_name);
1553 (void) strcat(mod_path, " ");
1554 (void) strcat(mod_path, MOD_DEFPATH);
1559 printf("Enter default directory for modules [%s]: ", mod_path);
[all …]
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_rtld.c51 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()