Lines Matching refs:logsuper
1252 struct logsuper *logsuper; in lmLogInit() local
1301 logsuper = (struct logsuper *) bpsuper->l_ldata; in lmLogInit()
1303 if (logsuper->magic != cpu_to_le32(LOGMAGIC)) { in lmLogInit()
1310 if (logsuper->state != cpu_to_le32(LOGREDONE)) { in lmLogInit()
1318 if (log->size != le32_to_cpu(logsuper->size)) { in lmLogInit()
1325 if (!uuid_equal(&logsuper->uuid, &log->uuid)) { in lmLogInit()
1330 log->size = le32_to_cpu(logsuper->size); in lmLogInit()
1331 log->l2bsize = le32_to_cpu(logsuper->l2bsize); in lmLogInit()
1336 log->page = le32_to_cpu(logsuper->end) / LOGPSIZE; in lmLogInit()
1337 log->eor = le32_to_cpu(logsuper->end) - (LOGPSIZE * log->page); in lmLogInit()
1349 le32_to_cpu(logsuper->end), log->page, log->eor, in lmLogInit()
1387 logsuper->state = cpu_to_le32(LOGMOUNT); in lmLogInit()
1388 log->serial = le32_to_cpu(logsuper->serial) + 1; in lmLogInit()
1389 logsuper->serial = cpu_to_le32(log->serial); in lmLogInit()
1644 struct logsuper *logsuper; in lmLogShutdown() local
1679 logsuper = (struct logsuper *) bpsuper->l_ldata; in lmLogShutdown()
1680 logsuper->state = cpu_to_le32(LOGREDONE); in lmLogShutdown()
1681 logsuper->end = cpu_to_le32(lsn); in lmLogShutdown()
1720 struct logsuper *logsuper; in lmLogFileSystem() local
1730 logsuper = (struct logsuper *) bpsuper->l_ldata; in lmLogFileSystem()
1733 if (uuid_is_null(&logsuper->active[i].uuid)) { in lmLogFileSystem()
1734 uuid_copy(&logsuper->active[i].uuid, uuid); in lmLogFileSystem()
1745 if (uuid_equal(&logsuper->active[i].uuid, uuid)) { in lmLogFileSystem()
1746 uuid_copy(&logsuper->active[i].uuid, in lmLogFileSystem()
2369 struct logsuper *logsuper; in lmLogFormat() local
2398 logsuper = (struct logsuper *) bp->l_ldata; in lmLogFormat()
2400 logsuper->magic = cpu_to_le32(LOGMAGIC); in lmLogFormat()
2401 logsuper->version = cpu_to_le32(LOGVERSION); in lmLogFormat()
2402 logsuper->state = cpu_to_le32(LOGREDONE); in lmLogFormat()
2403 logsuper->flag = cpu_to_le32(sbi->mntflag); /* ? */ in lmLogFormat()
2404 logsuper->size = cpu_to_le32(npages); in lmLogFormat()
2405 logsuper->bsize = cpu_to_le32(sbi->bsize); in lmLogFormat()
2406 logsuper->l2bsize = cpu_to_le32(sbi->l2bsize); in lmLogFormat()
2407 logsuper->end = cpu_to_le32(2 * LOGPSIZE + LOGPHDRSIZE + LOGRDSIZE); in lmLogFormat()