H A D | fmd_ckpt.c | 101 fmd_ckpt_create(fmd_ckpt_t *ckp, fmd_module_t *mp) argument 107 bzero(ckp, sizeof (fmd_ckpt_t)); 108 ckp->ckp_mp = mp; 110 ckp->ckp_size = sizeof (fcf_hdr_t); 111 ckp->ckp_strn = 1; /* for \0 */ 113 (void) snprintf(ckp->ckp_src, PATH_MAX, "%s/%s+", dir, name); 114 (void) snprintf(ckp->ckp_dst, PATH_MAX, "%s/%s", dir, name); 116 (void) unlink(ckp->ckp_src); 118 ckp->ckp_fd = open64(ckp 125 fmd_ckpt_inval(fmd_ckpt_t *ckp, const char *format, ...) argument 138 fmd_ckpt_open(fmd_ckpt_t *ckp, fmd_module_t *mp) argument 333 fmd_ckpt_destroy(fmd_ckpt_t *ckp) argument 350 fmd_ckpt_error(fmd_ckpt_t *ckp, int err, const char *format, ...) argument 367 fmd_ckpt_section(fmd_ckpt_t *ckp, const void *data, uint_t type, uint64_t size) argument 398 fmd_ckpt_string(fmd_ckpt_t *ckp, const char *s) argument 409 fmd_ckpt_alloc(fmd_ckpt_t *ckp, uint64_t gen) argument 457 fmd_ckpt_commit(fmd_ckpt_t *ckp) argument 485 fmd_ckpt_resv(fmd_ckpt_t *ckp, size_t size, size_t align) argument 494 fmd_ckpt_resv_buf(fmd_buf_t *bp, fmd_ckpt_t *ckp) argument 502 fmd_ckpt_save_buf(fmd_buf_t *bp, fmd_ckpt_t *ckp) argument 514 fmd_ckpt_save_event(fmd_ckpt_t *ckp, fmd_event_t *e) argument 531 fmd_ckpt_save_nvlist(fmd_ckpt_t *ckp, nvlist_t *nvl) argument 548 fmd_ckpt_resv_serd(fmd_serd_eng_t *sgp, fmd_ckpt_t *ckp) argument 557 fmd_ckpt_save_serd(fmd_serd_eng_t *sgp, fmd_ckpt_t *ckp) argument 582 fmd_ckpt_resv_case(fmd_ckpt_t *ckp, fmd_case_t *cp) argument 620 fmd_ckpt_save_case(fmd_ckpt_t *ckp, fmd_case_t *cp) argument 696 fmd_ckpt_resv_module(fmd_ckpt_t *ckp, fmd_module_t *mp) argument 721 fmd_ckpt_save_module(fmd_ckpt_t *ckp, fmd_module_t *mp) argument 771 fmd_ckpt_t ckp; local 856 fmd_ckpt_secptr(fmd_ckpt_t *ckp, fcf_secidx_t sid, uint_t type) argument 870 fmd_ckpt_dataptr(fmd_ckpt_t *ckp, const fcf_sec_t *sp) argument 880 fmd_ckpt_datalim(fmd_ckpt_t *ckp, const fcf_sec_t *sp) argument 890 fmd_ckpt_strptr(fmd_ckpt_t *ckp, fcf_stridx_t sid, const char *defstr) argument 896 fmd_ckpt_restore_events(fmd_ckpt_t *ckp, fcf_secidx_t sid, void (*func)(void *, fmd_event_t *), void *arg) argument 955 fmd_ckpt_restore_suspects(fmd_ckpt_t *ckp, fmd_case_t *cp, fcf_secidx_t sid) argument 996 fmd_ckpt_restore_bufs(fmd_ckpt_t *ckp, fmd_module_t *mp, fmd_case_t *cp, fcf_secidx_t sid) argument 1031 fmd_ckpt_restore_case(fmd_ckpt_t *ckp, fmd_module_t *mp, const fcf_sec_t *sp) argument 1084 fmd_ckpt_restore_serd(fmd_ckpt_t *ckp, fmd_module_t *mp, const fcf_sec_t *sp) argument 1117 fmd_ckpt_restore_module(fmd_ckpt_t *ckp, fmd_module_t *mp) argument 1155 fmd_ckpt_t ckp; local [all...] |