Lines Matching refs:zerofrom
1914 unsigned zerofrom; in cont_prepare_write() local
1929 zerofrom = *bytes & ~PAGE_CACHE_MASK; in cont_prepare_write()
1930 if (zerofrom & (blocksize-1)) { in cont_prepare_write()
1934 status = __block_prepare_write(inode, new_page, zerofrom, in cont_prepare_write()
1939 memset(kaddr+zerofrom, 0, PAGE_CACHE_SIZE-zerofrom); in cont_prepare_write()
1941 __block_commit_write(inode, new_page, zerofrom, PAGE_CACHE_SIZE); in cont_prepare_write()
1949 zerofrom = offset; in cont_prepare_write()
1952 zerofrom = *bytes & ~PAGE_CACHE_MASK; in cont_prepare_write()
1955 if (to > zerofrom && (zerofrom & (blocksize-1))) { in cont_prepare_write()
1961 if (offset <= zerofrom) in cont_prepare_write()
1962 zerofrom = offset; in cont_prepare_write()
1964 status = __block_prepare_write(inode, page, zerofrom, to, get_block); in cont_prepare_write()
1968 if (zerofrom < offset) { in cont_prepare_write()
1969 memset(kaddr+zerofrom, 0, offset-zerofrom); in cont_prepare_write()
1971 __block_commit_write(inode, page, zerofrom, offset); in cont_prepare_write()