Lines Matching defs:length
24 iomap_apply(struct inode *inode, loff_t pos, loff_t length, unsigned flags,
32 trace_iomap_apply(inode, pos, length, flags, ops, actor, _RET_IP_);
35 * Need to map a range from start position for length bytes. This can
46 ret = ops->iomap_begin(inode, pos, length, flags, &iomap, &srcmap);
53 if (WARN_ON(iomap.length == 0)) {
63 * Cut down the length to the one actually provided by the filesystem,
66 end = iomap.offset + iomap.length;
68 end = min(end, srcmap.offset + srcmap.length);
69 if (pos + length > end)
70 length = end - pos;
79 * length needs to be limited to the earlier of the ends of the iomaps.
84 written = actor(inode, pos, length, data, &iomap,
93 ret = ops->iomap_end(inode, pos, length,