#include <common.h>

Data Fields | |
| int | fd |
| Real file fd. | |
| char * | name |
| Real file path. | |
| char * | jdir |
| Journal directory path. | |
| int | jdirfd |
| Journal directory file descriptor. | |
| int | jfd |
| Journal's lock file descriptor. | |
| unsigned int * | jmap |
| Journal's lock file mmap. | |
| uint32_t | flags |
| Journal flags. | |
| uint32_t | open_flags |
| Flags passed to the real open(). | |
| struct jlinger * | ltrans |
| Lingering transactions (linked list). | |
| size_t | ltrans_len |
| Length of all the lingered transactions. | |
| pthread_mutex_t | ltlock |
| Lingering transactions' lock. | |
| pthread_mutex_t | lock |
| A soft lock used in some operations. | |
| struct autosync_cfg * | as_cfg |
| Autosync config. | |
Definition at line 31 of file common.h.
| int jfs::fd |
Real file fd.
Definition at line 33 of file common.h.
Referenced by jclose(), jfileno(), jfopen(), jfsck(), jfseek(), jfsopen(), jftell(), jlseek(), jopen(), jpread(), jread(), jreadv(), jrewind(), jsync(), jtrans_add_common(), jtrans_commit(), jtrans_rollback(), jtruncate(), jwrite(), jwritev(), lock_file_ranges(), and operation_read_prev().
| char* jfs::name |
| char* jfs::jdir |
Journal directory path.
Definition at line 39 of file common.h.
Referenced by get_jtfile(), is_broken(), jclose(), jfsck(), jmove_journal(), jopen(), and mark_broken().
| int jfs::jdirfd |
Journal directory file descriptor.
Definition at line 42 of file common.h.
Referenced by jclose(), jfsck(), jmove_journal(), jopen(), journal_commit(), and journal_free().
| int jfs::jfd |
| unsigned int* jfs::jmap |
| uint32_t jfs::flags |
| uint32_t jfs::open_flags |
struct jlinger* jfs::ltrans [read] |
Lingering transactions (linked list).
Definition at line 57 of file common.h.
Referenced by jopen(), jsync(), and jtrans_commit().
| size_t jfs::ltrans_len |
Length of all the lingered transactions.
Definition at line 60 of file common.h.
Referenced by autosync_check(), autosync_thread(), jopen(), jsync(), and jtrans_commit().
| pthread_mutex_t jfs::ltlock |
Lingering transactions' lock.
Definition at line 63 of file common.h.
Referenced by jopen(), jsync(), and jtrans_commit().
| pthread_mutex_t jfs::lock |
struct autosync_cfg* jfs::as_cfg [read] |
Autosync config.
Definition at line 69 of file common.h.
Referenced by autosync_check(), jfs_autosync_start(), jfs_autosync_stop(), and jopen().
1.5.8