Lines Matching defs:count
37 uint64_t count = *req_count;
48 if (pos_in + count < pos_in || pos_out + count < pos_out)
56 (pos_in >= size_in || pos_in + count > size_in ||
57 pos_out >= size_out || pos_out + count > size_out))
63 count = min(count, size_in - (uint64_t)pos_in);
65 ret = generic_write_check_limits(file_out, pos_out, &count);
73 * Otherwise, make sure the count is also block-aligned, having
76 if (pos_in + count == size_in &&
77 (!(remap_flags & REMAP_FILE_DEDUP) || pos_out + count == size_out)) {
80 if (!IS_ALIGNED(count, bs))
81 count = ALIGN_DOWN(count, bs);
82 bcount = count;
95 if (*req_count != count && !(remap_flags & REMAP_FILE_CAN_SHORTEN))
98 *req_count = count;
502 u16 count = same->dest_count;
535 for (i = 0; i < count; i++) {
540 for (i = 0, info = same->info; i < count; i++, info++) {