Lines Matching refs:wdata2
2005 struct cifs_writedata *wdata2; in cifs_writev_requeue() local
2023 wdata2 = cifs_writedata_alloc(nr_pages, cifs_writev_complete); in cifs_writev_requeue()
2024 if (!wdata2) { in cifs_writev_requeue()
2030 wdata2->pages[j] = wdata->pages[i + j]; in cifs_writev_requeue()
2031 lock_page(wdata2->pages[j]); in cifs_writev_requeue()
2032 clear_page_dirty_for_io(wdata2->pages[j]); in cifs_writev_requeue()
2035 wdata2->sync_mode = wdata->sync_mode; in cifs_writev_requeue()
2036 wdata2->nr_pages = nr_pages; in cifs_writev_requeue()
2037 wdata2->offset = page_offset(wdata2->pages[0]); in cifs_writev_requeue()
2038 wdata2->pagesz = PAGE_SIZE; in cifs_writev_requeue()
2039 wdata2->tailsz = tailsz; in cifs_writev_requeue()
2040 wdata2->bytes = cur_len; in cifs_writev_requeue()
2043 &wdata2->cfile); in cifs_writev_requeue()
2044 if (!wdata2->cfile) { in cifs_writev_requeue()
2050 wdata2->pid = wdata2->cfile->pid; in cifs_writev_requeue()
2051 rc = server->ops->async_writev(wdata2, in cifs_writev_requeue()
2056 unlock_page(wdata2->pages[j]); in cifs_writev_requeue()
2058 SetPageError(wdata2->pages[j]); in cifs_writev_requeue()
2059 end_page_writeback(wdata2->pages[j]); in cifs_writev_requeue()
2060 put_page(wdata2->pages[j]); in cifs_writev_requeue()
2064 kref_put(&wdata2->refcount, cifs_writedata_release); in cifs_writev_requeue()