Searched refs:bytes_end (Results 1 – 2 of 2) sorted by relevance
196 size_t bytes_end = cd->end_addr - cd->cur_ptr; in dpaa2_console_read() local214 if (bytes > bytes_end) { in dpaa2_console_read()215 memcpy_fromio(kbuf, cd->cur_ptr, bytes_end); in dpaa2_console_read()216 if (copy_to_user(buf, kbuf, bytes_end)) { in dpaa2_console_read()220 buf += bytes_end; in dpaa2_console_read()222 bytes -= bytes_end; in dpaa2_console_read()223 written += bytes_end; in dpaa2_console_read()
3645 u32 struct_bits_off, nr_bits, bytes_end, struct_size; in btf_enum_check_kflag_member() local3665 bytes_end = BITS_ROUNDUP_BYTES(struct_bits_off + nr_bits); in btf_enum_check_kflag_member()3666 if (struct_size < bytes_end) { in btf_enum_check_kflag_member()