Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/client/
Dreaddir.c445 static char *nxt_dir_entry(char *old_entry, char *end_of_smb, int level) in nxt_dir_entry() argument
467 if (new_entry >= end_of_smb) { in nxt_dir_entry()
469 new_entry, end_of_smb, old_entry); in nxt_dir_entry()
472 (new_entry + sizeof(FIND_FILE_STANDARD_INFO) + 1 > end_of_smb)) in nxt_dir_entry()
474 (new_entry + sizeof(FILE_DIRECTORY_INFO) + 1 > end_of_smb))) { in nxt_dir_entry()
476 new_entry, end_of_smb); in nxt_dir_entry()
756 char *end_of_smb; in find_cifs_entry() local
763 end_of_smb = cfile->srch_inf.ntwrk_buf_start + in find_cifs_entry()
775 cur_ent = nxt_dir_entry(cur_ent, end_of_smb, in find_cifs_entry()
1023 char *end_of_smb; in cifs_readdir() local
[all …]
Dcifssmb.c3378 char *end_of_smb; in validate_ntransact() local
3392 end_of_smb = 2 /* sizeof byte count */ + bcc + in validate_ntransact()
3404 if (*ppparm > end_of_smb) { in validate_ntransact()
3407 } else if (parm_count + *ppparm > end_of_smb) { in validate_ntransact()
3410 } else if (*ppdata > end_of_smb) { in validate_ntransact()
3413 } else if (data_count + *ppdata > end_of_smb) { in validate_ntransact()
3416 end_of_smb, pSMBr); in validate_ntransact()
5661 char *end_of_smb; in CIFSSMBQAllEAs() local
5748 end_of_smb = (char *)pByteArea(&pSMBr->hdr) + get_bcc(&pSMBr->hdr); in CIFSSMBQAllEAs()
5749 if ((char *)ea_response_data + list_len > end_of_smb) { in CIFSSMBQAllEAs()
Dsmb2pdu.c3710 char *end_of_smb = smb_len + (char *)iov->iov_base; in smb2_validate_iov() local
3728 if ((begin_of_buf > end_of_smb) || (end_of_buf > end_of_smb)) { in smb2_validate_iov()
5424 char *end_of_smb; in smb2_parse_query_directory() local
5468 end_of_smb = rsp_iov->iov_len + (char *)rsp; in smb2_parse_query_directory()
5473 end_of_smb, in smb2_parse_query_directory()