Home
last modified time | relevance | path

Searched refs:bytes_end (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/soc/fsl/
Ddpaa2-console.c196 size_t bytes_end = cd->end_addr - cd->cur_ptr; in dpaa2_console_read() local
214 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()
/linux-6.1.9/kernel/bpf/
Dbtf.c3645 u32 struct_bits_off, nr_bits, bytes_end, struct_size; in btf_enum_check_kflag_member() local
3665 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()