Lines Matching defs:pos_in_buf
689 int pos_in_buf = 0;
784 pos_in_buf = index_to_find - first_entry_in_buffer;
785 cifs_dbg(FYI, "found entry - pos_in_buf %d\n", pos_in_buf);
787 for (i = 0; (i < (pos_in_buf)) && (cur_ent != NULL); i++) {
792 if ((cur_ent == NULL) && (i < pos_in_buf)) {
795 pos_in_buf, index_to_find, rc);
804 if (pos_in_buf >= cfile->srch_inf.entries_in_buffer) {
805 cifs_dbg(FYI, "can not return entries pos_in_buf beyond last\n");
808 *num_to_ret = cfile->srch_inf.entries_in_buffer - pos_in_buf;