lh                 47 kernel/log.c     struct logheader lh;
lh                 73 kernel/log.c     for (tail = 0; tail < log.lh.n; tail++) {
lh                 75 kernel/log.c       struct buf *dbuf = bread(log.dev, log.lh.block[tail]); // read dst
lh                 90 kernel/log.c     struct logheader *lh = (struct logheader *) (buf->data);
lh                 92 kernel/log.c     log.lh.n = lh->n;
lh                 93 kernel/log.c     for (i = 0; i < log.lh.n; i++) {
lh                 94 kernel/log.c       log.lh.block[i] = lh->block[i];
lh                108 kernel/log.c     hb->n = log.lh.n;
lh                109 kernel/log.c     for (i = 0; i < log.lh.n; i++) {
lh                110 kernel/log.c       hb->block[i] = log.lh.block[i];
lh                121 kernel/log.c     log.lh.n = 0;
lh                133 kernel/log.c       } else if(log.lh.n + (log.outstanding+1)*MAXOPBLOCKS > LOGSIZE){
lh                183 kernel/log.c     for (tail = 0; tail < log.lh.n; tail++) {
lh                185 kernel/log.c       struct buf *from = bread(log.dev, log.lh.block[tail]); // cache block
lh                196 kernel/log.c     if (log.lh.n > 0) {
lh                200 kernel/log.c       log.lh.n = 0;
lh                220 kernel/log.c     if (log.lh.n >= LOGSIZE || log.lh.n >= log.size - 1)
lh                225 kernel/log.c     for (i = 0; i < log.lh.n; i++) {
lh                226 kernel/log.c       if (log.lh.block[i] == b->blockno)   // log absorption
lh                229 kernel/log.c     log.lh.block[i] = b->blockno;
lh                230 kernel/log.c     if (i == log.lh.n) {  // Add new block to log?
lh                232 kernel/log.c       log.lh.n++;