log_file
if (log_file) {
if (log_file) {
if (log_file && scan_cur_block >= 0) {
extern FILE *log_file; /* log file pointer */
if (log_file)
if (log_file) {
(void) fprintf(log_file, "\n");
(void) vfprintf(log_file, format, ap);
(void) fflush(log_file);
(void) fprintf(log_file, "\n");
(void) vfprintf(log_file, format, ap);
(void) fflush(log_file);
if (log_file) {
(void) fprintf(log_file, "\n");
(void) vfprintf(log_file, format, ap);
(void) fflush(log_file);
} else if (log_file) {
else if (log_file) {
if ((log_file = fopen(option_l, "w")) == NULL) {
FILE *log_file;
if (log_file && scan_cur_block >= 0) {
HANDL_RQ(log_file, 3),
HANDL_RQ(log_file, 4),
int log_file __P((DB_LOG *, const DB_LSN *, char *, size_t));
} log_file;
#define lfu_filep log_union.log_file.lf_filep
#define lfu_fname log_union.log_file.lf_fname
#define lfu_fopen_mode log_union.log_file.lf_fopen_mode
#define lfu_rotate_period log_union.log_file.lf_rotate_period
#define lfu_last_rotated log_union.log_file.lf_last_rotated
#define lfu_rotate_versions log_union.log_file.lf_rotate_versions
} log_file;
#define lfu_filep log_union.log_file.lf_filep
#define lfu_fname log_union.log_file.lf_fname
#define lfu_fopen_mode log_union.log_file.lf_fopen_mode
#define lfu_rotate_period log_union.log_file.lf_rotate_period
#define lfu_last_rotated log_union.log_file.lf_last_rotated
#define lfu_rotate_versions log_union.log_file.lf_rotate_versions
if (chan == NULL || chan->type != log_file) {
if (lcl->channel->type == log_file &&
if (chan == NULL || chan->type != log_file) {
if (chan == NULL || chan->type != log_file) {
case log_file:
chan->type = log_file;
if (chan->type != log_file) {
if (chan->type == log_file) {
if (chan == NULL || chan->type != log_file) {
nfslog_logfile_wait(struct log_file *lf)
struct log_file *logfile;
log_file_create(caddr_t origname, struct log_file **lfpp)
struct log_file *logfile = NULL;
logfile = (struct log_file *)kmem_zalloc(sizeof (*logfile), KM_SLEEP);
log_file_rele(struct log_file *lfp)
struct log_file *lfp = NULL;
nfslog_write_logrecords(struct log_file *lfp, struct lr_alloc *lrp_writers,
static int log_file_create(caddr_t, struct log_file **);
static void log_file_rele(struct log_file *);
static void nfslog_logfile_wait(struct log_file *);
static int nfslog_write_logrecords(struct log_file *, struct lr_alloc *, int);
struct log_file *lf;
struct log_file *logfile;
struct log_file *lb_logfile; /* points to log_file structure */