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

/linux-4.1.27/fs/cifs/
H A Dreaddir.c566 int pos_in_buf = 0; find_cifs_entry() local
654 pos_in_buf = index_to_find - first_entry_in_buffer; find_cifs_entry()
655 cifs_dbg(FYI, "found entry - pos_in_buf %d\n", pos_in_buf); find_cifs_entry()
657 for (i = 0; (i < (pos_in_buf)) && (cur_ent != NULL); i++) { find_cifs_entry()
662 if ((cur_ent == NULL) && (i < pos_in_buf)) { find_cifs_entry()
665 pos_in_buf, index_to_find, rc); find_cifs_entry()
674 if (pos_in_buf >= cfile->srch_inf.entries_in_buffer) { find_cifs_entry()
675 cifs_dbg(FYI, "can not return entries pos_in_buf beyond last\n"); find_cifs_entry()
678 *num_to_ret = cfile->srch_inf.entries_in_buffer - pos_in_buf; find_cifs_entry()

Completed in 38 milliseconds