Lines Matching defs:fletcher
154 #define DB_FLETCHER "fletcher"
656 char *fletcher;
667 fletcher = calloc(1, fletcher_str_len);
668 if (fletcher)
669 (void) snprintf(fletcher, fletcher_str_len,
671 return (fletcher);
689 char *fletcher = NULL;
748 /* Pack all the records so we can compute their fletcher checksum. */
756 fletcher = fletcher_4_native(fletcher_buf, fletcher_buf_size);
757 if (fletcher == NULL)
761 * Get fletcher from a header-only snapshot of the current database to
768 if (fletcher_c && (strcmp(fletcher_c, fletcher) == 0)) {
770 * With fletcher already in sync, we are not going to
785 if (nvlist_add_string(db_nvl, DB_FLETCHER, fletcher) ||
819 if (fletcher)
820 free(fletcher);
858 char *fletcher = NULL;
896 (void) nvlist_lookup_string(db_nvl, DB_FLETCHER, &fletcher);
907 if (fletcher)
908 h->h_fletcher = strdup(fletcher);
913 (fletcher && !h->h_fletcher))