Lines Matching refs:PAGE_CACHE_SIZE
454 if (blocksize == PAGE_CACHE_SIZE && (flags & PBF_READ)) in _pagebuf_lookup_pages()
899 if (offset && (len > PAGE_CACHE_SIZE)) in pagebuf_associate_memory()
920 ptr += PAGE_CACHE_SIZE; in pagebuf_associate_memory()
925 ptr += PAGE_CACHE_SIZE; in pagebuf_associate_memory()
1344 if (pb->pb_target->pbr_bsize < PAGE_CACHE_SIZE) in _pagebuf_iolocked()
1557 if (xfs_setsize_buftarg(btp, PAGE_CACHE_SIZE, get_hardsect_size(kdev))) in xfs_alloc_buftarg()
1590 if ((pbr->pbr_bsize < PAGE_CACHE_SIZE) && in _pagebuf_page_io()
1649 if ((pg_offset == 0) && (pg_length == PAGE_CACHE_SIZE) && in _pagebuf_page_io()
1742 if ((pbr->pbr_bsize == PAGE_CACHE_SIZE) && in _pagebuf_page_apply()
1743 (pb->pb_buffer_length < PAGE_CACHE_SIZE) && in _pagebuf_page_apply()
1747 pg_length = PAGE_CACHE_SIZE; in _pagebuf_page_apply()
1766 if (status && locking && !(pb->pb_target->pbr_bsize < PAGE_CACHE_SIZE)) in _pagebuf_page_apply()
1833 return (caddr_t) page_address(page) + (offset & (PAGE_CACHE_SIZE - 1)); in pagebuf_offset()
1857 PAGE_CACHE_SIZE-cpoff, pb->pb_count_desired-boff); in pagebuf_iomove()
1859 ASSERT(((csize + cpoff) <= PAGE_CACHE_SIZE)); in pagebuf_iomove()
1896 (pb->pb_target->pbr_bsize < PAGE_CACHE_SIZE)) { in _pagebuf_ioapply()
1905 if (cur_offset >= PAGE_CACHE_SIZE) { in _pagebuf_ioapply()
1906 cur_offset -= PAGE_CACHE_SIZE; in _pagebuf_ioapply()
1913 len = PAGE_CACHE_SIZE - page_offset; in _pagebuf_ioapply()