Lines Matching refs:psrch_inf
4465 struct cifs_search_info *psrch_inf, bool msearch) in CIFSFindFirst() argument
4546 pSMB->InformationLevel = cpu_to_le16(psrch_inf->info_level); in CIFSFindFirst()
4575 psrch_inf->unicode = true; in CIFSFindFirst()
4577 psrch_inf->unicode = false; in CIFSFindFirst()
4579 psrch_inf->ntwrk_buf_start = (char *)pSMBr; in CIFSFindFirst()
4580 psrch_inf->smallBuf = 0; in CIFSFindFirst()
4581 psrch_inf->srch_entries_start = in CIFSFindFirst()
4588 psrch_inf->endOfSearch = true; in CIFSFindFirst()
4590 psrch_inf->endOfSearch = false; in CIFSFindFirst()
4592 psrch_inf->entries_in_buffer = in CIFSFindFirst()
4594 psrch_inf->index_of_last_entry = 2 /* skip . and .. */ + in CIFSFindFirst()
4595 psrch_inf->entries_in_buffer; in CIFSFindFirst()
4599 psrch_inf->last_entry = NULL; in CIFSFindFirst()
4603 psrch_inf->last_entry = psrch_inf->srch_entries_start + in CIFSFindFirst()
4618 struct cifs_search_info *psrch_inf) in CIFSFindNext() argument
4631 if (psrch_inf->endOfSearch) in CIFSFindNext()
4659 pSMB->InformationLevel = cpu_to_le16(psrch_inf->info_level); in CIFSFindNext()
4660 pSMB->ResumeKey = psrch_inf->resume_key; in CIFSFindNext()
4663 name_len = psrch_inf->resume_name_len; in CIFSFindNext()
4666 memcpy(pSMB->ResumeFileName, psrch_inf->presume_name, name_len); in CIFSFindNext()
4686 psrch_inf->endOfSearch = true; in CIFSFindNext()
4699 psrch_inf->unicode = true; in CIFSFindNext()
4701 psrch_inf->unicode = false; in CIFSFindNext()
4707 if (psrch_inf->smallBuf) in CIFSFindNext()
4709 psrch_inf->ntwrk_buf_start); in CIFSFindNext()
4711 cifs_buf_release(psrch_inf->ntwrk_buf_start); in CIFSFindNext()
4712 psrch_inf->srch_entries_start = response_data; in CIFSFindNext()
4713 psrch_inf->ntwrk_buf_start = (char *)pSMB; in CIFSFindNext()
4714 psrch_inf->smallBuf = 0; in CIFSFindNext()
4716 psrch_inf->endOfSearch = true; in CIFSFindNext()
4718 psrch_inf->endOfSearch = false; in CIFSFindNext()
4719 psrch_inf->entries_in_buffer = in CIFSFindNext()
4721 psrch_inf->index_of_last_entry += in CIFSFindNext()
4722 psrch_inf->entries_in_buffer; in CIFSFindNext()
4726 psrch_inf->last_entry = NULL; in CIFSFindNext()
4729 psrch_inf->last_entry = in CIFSFindNext()
4730 psrch_inf->srch_entries_start + lnoff; in CIFSFindNext()