Lines Matching defs:max_bytes
272 * bio without exceeding @max_bytes
274 * @max_bytes: [in] upper bound for *@bytes
285 unsigned max_segs, unsigned max_bytes)
287 unsigned max_len = max_bytes - *bytes;
325 unsigned max_bytes, unsigned len_align_mask,
328 unsigned bytes = min(bio->bi_iter.bi_size, max_bytes);
363 * @max_bytes: [in] maximum number of bytes per bio
367 * maximum size of @max_bytes. Returns a negative error number if @bio can't be
372 unsigned *segs, unsigned max_bytes, unsigned len_align_mask)
388 ret = bio_split_io_at_dmabuf(bio, lim, &nsegs, max_bytes,
414 bytes + bv.bv_len <= max_bytes &&
420 lim->max_segments, max_bytes))