Searched refs:end_of_smb (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/fs/cifs/
H A Dreaddir.c364 static char *nxt_dir_entry(char *old_entry, char *end_of_smb, int level) nxt_dir_entry() argument
379 if (new_entry >= end_of_smb) { nxt_dir_entry()
381 new_entry, end_of_smb, old_entry); nxt_dir_entry()
384 (new_entry + sizeof(FIND_FILE_STANDARD_INFO) > end_of_smb)) nxt_dir_entry()
386 (new_entry + sizeof(FILE_DIRECTORY_INFO) > end_of_smb))) { nxt_dir_entry()
388 new_entry, end_of_smb); nxt_dir_entry()
647 char *end_of_smb = cfile->srch_inf.ntwrk_buf_start + find_cifs_entry() local
659 cur_ent = nxt_dir_entry(cur_ent, end_of_smb, find_cifs_entry()
779 char *end_of_smb; cifs_readdir() local
831 end_of_smb = cifsFile->srch_inf.ntwrk_buf_start + max_len; cifs_readdir()
868 nxt_dir_entry(current_entry, end_of_smb, cifs_readdir()
H A Dcifssmb.c3169 char *end_of_smb; CIFSSMBQuerySymLink() local
3215 end_of_smb = 2 + get_bcc(&pSMBr->hdr) + (char *)&pSMBr->ByteCount; CIFSSMBQuerySymLink()
3218 if ((char *)reparse_buf >= end_of_smb) { CIFSSMBQuerySymLink()
3234 if (posix_buf->PathBuffer + sub_len > end_of_smb) { CIFSSMBQuerySymLink()
3252 if (sub_start + sub_len > end_of_smb) { CIFSSMBQuerySymLink()
3767 char *end_of_smb; validate_ntransact() local
3781 end_of_smb = 2 /* sizeof byte count */ + bcc + validate_ntransact()
3793 if (*ppparm > end_of_smb) { validate_ntransact()
3796 } else if (parm_count + *ppparm > end_of_smb) { validate_ntransact()
3799 } else if (*ppdata > end_of_smb) { validate_ntransact()
3802 } else if (data_count + *ppdata > end_of_smb) { validate_ntransact()
3805 end_of_smb, pSMBr); validate_ntransact()
6175 char *end_of_smb; CIFSSMBQAllEAs() local
6264 end_of_smb = (char *)pByteArea(&pSMBr->hdr) + get_bcc(&pSMBr->hdr); CIFSSMBQAllEAs()
6265 if ((char *)ea_response_data + list_len > end_of_smb) { CIFSSMBQAllEAs()
H A Dsmb2pdu.c1477 char *end_of_smb = smb_len + 4 /* RFC1001 length field */ + (char *)hdr; validate_buf() local
1495 if ((begin_of_buf > end_of_smb) || (end_of_buf > end_of_smb)) { validate_buf()
2175 char *end_of_smb; SMB2_query_directory() local
2262 end_of_smb = get_rfc1002_length(rsp) + 4 + (char *)&rsp->hdr; SMB2_query_directory()
2264 num_entries(srch_inf->srch_entries_start, end_of_smb, SMB2_query_directory()

Completed in 146 milliseconds