Lines Matching refs:LOGPSIZE
97 #define LOGSYNC_DELTA(logsize) min((logsize)/8, 128*LOGPSIZE)
406 if (dstoffset >= LOGPSIZE - LOGPTLRSIZE) { in lmWriteRecord()
422 freespace = (LOGPSIZE - LOGPTLRSIZE) - dstoffset; in lmWriteRecord()
429 if (dstoffset < LOGPSIZE - LOGPTLRSIZE) in lmWriteRecord()
470 freespace = (LOGPSIZE - LOGPTLRSIZE) - dstoffset; in lmWriteRecord()
524 if (dstoffset < LOGPSIZE - LOGPTLRSIZE) in lmWriteRecord()
984 if (more < 2 * LOGPSIZE) { in lmLogSync()
1328 log->page = le32_to_cpu(logsuper->end) / LOGPSIZE; in lmLogInit()
1329 log->eor = le32_to_cpu(logsuper->end) - (LOGPSIZE * log->page); in lmLogInit()
1349 if (log->eor >= LOGPSIZE - LOGPTLRSIZE) in lmLogInit()
1821 for (offset = 0; offset < PAGE_SIZE; offset += LOGPSIZE) { in lbmLogInit()
1977 bio_add_page(bio, bp->l_page, LOGPSIZE, bp->l_offset); in lbmRead()
1978 BUG_ON(bio->bi_iter.bi_size != LOGPSIZE); in lbmRead()
2118 bio_add_page(bio, bp->l_page, LOGPSIZE, bp->l_offset); in lbmStartIO()
2119 BUG_ON(bio->bi_iter.bi_size != LOGPSIZE); in lbmStartIO()
2392 logsuper->end = cpu_to_le32(2 * LOGPSIZE + LOGPHDRSIZE + LOGRDSIZE); in lmLogFormat()