Searched refs:end_of_smb (Results 1 – 3 of 3) sorted by relevance
489 static char *nxt_dir_entry(char *old_entry, char *end_of_smb, int level) in nxt_dir_entry() argument511 if (new_entry >= end_of_smb) { in nxt_dir_entry()513 new_entry, end_of_smb, old_entry); in nxt_dir_entry()516 (new_entry + sizeof(FIND_FILE_STANDARD_INFO) > end_of_smb)) in nxt_dir_entry()518 (new_entry + sizeof(FILE_DIRECTORY_INFO) > end_of_smb))) { in nxt_dir_entry()520 new_entry, end_of_smb); in nxt_dir_entry()800 char *end_of_smb; in find_cifs_entry() local807 end_of_smb = cfile->srch_inf.ntwrk_buf_start + in find_cifs_entry()819 cur_ent = nxt_dir_entry(cur_ent, end_of_smb, in find_cifs_entry()1068 char *end_of_smb; in cifs_readdir() local[all …]
2753 char *end_of_smb; in CIFSSMBQuerySymLink() local2799 end_of_smb = 2 + get_bcc(&pSMBr->hdr) + (char *)&pSMBr->ByteCount; in CIFSSMBQuerySymLink()2802 if ((char *)reparse_buf >= end_of_smb) { in CIFSSMBQuerySymLink()2818 if (posix_buf->PathBuffer + sub_len > end_of_smb) { in CIFSSMBQuerySymLink()2836 if (sub_start + sub_len > end_of_smb) { in CIFSSMBQuerySymLink()3339 char *end_of_smb; in validate_ntransact() local3353 end_of_smb = 2 /* sizeof byte count */ + bcc + in validate_ntransact()3365 if (*ppparm > end_of_smb) { in validate_ntransact()3368 } else if (parm_count + *ppparm > end_of_smb) { in validate_ntransact()3371 } else if (*ppdata > end_of_smb) { in validate_ntransact()[all …]
3444 char *end_of_smb = smb_len + (char *)iov->iov_base; in smb2_validate_iov() local3462 if ((begin_of_buf > end_of_smb) || (end_of_buf > end_of_smb)) { in smb2_validate_iov()4947 char *end_of_smb; in smb2_parse_query_directory() local4988 end_of_smb = rsp_iov->iov_len + (char *)rsp; in smb2_parse_query_directory()4993 end_of_smb, in smb2_parse_query_directory()