Home
last modified time | relevance | path

Searched refs:PAGE_CACHE_SHIFT (Results 1 – 3 of 3) sorted by relevance

/external/kernel-headers/original/linux/
Dpagemap.h45 #define PAGE_CACHE_SHIFT PAGE_SHIFT macro
121 return ((loff_t)page->index) << PAGE_CACHE_SHIFT; in page_offset()
129 return pgoff >> (PAGE_CACHE_SHIFT - PAGE_SHIFT); in linear_page_index()
Dbio.h51 #define BIO_MAX_SIZE (BIO_MAX_PAGES << PAGE_CACHE_SHIFT)
/external/yaffs2/yaffs2/
Dyaffs_fs.c486 (unsigned)(pg->index << PAGE_CACHE_SHIFT), in yaffs_readpage_nolock()
506 yaffs_ReadDataFromFile(obj, pg_buf, pg->index << PAGE_CACHE_SHIFT, in yaffs_readpage_nolock()
550 loff_t offset = (loff_t) page->index << PAGE_CACHE_SHIFT; in yaffs_writepage()
568 (unsigned)(page->index << PAGE_CACHE_SHIFT), in yaffs_writepage()
576 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in yaffs_writepage()
594 (unsigned)(page->index << PAGE_CACHE_SHIFT), nBytes)); in yaffs_writepage()
600 yaffs_WriteDataToFile(obj, buffer, page->index << PAGE_CACHE_SHIFT, in yaffs_writepage()
634 loff_t pos = (((loff_t) pg->index) << PAGE_CACHE_SHIFT) + offset; in yaffs_commit_write()
1478 sb->s_blocksize_bits = PAGE_CACHE_SHIFT;