Home
last modified time | relevance | path

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

/fs/jffs2/
Dfile.c145 uint32_t pageofs = index << PAGE_CACHE_SHIFT; in jffs2_write_begin() local
150 if (pageofs > inode->i_size) { in jffs2_write_begin()
172 (unsigned int)inode->i_size, pageofs); in jffs2_write_begin()
186 ri.isize = cpu_to_je32(max((uint32_t)inode->i_size, pageofs)); in jffs2_write_begin()
189 ri.dsize = cpu_to_je32(pageofs - inode->i_size); in jffs2_write_begin()
217 inode->i_size = pageofs; in jffs2_write_begin()
/fs/logfs/
Dreadwrite.c1647 loff_t pageofs = page->index << inode->i_sb->s_blocksize_bits; in truncate_data_block() local
1653 if (size <= pageofs || size - pageofs >= PAGE_SIZE) in truncate_data_block()
1663 zero_user_segment(page, size - pageofs, PAGE_CACHE_SIZE); in truncate_data_block()