Searched refs:cifsFile (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/cifs/
H A Dreaddir.c269 struct cifsFileInfo *cifsFile; initiate_cifs_search() local
280 cifsFile = kzalloc(sizeof(struct cifsFileInfo), GFP_KERNEL); initiate_cifs_search()
281 if (cifsFile == NULL) { initiate_cifs_search()
285 file->private_data = cifsFile; initiate_cifs_search()
286 cifsFile->tlink = cifs_get_tlink(tlink); initiate_cifs_search()
289 cifsFile = file->private_data; initiate_cifs_search()
290 tcon = tlink_tcon(cifsFile->tlink); initiate_cifs_search()
300 cifsFile->invalidHandle = true; initiate_cifs_search()
301 cifsFile->srch_inf.endOfSearch = false; initiate_cifs_search()
316 cifsFile->srch_inf.info_level = SMB_FIND_FILE_UNIX; initiate_cifs_search()
319 cifsFile->srch_inf.info_level = SMB_FIND_FILE_INFO_STANDARD; initiate_cifs_search()
321 cifsFile->srch_inf.info_level = SMB_FIND_FILE_ID_FULL_DIR_INFO; initiate_cifs_search()
323 cifsFile->srch_inf.info_level = SMB_FIND_FILE_DIRECTORY_INFO; initiate_cifs_search()
331 &cifsFile->fid, search_flags, initiate_cifs_search()
332 &cifsFile->srch_inf); initiate_cifs_search()
335 cifsFile->invalidHandle = false; initiate_cifs_search()
775 struct cifsFileInfo *cifsFile = NULL; cifs_readdir() local
803 cifsFile = file->private_data; cifs_readdir()
804 if (cifsFile->srch_inf.endOfSearch) { cifs_readdir()
805 if (cifsFile->srch_inf.emptyDir) { cifs_readdir()
811 cifsFile->invalidHandle = true; cifs_readdir()
812 tcon->ses->server->close(xid, tcon, &cifsFile->fid); cifs_readdir()
815 tcon = tlink_tcon(cifsFile->tlink); cifs_readdir()
828 num_to_fill, cifsFile->srch_inf.ntwrk_buf_start); cifs_readdir()
830 cifsFile->srch_inf.ntwrk_buf_start); cifs_readdir()
831 end_of_smb = cifsFile->srch_inf.ntwrk_buf_start + max_len; cifs_readdir()
861 cifsFile->srch_inf.index_of_last_entry) { cifs_readdir()
864 cifs_save_resume_key(current_entry, cifsFile); cifs_readdir()
869 cifsFile->srch_inf.info_level); cifs_readdir()

Completed in 32 milliseconds