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