srch_inf 392 fs/cifs/cifsglob.h __u16, struct cifs_search_info *srch_inf); srch_inf 1267 fs/cifs/cifsglob.h struct cifs_search_info srch_inf; srch_inf 920 fs/cifs/file.c buf = cfile->srch_inf.ntwrk_buf_start; srch_inf 923 fs/cifs/file.c cfile->srch_inf.ntwrk_buf_start = NULL; srch_inf 924 fs/cifs/file.c if (cfile->srch_inf.smallBuf) srch_inf 56 fs/cifs/readdir.c if (cf->srch_inf.endOfSearch) srch_inf 58 fs/cifs/readdir.c if (cf->srch_inf.emptyDir) srch_inf 305 fs/cifs/readdir.c cifsFile->srch_inf.endOfSearch = false; srch_inf 320 fs/cifs/readdir.c cifsFile->srch_inf.info_level = SMB_FIND_FILE_UNIX; srch_inf 323 fs/cifs/readdir.c cifsFile->srch_inf.info_level = SMB_FIND_FILE_INFO_STANDARD; srch_inf 325 fs/cifs/readdir.c cifsFile->srch_inf.info_level = SMB_FIND_FILE_ID_FULL_DIR_INFO; srch_inf 327 fs/cifs/readdir.c cifsFile->srch_inf.info_level = SMB_FIND_FILE_DIRECTORY_INFO; srch_inf 336 fs/cifs/readdir.c &cifsFile->srch_inf); srch_inf 554 fs/cifs/readdir.c rc = cifs_fill_dirent(&de, current_entry, file_info->srch_inf.info_level, srch_inf 555 fs/cifs/readdir.c file_info->srch_inf.unicode); srch_inf 557 fs/cifs/readdir.c file_info->srch_inf.presume_name = de.name; srch_inf 558 fs/cifs/readdir.c file_info->srch_inf.resume_name_len = de.namelen; srch_inf 559 fs/cifs/readdir.c file_info->srch_inf.resume_key = de.resume_key; srch_inf 592 fs/cifs/readdir.c first_entry_in_buffer = cfile->srch_inf.index_of_last_entry - srch_inf 593 fs/cifs/readdir.c cfile->srch_inf.entries_in_buffer; srch_inf 604 fs/cifs/readdir.c if (((index_to_find < cfile->srch_inf.index_of_last_entry) && srch_inf 616 fs/cifs/readdir.c if (cfile->srch_inf.ntwrk_buf_start) { srch_inf 618 fs/cifs/readdir.c if (cfile->srch_inf.smallBuf) srch_inf 619 fs/cifs/readdir.c cifs_small_buf_release(cfile->srch_inf. srch_inf 622 fs/cifs/readdir.c cifs_buf_release(cfile->srch_inf. srch_inf 624 fs/cifs/readdir.c cfile->srch_inf.ntwrk_buf_start = NULL; srch_inf 633 fs/cifs/readdir.c if (cfile->srch_inf.last_entry) srch_inf 634 fs/cifs/readdir.c cifs_save_resume_key(cfile->srch_inf.last_entry, cfile); srch_inf 641 fs/cifs/readdir.c while ((index_to_find >= cfile->srch_inf.index_of_last_entry) && srch_inf 642 fs/cifs/readdir.c (rc == 0) && !cfile->srch_inf.endOfSearch) { srch_inf 646 fs/cifs/readdir.c &cfile->srch_inf); srch_inf 648 fs/cifs/readdir.c if (cfile->srch_inf.last_entry) srch_inf 649 fs/cifs/readdir.c cifs_save_resume_key(cfile->srch_inf.last_entry, cfile); srch_inf 653 fs/cifs/readdir.c if (index_to_find < cfile->srch_inf.index_of_last_entry) { srch_inf 660 fs/cifs/readdir.c if (cfile->srch_inf.ntwrk_buf_start == NULL) { srch_inf 665 fs/cifs/readdir.c end_of_smb = cfile->srch_inf.ntwrk_buf_start + srch_inf 667 fs/cifs/readdir.c cfile->srch_inf.ntwrk_buf_start, srch_inf 670 fs/cifs/readdir.c cur_ent = cfile->srch_inf.srch_entries_start; srch_inf 671 fs/cifs/readdir.c first_entry_in_buffer = cfile->srch_inf.index_of_last_entry srch_inf 672 fs/cifs/readdir.c - cfile->srch_inf.entries_in_buffer; srch_inf 679 fs/cifs/readdir.c cfile->srch_inf.info_level); srch_inf 693 fs/cifs/readdir.c if (pos_in_buf >= cfile->srch_inf.entries_in_buffer) { srch_inf 697 fs/cifs/readdir.c *num_to_ret = cfile->srch_inf.entries_in_buffer - pos_in_buf; srch_inf 715 fs/cifs/readdir.c rc = cifs_fill_dirent(&de, find_entry, file_info->srch_inf.info_level, srch_inf 716 fs/cifs/readdir.c file_info->srch_inf.unicode); srch_inf 727 fs/cifs/readdir.c if (cifs_entry_is_dot(&de, file_info->srch_inf.unicode)) srch_inf 730 fs/cifs/readdir.c if (file_info->srch_inf.unicode) { srch_inf 747 fs/cifs/readdir.c switch (file_info->srch_inf.info_level) { srch_inf 823 fs/cifs/readdir.c if (cifsFile->srch_inf.endOfSearch) { srch_inf 824 fs/cifs/readdir.c if (cifsFile->srch_inf.emptyDir) { srch_inf 847 fs/cifs/readdir.c num_to_fill, cifsFile->srch_inf.ntwrk_buf_start); srch_inf 849 fs/cifs/readdir.c cifsFile->srch_inf.ntwrk_buf_start, srch_inf 851 fs/cifs/readdir.c end_of_smb = cifsFile->srch_inf.ntwrk_buf_start + max_len; srch_inf 881 fs/cifs/readdir.c cifsFile->srch_inf.index_of_last_entry) { srch_inf 889 fs/cifs/readdir.c cifsFile->srch_inf.info_level); srch_inf 840 fs/cifs/smb1ops.c struct cifs_search_info *srch_inf) srch_inf 845 fs/cifs/smb1ops.c &fid->netfid, search_flags, srch_inf, true); srch_inf 854 fs/cifs/smb1ops.c struct cifs_search_info *srch_inf) srch_inf 856 fs/cifs/smb1ops.c return CIFSFindNext(xid, tcon, fid->netfid, search_flags, srch_inf); srch_inf 1014 fs/cifs/smb1ops.c return !cfile->srch_inf.endOfSearch && !cfile->invalidHandle; srch_inf 2031 fs/cifs/smb2ops.c struct cifs_search_info *srch_inf) srch_inf 2059 fs/cifs/smb2ops.c srch_inf->entries_in_buffer = 0; srch_inf 2060 fs/cifs/smb2ops.c srch_inf->index_of_last_entry = 2; srch_inf 2063 fs/cifs/smb2ops.c fid->volatile_fid, 0, srch_inf); srch_inf 2074 fs/cifs/smb2ops.c struct cifs_search_info *srch_inf) srch_inf 2077 fs/cifs/smb2ops.c fid->volatile_fid, 0, srch_inf); srch_inf 4207 fs/cifs/smb2pdu.c struct cifs_search_info *srch_inf) srch_inf 4240 fs/cifs/smb2pdu.c switch (srch_inf->info_level) { srch_inf 4251 fs/cifs/smb2pdu.c srch_inf->info_level); srch_inf 4298 fs/cifs/smb2pdu.c srch_inf->endOfSearch = true; srch_inf 4317 fs/cifs/smb2pdu.c srch_inf->unicode = true; srch_inf 4319 fs/cifs/smb2pdu.c if (srch_inf->ntwrk_buf_start) { srch_inf 4320 fs/cifs/smb2pdu.c if (srch_inf->smallBuf) srch_inf 4321 fs/cifs/smb2pdu.c cifs_small_buf_release(srch_inf->ntwrk_buf_start); srch_inf 4323 fs/cifs/smb2pdu.c cifs_buf_release(srch_inf->ntwrk_buf_start); srch_inf 4325 fs/cifs/smb2pdu.c srch_inf->ntwrk_buf_start = (char *)rsp; srch_inf 4326 fs/cifs/smb2pdu.c srch_inf->srch_entries_start = srch_inf->last_entry = srch_inf 4329 fs/cifs/smb2pdu.c srch_inf->entries_in_buffer = srch_inf 4330 fs/cifs/smb2pdu.c num_entries(srch_inf->srch_entries_start, end_of_smb, srch_inf 4331 fs/cifs/smb2pdu.c &srch_inf->last_entry, info_buf_size); srch_inf 4332 fs/cifs/smb2pdu.c srch_inf->index_of_last_entry += srch_inf->entries_in_buffer; srch_inf 4334 fs/cifs/smb2pdu.c srch_inf->entries_in_buffer, srch_inf->index_of_last_entry, srch_inf 4335 fs/cifs/smb2pdu.c srch_inf->srch_entries_start, srch_inf->last_entry); srch_inf 4337 fs/cifs/smb2pdu.c srch_inf->smallBuf = false; srch_inf 4339 fs/cifs/smb2pdu.c srch_inf->smallBuf = true; srch_inf 4344 fs/cifs/smb2pdu.c tcon->ses->Suid, index, srch_inf->entries_in_buffer); srch_inf 195 fs/cifs/smb2proto.h struct cifs_search_info *srch_inf);