Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
quota_global.c File Reference
#include <linux/spinlock.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/quota.h>
#include <linux/quotaops.h>
#include <linux/dqblk_qtree.h>
#include <linux/jiffies.h>
#include <linux/writeback.h>
#include <linux/workqueue.h>
#include <cluster/masklog.h>
#include "ocfs2_fs.h"
#include "ocfs2.h"
#include "alloc.h"
#include "blockcheck.h"
#include "inode.h"
#include "journal.h"
#include "file.h"
#include "sysfile.h"
#include "dlmglue.h"
#include "uptodate.h"
#include "super.h"
#include "buffer_head_io.h"
#include "quota.h"
#include "ocfs2_trace.h"

Go to the source code of this file.

Functions

int ocfs2_validate_quota_block (struct super_block *sb, struct buffer_head *bh)
 
int ocfs2_read_quota_phys_block (struct inode *inode, u64 p_block, struct buffer_head **bhp)
 
ssize_t ocfs2_quota_read (struct super_block *sb, int type, char *data, size_t len, loff_t off)
 
ssize_t ocfs2_quota_write (struct super_block *sb, int type, const char *data, size_t len, loff_t off)
 
int ocfs2_lock_global_qf (struct ocfs2_mem_dqinfo *oinfo, int ex)
 
void ocfs2_unlock_global_qf (struct ocfs2_mem_dqinfo *oinfo, int ex)
 
int ocfs2_global_read_info (struct super_block *sb, int type)
 
int ocfs2_global_write_info (struct super_block *sb, int type)
 
int __ocfs2_sync_dquot (struct dquot *dquot, int freeing)
 

Variables

struct qtree_fmt_operations ocfs2_global_ops
 
struct dquot_operations ocfs2_quota_operations
 

Function Documentation

int __ocfs2_sync_dquot ( struct dquot dquot,
int  freeing 
)

Definition at line 477 of file quota_global.c.

int ocfs2_global_read_info ( struct super_block sb,
int  type 
)

Definition at line 335 of file quota_global.c.

int ocfs2_global_write_info ( struct super_block sb,
int  type 
)

Definition at line 442 of file quota_global.c.

int ocfs2_lock_global_qf ( struct ocfs2_mem_dqinfo oinfo,
int  ex 
)

Definition at line 295 of file quota_global.c.

ssize_t ocfs2_quota_read ( struct super_block sb,
int  type,
char data,
size_t  len,
loff_t  off 
)

Definition at line 164 of file quota_global.c.

ssize_t ocfs2_quota_write ( struct super_block sb,
int  type,
const char data,
size_t  len,
loff_t  off 
)

Definition at line 213 of file quota_global.c.

int ocfs2_read_quota_phys_block ( struct inode inode,
u64  p_block,
struct buffer_head **  bhp 
)

Definition at line 148 of file quota_global.c.

void ocfs2_unlock_global_qf ( struct ocfs2_mem_dqinfo oinfo,
int  ex 
)

Definition at line 318 of file quota_global.c.

int ocfs2_validate_quota_block ( struct super_block sb,
struct buffer_head *  bh 
)

Definition at line 131 of file quota_global.c.

Variable Documentation

struct qtree_fmt_operations ocfs2_global_ops
Initial value:
= {
.mem2disk_dqblk = ocfs2_global_mem2diskdqb,
.disk2mem_dqblk = ocfs2_global_disk2memdqb,
.is_id = ocfs2_global_is_id,
}

Definition at line 125 of file quota_global.c.

struct dquot_operations ocfs2_quota_operations
Initial value:
= {
.acquire_dquot = ocfs2_acquire_dquot,
.release_dquot = ocfs2_release_dquot,
.mark_dirty = ocfs2_mark_dquot_dirty,
.write_info = ocfs2_write_info,
.alloc_dquot = ocfs2_alloc_dquot,
.destroy_dquot = ocfs2_destroy_dquot,
}

Definition at line 921 of file quota_global.c.