Searched refs:ds0 (Results 1 – 1 of 1) sorted by relevance
230 static int ds_cmp(const void *ds0, const void *ds1) in ds_cmp() argument236 ds0 += LOGFS_SEGMENT_HEADERSIZE; in ds_cmp()238 return memcmp(ds0, ds1, len); in ds_cmp()244 struct logfs_disk_super _ds0, *ds0 = &_ds0; in logfs_recover_sb() local249 err = wbuf_read(sb, super->s_sb_ofs[0], sizeof(*ds0), ds0); in logfs_recover_sb()256 valid0 = logfs_check_ds(ds0) == 0; in logfs_recover_sb()267 if (valid0 && valid1 && ds_cmp(ds0, ds1)) { in logfs_recover_sb()