operation Struct Reference

A single operation. More...

#include <trans.h>

Collaboration diagram for operation:

Collaboration graph
[legend]

Data Fields

int locked
 Is the region locked?
off_t offset
 Operation's offset.
size_t len
 Data length, in bytes.
void * buf
 Data buffer.
enum op_direction direction
 Direction.
size_t plen
 Previous data length (only if direction == D_WRITE).
void * pdata
 Previous data (only if direction == D_WRITE).
struct operationprev
 Previous operation.
struct operationnext
 Next operation.

Detailed Description

A single operation.

Definition at line 41 of file trans.h.


Field Documentation

Is the region locked?

Definition at line 43 of file trans.h.

Referenced by jtrans_add_common(), jtrans_rollback(), and lock_file_ranges().

Operation's offset.

Definition at line 46 of file trans.h.

Referenced by fill_trans(), jtrans_add_common(), jtrans_commit(), jtrans_rollback(), lock_file_ranges(), and operation_read_prev().

Data length, in bytes.

Definition at line 49 of file trans.h.

Referenced by fill_trans(), jtrans_add_common(), jtrans_commit(), jtrans_rollback(), lock_file_ranges(), and operation_read_prev().

Data buffer.

Definition at line 52 of file trans.h.

Referenced by fill_trans(), jtrans_add_common(), jtrans_commit(), jtrans_free(), and jtrans_rollback().

Direction.

Definition at line 55 of file trans.h.

Referenced by fill_trans(), jtrans_add_common(), jtrans_commit(), jtrans_free(), and jtrans_rollback().

Previous data length (only if direction == D_WRITE).

Definition at line 58 of file trans.h.

Referenced by jtrans_add_common(), jtrans_rollback(), and operation_read_prev().

Previous data (only if direction == D_WRITE).

Definition at line 61 of file trans.h.

Referenced by fill_trans(), jfsck(), jtrans_add_common(), jtrans_free(), jtrans_rollback(), and operation_read_prev().

struct operation* operation::prev [read]

Previous operation.

Definition at line 64 of file trans.h.

Referenced by fill_trans(), jtrans_add_common(), and jtrans_rollback().

struct operation* operation::next [read]


The documentation for this struct was generated from the following file:

Generated on Sat Sep 12 13:33:34 2009 for libjio (internal) by  doxygen 1.5.8