Lines Matching refs:pos
202 long pos; in vcs_read() local
213 pos = *ppos; in vcs_read()
227 if (pos < 0) in vcs_read()
238 long p = pos; in vcs_read()
251 if (pos >= size) in vcs_read()
253 if (count > size - pos) in vcs_read()
254 count = size - pos; in vcs_read()
360 pos += orig_count; in vcs_read()
379 long pos; in vcs_write() local
391 pos = *ppos; in vcs_write()
406 if (pos < 0 || pos > size) in vcs_write()
408 if (count > size - pos) in vcs_write()
409 count = size - pos; in vcs_write()
450 if (pos >= size) in vcs_write()
452 if (this_round > size - pos) in vcs_write()
453 this_round = size - pos; in vcs_write()
462 p = pos; in vcs_write()
546 pos += orig_count; in vcs_write()