Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
smb2file.c File Reference
#include <linux/fs.h>
#include <linux/stat.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <asm/div64.h>
#include "cifsfs.h"
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifs_debug.h"
#include "cifs_fs_sb.h"
#include "cifs_unicode.h"
#include "fscache.h"
#include "smb2proto.h"

Go to the source code of this file.

Functions

void smb2_set_oplock_level (struct cifsInodeInfo *cinode, __u32 oplock)
 
int smb2_open_file (const unsigned int xid, struct cifs_tcon *tcon, const char *path, int disposition, int desired_access, int create_options, struct cifs_fid *fid, __u32 *oplock, FILE_ALL_INFO *buf, struct cifs_sb_info *cifs_sb)
 
int smb2_unlock_range (struct cifsFileInfo *cfile, struct file_lock *flock, const unsigned int xid)
 
int smb2_push_mandatory_locks (struct cifsFileInfo *cfile)
 

Function Documentation

int smb2_open_file ( const unsigned int  xid,
struct cifs_tcon tcon,
const char path,
int  disposition,
int  desired_access,
int  create_options,
struct cifs_fid fid,
__u32 oplock,
FILE_ALL_INFO *  buf,
struct cifs_sb_info cifs_sb 
)

Definition at line 60 of file smb2file.c.

int smb2_push_mandatory_locks ( struct cifsFileInfo cfile)

Definition at line 253 of file smb2file.c.

void smb2_set_oplock_level ( struct cifsInodeInfo cinode,
__u32  oplock 
)

Definition at line 38 of file smb2file.c.

int smb2_unlock_range ( struct cifsFileInfo cfile,
struct file_lock flock,
const unsigned int  xid 
)

Definition at line 116 of file smb2file.c.