UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Functions | Variables
log.c File Reference
#include "types.h"
#include "defs.h"
#include "param.h"
#include "spinlock.h"
#include "fs.h"
#include "buf.h"

Go to the source code of this file.

Data Structures

struct  logheader
 
struct  log
 

Functions

void initlog (int dev)
 
void begin_op (void)
 
void end_op (void)
 
void log_write (struct buf *b)
 

Variables

struct log log
 

Function Documentation

void begin_op ( void  )

Definition at line 125 of file log.c.

void end_op ( void  )

Definition at line 145 of file log.c.

void initlog ( int  dev)

Definition at line 53 of file log.c.

void log_write ( struct buf b)

Definition at line 211 of file log.c.

Variable Documentation

struct log log

Definition at line 47 of file log.c.