Searched refs:bytes_end (Results 1 – 2 of 2) sorted by relevance
197 size_t bytes_end = cd->end_addr - cd->cur_ptr; in dpaa2_console_read() local215 if (bytes > bytes_end) { in dpaa2_console_read()216 memcpy_fromio(kbuf, cd->cur_ptr, bytes_end); in dpaa2_console_read()217 if (copy_to_user(buf, kbuf, bytes_end)) { in dpaa2_console_read()221 buf += bytes_end; in dpaa2_console_read()223 bytes -= bytes_end; in dpaa2_console_read()224 written += bytes_end; in dpaa2_console_read()
4398 u32 struct_bits_off, nr_bits, bytes_end, struct_size; in btf_enum_check_kflag_member() local4418 bytes_end = BITS_ROUNDUP_BYTES(struct_bits_off + nr_bits); in btf_enum_check_kflag_member()4419 if (struct_size < bytes_end) { in btf_enum_check_kflag_member()