Home
last modified time | relevance | path

Searched refs:poff (Results 1 – 4 of 4) sorted by relevance

/fs/iomap/
Dbuffered-io.c75 unsigned poff = offset_in_page(*pos); in iomap_adjust_read_range() local
76 unsigned plen = min_t(loff_t, PAGE_SIZE - poff, length); in iomap_adjust_read_range()
77 unsigned first = poff >> block_bits; in iomap_adjust_read_range()
78 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range()
93 poff += block_size; in iomap_adjust_read_range()
120 *offp = poff; in iomap_adjust_read_range()
232 unsigned poff, plen; in iomap_readpage_actor() local
242 iomap_adjust_read_range(inode, iop, &pos, length, &poff, &plen); in iomap_readpage_actor()
247 zero_user(page, poff, plen); in iomap_readpage_actor()
248 iomap_set_range_uptodate(page, poff, plen); in iomap_readpage_actor()
[all …]
Dseek.c24 loff_t poff = page_offset(page); in page_seek_hole_data() local
26 if (WARN_ON_ONCE(*lastoff >= poff + PAGE_SIZE)) in page_seek_hole_data()
29 if (*lastoff < poff) { in page_seek_hole_data()
36 *lastoff = poff; in page_seek_hole_data()
56 *lastoff = poff + off + bsize; in page_seek_hole_data()
/fs/xfs/
Dxfs_aops.c770 unsigned poff = offset & (PAGE_SIZE - 1); in xfs_add_to_ioend() local
788 merged = __bio_try_merge_page(wpc->ioend->io_bio, page, len, poff, in xfs_add_to_ioend()
797 bio_add_page(wpc->ioend->io_bio, page, len, poff); in xfs_add_to_ioend()
/fs/ext4/
Dmballoc.c977 int block, pnum, poff; in ext4_mb_get_buddy_page_lock() local
992 poff = block % blocks_per_page; in ext4_mb_get_buddy_page_lock()
998 e4b->bd_bitmap = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_get_buddy_page_lock()
1106 int poff; in ext4_mb_load_buddy_gfp() local
1143 poff = block % blocks_per_page; in ext4_mb_load_buddy_gfp()
1169 (poff * sb->s_blocksize)); in ext4_mb_load_buddy_gfp()
1185 e4b->bd_bitmap = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_load_buddy_gfp()
1189 poff = block % blocks_per_page; in ext4_mb_load_buddy_gfp()
1220 e4b->bd_buddy = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_load_buddy_gfp()