Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
objio_osd.c File Reference
#include <linux/module.h>
#include <scsi/osd_ore.h>
#include "objlayout.h"
#include "../internal.h"

Go to the source code of this file.

Data Structures

struct  objio_dev_ent
 
struct  objio_segment
 
struct  objio_state
 

Macros

#define NFSDBG_FACILITY   NFSDBG_PNFS_LD
 

Functions

int objio_alloc_lseg (struct pnfs_layout_segment **outp, struct pnfs_layout_hdr *pnfslay, struct pnfs_layout_range *range, struct xdr_stream *xdr, gfp_t gfp_flags)
 
void objio_free_lseg (struct pnfs_layout_segment *lseg)
 
void objio_free_result (struct objlayout_io_res *oir)
 
int objio_read_pagelist (struct nfs_read_data *rdata)
 
int objio_write_pagelist (struct nfs_write_data *wdata, int how)
 
 MODULE_DESCRIPTION ("pNFS Layout Driver for OSD2 objects")
 
 MODULE_AUTHOR ("Benny Halevy <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("nfs-layouttype4-2")
 
 module_init (objlayout_init)
 
 module_exit (objlayout_exit)
 

Macro Definition Documentation

#define NFSDBG_FACILITY   NFSDBG_PNFS_LD

Definition at line 46 of file objio_osd.c.

Function Documentation

MODULE_ALIAS ( "nfs-layouttype4-2"  )
MODULE_AUTHOR ( "Benny Halevy <[email protected]>"  )
MODULE_DESCRIPTION ( "pNFS Layout Driver for OSD2 objects"  )
module_exit ( objlayout_exit  )
module_init ( objlayout_init  )
MODULE_LICENSE ( "GPL"  )
int objio_alloc_lseg ( struct pnfs_layout_segment **  outp,
struct pnfs_layout_hdr *  pnfslay,
struct pnfs_layout_range range,
struct xdr_stream *  xdr,
gfp_t  gfp_flags 
)

Definition at line 251 of file objio_osd.c.

void objio_free_lseg ( struct pnfs_layout_segment lseg)

Definition at line 308 of file objio_osd.c.

void objio_free_result ( struct objlayout_io_res oir)

Definition at line 364 of file objio_osd.c.

int objio_read_pagelist ( struct nfs_read_data rdata)

Definition at line 442 of file objio_osd.c.

int objio_write_pagelist ( struct nfs_write_data wdata,
int  how 
)

Definition at line 534 of file objio_osd.c.