Lines Matching refs:tag
63 * written to the error log using the group catalog tag EXD_GROUP_RFMA by the
66 * fmd_log_commit() is used to overwrite the tag with EXD_GROUP_FMA, indicating
133 fmd_log_write_hdr(fmd_log_t *lp, const char *tag)
153 err |= ea_set_item(&i0, CAT_FMA_LABEL, tag, 0);
215 fmd_ea_strerror(eaerr) : "catalog tag mismatch");
222 fmd_log_check_hdr(fmd_log_t *lp, const char *tag)
278 if (strcmp(obj->eo_item.ei_string, tag) != 0) {
279 fmd_error(EFMD_LOG_INVAL, "%s: log tag '%s' "
280 "does not matched expected tag '%s'\n",
281 lp->log_name, obj->eo_item.ei_string, tag);
352 fmd_log_xopen(const char *root, const char *name, const char *tag, int oflags)
370 lp->log_tag = fmd_strdup(tag, FMD_SLEEP);
396 O_CREAT | O_WRONLY) || fmd_log_write_hdr(lp, tag);
399 O_RDONLY) || fmd_log_check_hdr(lp, tag);
438 fmd_log_tryopen(const char *root, const char *name, const char *tag)
440 return (fmd_log_xopen(root, name, tag, O_RDWR | O_SYNC));
444 fmd_log_open(const char *root, const char *name, const char *tag)
446 return (fmd_log_xopen(root, name, tag, O_RDWR | O_CREAT | O_SYNC));
847 * we replay all events after log_skip that have the FMA_RGROUP group tag.