Files
u-boot/fs
Simon Glass 6af248ee40 ext4l: Adjust folio offset and mapping operations
The existing folios macros assume page-aligned memory, but U-Boot uses
malloc'd buffers for simplicity.

Update the macros accordinging:

- offset_in_folio(): Calculate the offset from the folio's data pointer
- bh_offset(): Calculate the actual offset within the folio
- folio_set_bh(): Actually set b_folio and b_data
- kmap_local_folio(): Return a pointer to folio data + offset

Implement __filemap_get_folio(), folio_put() and folio_get() for
folio-lifecycle management.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-30 15:50:18 -07:00
..
2025-11-11 04:09:41 -07:00
2025-06-28 07:53:25 -06:00
2025-06-28 07:53:25 -06:00
2025-06-28 07:53:25 -06:00
2025-06-28 12:30:56 -06:00
2025-12-27 13:35:43 -07:00
2025-06-28 07:53:25 -06:00