Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dev_bdev.c File Reference
#include "logfs.h"
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/buffer_head.h>
#include <linux/gfp.h>
#include <linux/prefetch.h>

Go to the source code of this file.

Macros

#define PAGE_OFS(ofs)   ((ofs) & (PAGE_SIZE-1))
 

Functions

int logfs_get_sb_bdev (struct logfs_super *p, struct file_system_type *type, const char *devname)
 

Macro Definition Documentation

#define PAGE_OFS (   ofs)    ((ofs) & (PAGE_SIZE-1))

Definition at line 15 of file dev_bdev.c.

Function Documentation

int logfs_get_sb_bdev ( struct logfs_super p,
struct file_system_type type,
const char devname 
)

Definition at line 321 of file dev_bdev.c.