Lines Matching full:length
74 page_cache_seek_hole_data(struct inode *inode, loff_t offset, loff_t length, in page_cache_seek_hole_data() argument
78 pgoff_t end = DIV_ROUND_UP(offset + length, PAGE_SIZE); in page_cache_seek_hole_data()
82 if (length <= 0) in page_cache_seek_hole_data()
110 if (lastoff < offset + length) in page_cache_seek_hole_data()
121 iomap_seek_hole_actor(struct inode *inode, loff_t offset, loff_t length, in iomap_seek_hole_actor() argument
126 offset = page_cache_seek_hole_data(inode, offset, length, in iomap_seek_hole_actor()
129 return length; in iomap_seek_hole_actor()
135 return length; in iomap_seek_hole_actor()
143 loff_t length = size - offset; in iomap_seek_hole() local
150 while (length > 0) { in iomap_seek_hole()
151 ret = iomap_apply(inode, offset, length, IOMAP_REPORT, ops, in iomap_seek_hole()
159 length -= ret; in iomap_seek_hole()
167 iomap_seek_data_actor(struct inode *inode, loff_t offset, loff_t length, in iomap_seek_data_actor() argument
172 return length; in iomap_seek_data_actor()
174 offset = page_cache_seek_hole_data(inode, offset, length, in iomap_seek_data_actor()
177 return length; in iomap_seek_data_actor()
189 loff_t length = size - offset; in iomap_seek_data() local
196 while (length > 0) { in iomap_seek_data()
197 ret = iomap_apply(inode, offset, length, IOMAP_REPORT, ops, in iomap_seek_data()
205 length -= ret; in iomap_seek_data()
208 if (length <= 0) in iomap_seek_data()