Lines Matching refs:off
27 loff_t off; in orangefs_writepage_locked() local
35 off = wr->pos; in orangefs_writepage_locked()
36 if (off + wr->len > len) in orangefs_writepage_locked()
37 wlen = len - off; in orangefs_writepage_locked()
42 off = page_offset(page); in orangefs_writepage_locked()
43 if (off + PAGE_SIZE > len) in orangefs_writepage_locked()
44 wlen = len - off; in orangefs_writepage_locked()
49 WARN_ON(off == len || off + wlen > len); in orangefs_writepage_locked()
53 bv.bv_offset = off % PAGE_SIZE; in orangefs_writepage_locked()
57 ret = wait_for_direct_io(ORANGEFS_IO_WRITE, inode, &off, &iter, wlen, in orangefs_writepage_locked()
79 loff_t off; member
97 loff_t off; in orangefs_writepages_work() local
106 ow->off + ow->len) - in orangefs_writepages_work()
107 max(ow->off, page_offset(ow->pages[i])); in orangefs_writepages_work()
109 ow->bv[i].bv_offset = ow->off - in orangefs_writepages_work()
116 WARN_ON(ow->off >= len); in orangefs_writepages_work()
117 if (ow->off + ow->len > len) in orangefs_writepages_work()
118 ow->len = len - ow->off; in orangefs_writepages_work()
120 off = ow->off; in orangefs_writepages_work()
123 ret = wait_for_direct_io(ORANGEFS_IO_WRITE, inode, &off, &iter, ow->len, in orangefs_writepages_work()
174 ow->off = wr->pos; in orangefs_writepages_callback()
188 if (ow->off + ow->len == wr->pos) { in orangefs_writepages_callback()
253 loff_t off; /* offset into this page */ in orangefs_readpage() local
274 off = page_offset(page); in orangefs_readpage()
275 index = off >> PAGE_SHIFT; in orangefs_readpage()
281 ret = wait_for_direct_io(ORANGEFS_IO_READ, inode, &off, &iter, in orangefs_readpage()