Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/vmalloc.h>
#include <linux/completion.h>
#include <linux/freezer.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kthread.h>
#include <linux/seq_file.h>
#include "jfs_incore.h"
#include "jfs_inode.h"
#include "jfs_filsys.h"
#include "jfs_metapage.h"
#include "jfs_dinode.h"
#include "jfs_imap.h"
#include "jfs_dmap.h"
#include "jfs_superblock.h"
#include "jfs_debug.h"
Go to the source code of this file.
Macros | |
#define | TXN_LOCK() spin_lock(&jfsTxnLock) |
#define | TXN_UNLOCK() spin_unlock(&jfsTxnLock) |
#define | LAZY_LOCK_INIT() spin_lock_init(&TxAnchor.LazyLock); |
#define | LAZY_LOCK(flags) spin_lock_irqsave(&TxAnchor.LazyLock, flags) |
#define | LAZY_UNLOCK(flags) spin_unlock_irqrestore(&TxAnchor.LazyLock, flags) |
#define | TXN_SLEEP(event) |
#define | TXN_WAKEUP(event) wake_up_all(event) |
Variables | |
int | jfs_tlocks_low |
struct tblock * | TxBlock |
struct tlock * | TxLock |
#define LAZY_LOCK | ( | flags | ) | spin_lock_irqsave(&TxAnchor.LazyLock, flags) |
Definition at line 122 of file jfs_txnmgr.c.
#define LAZY_LOCK_INIT | ( | ) | spin_lock_init(&TxAnchor.LazyLock); |
Definition at line 121 of file jfs_txnmgr.c.
#define LAZY_UNLOCK | ( | flags | ) | spin_unlock_irqrestore(&TxAnchor.LazyLock, flags) |
Definition at line 123 of file jfs_txnmgr.c.
#define TXN_LOCK | ( | ) | spin_lock(&jfsTxnLock) |
Definition at line 118 of file jfs_txnmgr.c.
#define TXN_SLEEP | ( | event | ) |
Definition at line 143 of file jfs_txnmgr.c.
#define TXN_UNLOCK | ( | ) | spin_unlock(&jfsTxnLock) |
Definition at line 119 of file jfs_txnmgr.c.
#define TXN_WAKEUP | ( | event | ) | wake_up_all(event) |
Definition at line 149 of file jfs_txnmgr.c.
Definition at line 2748 of file jfs_txnmgr.c.
Definition at line 2933 of file jfs_txnmgr.c.
module_param | ( | nTxBlock | , |
int | , | ||
0 | |||
) |
module_param | ( | nTxLock | , |
int | , | ||
0 | |||
) |
MODULE_PARM_DESC | ( | nTxBlock | , |
"Number of transaction blocks (max:65536)" | |||
) |
MODULE_PARM_DESC | ( | nTxLock | , |
"Number of transaction locks (max:65536)" | |||
) |
Definition at line 2643 of file jfs_txnmgr.c.
tid_t txBegin | ( | struct super_block * | sb, |
int | flag | ||
) |
Definition at line 362 of file jfs_txnmgr.c.
void txBeginAnon | ( | struct super_block * | sb | ) |
Definition at line 461 of file jfs_txnmgr.c.
Definition at line 1136 of file jfs_txnmgr.c.
Definition at line 2174 of file jfs_txnmgr.c.
Definition at line 501 of file jfs_txnmgr.c.
Definition at line 341 of file jfs_txnmgr.c.
Definition at line 2597 of file jfs_txnmgr.c.
Definition at line 2498 of file jfs_txnmgr.c.
Definition at line 239 of file jfs_txnmgr.c.
Definition at line 2823 of file jfs_txnmgr.c.
Definition at line 1069 of file jfs_txnmgr.c.
Definition at line 591 of file jfs_txnmgr.c.
Definition at line 996 of file jfs_txnmgr.c.
void txQuiesce | ( | struct super_block * | sb | ) |
Definition at line 2861 of file jfs_txnmgr.c.
void txResume | ( | struct super_block * | sb | ) |
Definition at line 2918 of file jfs_txnmgr.c.
Definition at line 76 of file jfs_txnmgr.c.
Definition at line 77 of file jfs_txnmgr.c.
int freelock |
Definition at line 68 of file jfs_txnmgr.c.
wait_queue_head_t freelockwait |
Definition at line 70 of file jfs_txnmgr.c.
int freetid |
Definition at line 67 of file jfs_txnmgr.c.
wait_queue_head_t freewait |
Definition at line 69 of file jfs_txnmgr.c.
int jfs_tlocks_low |
Definition at line 81 of file jfs_txnmgr.c.
spinlock_t LazyLock |
Definition at line 73 of file jfs_txnmgr.c.
wait_queue_head_t lowlockwait |
Definition at line 71 of file jfs_txnmgr.c.
lid_t maxlid |
Definition at line 156 of file jfs_txnmgr.c.
tid_t maxtid |
Definition at line 155 of file jfs_txnmgr.c.
int nlid |
Definition at line 158 of file jfs_txnmgr.c.
int ntid |
Definition at line 157 of file jfs_txnmgr.c.
int tlocksInUse |
Definition at line 72 of file jfs_txnmgr.c.
Definition at line 107 of file jfs_txnmgr.c.
Definition at line 111 of file jfs_txnmgr.c.
Definition at line 75 of file jfs_txnmgr.c.
int waitlock |
Definition at line 159 of file jfs_txnmgr.c.