|
Linux Kernel
3.7.1
|
#include <linux/fs.h>#include <linux/buffer_head.h>#include <linux/pagemap.h>#include <linux/quotaops.h>#include <linux/slab.h>#include "jfs_incore.h"#include "jfs_inode.h"#include "jfs_filsys.h"#include "jfs_dinode.h"#include "jfs_dmap.h"#include "jfs_imap.h"#include "jfs_metapage.h"#include "jfs_superblock.h"#include "jfs_debug.h"Go to the source code of this file.
Macros | |
| #define | IAGFREE_LOCK_INIT(imap) mutex_init(&imap->im_freelock) |
| #define | IAGFREE_LOCK(imap) mutex_lock(&imap->im_freelock) |
| #define | IAGFREE_UNLOCK(imap) mutex_unlock(&imap->im_freelock) |
| #define | AG_LOCK_INIT(imap, index) mutex_init(&(imap->im_aglock[index])) |
| #define | AG_LOCK(imap, agno) mutex_lock(&imap->im_aglock[agno]) |
| #define | AG_UNLOCK(imap, agno) mutex_unlock(&imap->im_aglock[agno]) |
Functions | |
| int | diMount (struct inode *ipimap) |
| int | diUnmount (struct inode *ipimap, int mounterror) |
| int | diSync (struct inode *ipimap) |
| int | diRead (struct inode *ip) |
| struct inode * | diReadSpecial (struct super_block *sb, ino_t inum, int secondary) |
| void | diWriteSpecial (struct inode *ip, int secondary) |
| void | diFreeSpecial (struct inode *ip) |
| int | diWrite (tid_t tid, struct inode *ip) |
| int | diFree (struct inode *ip) |
| int | diAlloc (struct inode *pip, bool dir, struct inode *ip) |
| int | diUpdatePMap (struct inode *ipimap, unsigned long inum, bool is_free, struct tblock *tblk) |
| int | diExtendFS (struct inode *ipimap, struct inode *ipbmap) |
| #define AG_LOCK | ( | imap, | |
| agno | |||
| ) | mutex_lock(&imap->im_aglock[agno]) |
Definition at line 70 of file jfs_imap.c.
| #define AG_LOCK_INIT | ( | imap, | |
| index | |||
| ) | mutex_init(&(imap->im_aglock[index])) |
Definition at line 69 of file jfs_imap.c.
| #define AG_UNLOCK | ( | imap, | |
| agno | |||
| ) | mutex_unlock(&imap->im_aglock[agno]) |
Definition at line 71 of file jfs_imap.c.
| #define IAGFREE_LOCK | ( | imap | ) | mutex_lock(&imap->im_freelock) |
Definition at line 65 of file jfs_imap.c.
| #define IAGFREE_LOCK_INIT | ( | imap | ) | mutex_init(&imap->im_freelock) |
Definition at line 64 of file jfs_imap.c.
| #define IAGFREE_UNLOCK | ( | imap | ) | mutex_unlock(&imap->im_freelock) |
Definition at line 66 of file jfs_imap.c.
Definition at line 1343 of file jfs_imap.c.
Definition at line 2868 of file jfs_imap.c.
Definition at line 863 of file jfs_imap.c.
Definition at line 562 of file jfs_imap.c.
Definition at line 107 of file jfs_imap.c.
Definition at line 304 of file jfs_imap.c.
Definition at line 429 of file jfs_imap.c.
Definition at line 219 of file jfs_imap.c.
Definition at line 2743 of file jfs_imap.c.
1.8.2