Lines Matching refs:logsuper
1244 struct logsuper *logsuper; in lmLogInit() local
1293 logsuper = (struct logsuper *) bpsuper->l_ldata; in lmLogInit()
1295 if (logsuper->magic != cpu_to_le32(LOGMAGIC)) { in lmLogInit()
1302 if (logsuper->state != cpu_to_le32(LOGREDONE)) { in lmLogInit()
1310 if (log->size != le32_to_cpu(logsuper->size)) { in lmLogInit()
1317 if (!uuid_equal(&logsuper->uuid, &log->uuid)) { in lmLogInit()
1322 log->size = le32_to_cpu(logsuper->size); in lmLogInit()
1323 log->l2bsize = le32_to_cpu(logsuper->l2bsize); in lmLogInit()
1328 log->page = le32_to_cpu(logsuper->end) / LOGPSIZE; in lmLogInit()
1329 log->eor = le32_to_cpu(logsuper->end) - (LOGPSIZE * log->page); in lmLogInit()
1341 le32_to_cpu(logsuper->end), log->page, log->eor, in lmLogInit()
1379 logsuper->state = cpu_to_le32(LOGMOUNT); in lmLogInit()
1380 log->serial = le32_to_cpu(logsuper->serial) + 1; in lmLogInit()
1381 logsuper->serial = cpu_to_le32(log->serial); in lmLogInit()
1636 struct logsuper *logsuper; in lmLogShutdown() local
1671 logsuper = (struct logsuper *) bpsuper->l_ldata; in lmLogShutdown()
1672 logsuper->state = cpu_to_le32(LOGREDONE); in lmLogShutdown()
1673 logsuper->end = cpu_to_le32(lsn); in lmLogShutdown()
1712 struct logsuper *logsuper; in lmLogFileSystem() local
1722 logsuper = (struct logsuper *) bpsuper->l_ldata; in lmLogFileSystem()
1725 if (uuid_is_null(&logsuper->active[i].uuid)) { in lmLogFileSystem()
1726 uuid_copy(&logsuper->active[i].uuid, uuid); in lmLogFileSystem()
1737 if (uuid_equal(&logsuper->active[i].uuid, uuid)) { in lmLogFileSystem()
1738 uuid_copy(&logsuper->active[i].uuid, in lmLogFileSystem()
2354 struct logsuper *logsuper; in lmLogFormat() local
2383 logsuper = (struct logsuper *) bp->l_ldata; in lmLogFormat()
2385 logsuper->magic = cpu_to_le32(LOGMAGIC); in lmLogFormat()
2386 logsuper->version = cpu_to_le32(LOGVERSION); in lmLogFormat()
2387 logsuper->state = cpu_to_le32(LOGREDONE); in lmLogFormat()
2388 logsuper->flag = cpu_to_le32(sbi->mntflag); /* ? */ in lmLogFormat()
2389 logsuper->size = cpu_to_le32(npages); in lmLogFormat()
2390 logsuper->bsize = cpu_to_le32(sbi->bsize); in lmLogFormat()
2391 logsuper->l2bsize = cpu_to_le32(sbi->l2bsize); in lmLogFormat()
2392 logsuper->end = cpu_to_le32(2 * LOGPSIZE + LOGPHDRSIZE + LOGRDSIZE); in lmLogFormat()