Searched refs:mod_ckpt (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_ckpt.c | 103 const char *dir = mp->mod_ckpt; in fmd_ckpt_create() 149 mp->mod_ckpt, mp->mod_name); in fmd_ckpt_open() 797 if (stat64(mp->mod_ckpt, &st) != 0 || !S_ISDIR(st.st_mode)) { in fmd_ckpt_save() 798 (void) snprintf(path, sizeof (path), "%s-", mp->mod_ckpt); in fmd_ckpt_save() 799 (void) rename(mp->mod_ckpt, path); in fmd_ckpt_save() 802 if (mkdir(mp->mod_ckpt, dirmode) != 0) { in fmd_ckpt_save() 804 "failed to mkdir %s", mp->mod_ckpt); in fmd_ckpt_save() 1188 "%s/%s", mp->mod_ckpt, mp->mod_name); in fmd_ckpt_delete() 1206 (void) snprintf(src, sizeof (src), "%s/%s", mp->mod_ckpt, mp->mod_name); in fmd_ckpt_rename()
|
H A D | fmd_module.h | 113 char *mod_ckpt; /* pathname of checkpoint dir (ro) */ member
|
H A D | fmd_module.c | 201 mp->mod_ckpt = fmd_strdup(buf, FMD_SLEEP); in fmd_module_create() 483 fmd_strfree(mp->mod_ckpt); in fmd_module_destroy()
|