Lines Matching defs:length
97 u64 length; /* length of mapping, bytes */
122 * Check if the mapping's length is within the valid range for inline data.
128 return iomap->length <= PAGE_SIZE - offset_in_page(iomap->inline_data);
185 * pos for up to length, as long as we can do it as a single mapping.
186 * The actual length is returned in iomap->length.
188 int (*iomap_begin)(struct inode *inode, loff_t pos, loff_t length,
194 * Written indicates the length of the successful write operation which
198 int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length,
207 * @len: The remaining length of the file segment we're operating on.
229 * iomap_length - length of the current iomap iteration
232 * Returns the length that the operation applies to for the current iteration.
236 u64 end = iter->iomap.offset + iter->iomap.length;
239 end = min(end, iter->srcmap.offset + iter->srcmap.length);
262 struct iomap *iomap, loff_t pos, loff_t length, ssize_t written,
263 int (*punch)(struct inode *inode, loff_t pos, loff_t length));