• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/BerkeleyDB-21/db/log/

Lines Matching refs:lp

64 	LOG *lp;
70 lp = dblp->reginfo.primary;
77 *stats = lp->stat;
79 memset(&lp->stat, 0, sizeof(lp->stat));
81 stats->st_magic = lp->persist.magic;
82 stats->st_version = lp->persist.version;
83 stats->st_mode = lp->filemode;
84 stats->st_lg_bsize = lp->buffer_size;
85 stats->st_lg_size = lp->log_nsize;
87 __mutex_set_wait_info(env, lp->mtx_region,
90 __mutex_clear(env, lp->mtx_region);
93 stats->st_cur_file = lp->lsn.file;
94 stats->st_cur_offset = lp->lsn.offset;
95 stats->st_disk_file = lp->s_lsn.file;
96 stats->st_disk_offset = lp->s_lsn.offset;
249 LOG *lp;
252 lp = (LOG *)dblp->reginfo.primary;
269 env, "LOG region mutex", lp->mtx_region, flags);
271 env, "File name list mutex", lp->mtx_filelist, flags);
273 STAT_HEX("persist.magic", lp->persist.magic);
274 STAT_ULONG("persist.version", lp->persist.version);
276 "persist.log_size", (u_long)0, (u_long)0, lp->persist.log_size);
277 STAT_FMT("log file permissions mode", "%#lo", u_long, lp->filemode);
278 STAT_LSN("current file offset LSN", &lp->lsn);
279 STAT_LSN("first buffer byte LSN", &lp->lsn);
280 STAT_ULONG("current buffer offset", lp->b_off);
281 STAT_ULONG("current file write offset", lp->w_off);
282 STAT_ULONG("length of last record", lp->len);
283 STAT_LONG("log flush in progress", lp->in_flush);
285 env, "Log flush mutex", lp->mtx_flush, flags);
287 STAT_LSN("last sync LSN", &lp->s_lsn);
294 STAT_LSN("cached checkpoint LSN", &lp->cached_ckp_lsn);
297 "log buffer size", (u_long)0, (u_long)0, lp->buffer_size);
299 "log file size", (u_long)0, (u_long)0, lp->log_size);
301 "next log file size", (u_long)0, (u_long)0, lp->log_nsize);
303 STAT_ULONG("transactions waiting to commit", lp->ncommit);
304 STAT_LSN("LSN of first commit", &lp->t_lsn);