Searched refs:wpos (Results 1 – 2 of 2) sorted by relevance
147 int wpos; member470 m->wpos = 0; in p9_write_work()475 m, m->wpos, m->wsize); in p9_write_work()477 err = p9_fd_write(m->client, m->wbuf + m->wpos, m->wsize - m->wpos); in p9_write_work()491 m->wpos += err; in p9_write_work()492 if (m->wpos == m->wsize) in p9_write_work()493 m->wpos = m->wsize = 0; in p9_write_work()
603 int i, wpos = 0; in __erst_record_id_cache_compact() local613 if (wpos != i) in __erst_record_id_cache_compact()614 memcpy(&entries[wpos], &entries[i], sizeof(entries[i])); in __erst_record_id_cache_compact()615 wpos++; in __erst_record_id_cache_compact()617 erst_record_id_cache.len = wpos; in __erst_record_id_cache_compact()