Home
last modified time | relevance | path

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

/linux/lib/
H A Dbuildid.c23 loff_t folio_off; member
62 if (r->folio && file_off >= r->folio_off && in freader_get_folio()
63 file_off < r->folio_off + folio_size(r->folio)) in freader_get_folio()
89 r->folio_off = folio_pos(r->folio); in freader_get_folio()
129 if (file_off + sz > r->folio_off + folio_sz) { in freader_fetch()
130 int part_sz = r->folio_off + folio_sz - file_off; in freader_fetch()
133 memcpy(r->buf, r->addr + (file_off - r->folio_off), part_sz); in freader_fetch()
136 r->err = freader_get_folio(r, r->folio_off + folio_sz); in freader_fetch()
147 return r->addr + (file_off - r->folio_off); in freader_fetch()
/linux/fs/btrfs/
H A Dextent_io.c3991 unsigned long folio_off = get_eb_offset_in_folio(dst, cur_src); in memcpy_extent_buffer() local
3993 unit_size - folio_off); in memcpy_extent_buffer()
3994 void *src_addr = folio_address(dst->folios[folio_index]) + folio_off; in memcpy_extent_buffer()