Searched refs:zero_offset (Results 1 – 2 of 2) sorted by relevance
505 size_t zero_offset = offset_in_page(isize); in add_ra_bio_pages() local507 if (zero_offset) { in add_ra_bio_pages()509 zeros = PAGE_SIZE - zero_offset; in add_ra_bio_pages()511 memset(userpage + zero_offset, 0, zeros); in add_ra_bio_pages()
3092 size_t zero_offset = offset_in_page(last_byte); in __do_readpage() local3094 if (zero_offset) { in __do_readpage()3095 iosize = PAGE_SIZE - zero_offset; in __do_readpage()3097 memset(userpage + zero_offset, 0, iosize); in __do_readpage()