Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dreaddir.c489 static char *nxt_dir_entry(char *old_entry, char *end_of_smb, int level) in nxt_dir_entry() argument
511 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() local
807 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 …]
Dcifssmb.c2753 char *end_of_smb; in CIFSSMBQuerySymLink() local
2799 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() local
3353 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 …]
Dsmb2pdu.c3444 char *end_of_smb = smb_len + (char *)iov->iov_base; in smb2_validate_iov() local
3462 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() local
4988 end_of_smb = rsp_iov->iov_len + (char *)rsp; in smb2_parse_query_directory()
4993 end_of_smb, in smb2_parse_query_directory()