Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
smb2misc.c File Reference
#include <linux/ctype.h>
#include "smb2pdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
#include "smb2proto.h"
#include "cifs_debug.h"
#include "cifs_unicode.h"
#include "smb2status.h"

Go to the source code of this file.

Data Structures

struct  smb2_lease_break_work
 

Functions

int smb2_check_message (char *buf, unsigned int length)
 
charsmb2_get_data_area_len (int *off, int *len, struct smb2_hdr *hdr)
 
unsigned int smb2_calc_size (void *buf)
 
__le16cifs_convert_path_to_utf16 (const char *from, struct cifs_sb_info *cifs_sb)
 
__le32 smb2_get_lease_state (struct cifsInodeInfo *cinode)
 
__u8 smb2_map_lease_to_oplock (__le32 lease_state)
 
bool smb2_is_valid_oplock_break (char *buffer, struct TCP_Server_Info *server)
 

Function Documentation

__le16* cifs_convert_path_to_utf16 ( const char from,
struct cifs_sb_info cifs_sb 
)

Definition at line 352 of file smb2misc.c.

unsigned int smb2_calc_size ( void buf)

Definition at line 308 of file smb2misc.c.

int smb2_check_message ( char buf,
unsigned int  length 
)

Definition at line 94 of file smb2misc.c.

char* smb2_get_data_area_len ( int off,
int len,
struct smb2_hdr hdr 
)

Definition at line 215 of file smb2misc.c.

__le32 smb2_get_lease_state ( struct cifsInodeInfo cinode)

Definition at line 371 of file smb2misc.c.

bool smb2_is_valid_oplock_break ( char buffer,
struct TCP_Server_Info server 
)

Definition at line 514 of file smb2misc.c.

__u8 smb2_map_lease_to_oplock ( __le32  lease_state)

Definition at line 380 of file smb2misc.c.