/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_aops.c | 73 loff_t offset = page->index << PAGE_CACHE_SHIFT; in xfs_page_trace() 177 full_offset <<= PAGE_CACHE_SHIFT; /* offset from file start */ in xfs_offset_to_map() 204 delta <<= PAGE_CACHE_SHIFT; in xfs_map_at_offset() 332 tlast = i_size_read(inode) >> PAGE_CACHE_SHIFT; in xfs_probe_unmapped_cluster() 408 offset <<= PAGE_CACHE_SHIFT; in xfs_map_unwritten() 460 tlast = i_size_read(inode) >> PAGE_CACHE_SHIFT; in xfs_map_unwritten() 461 tloff = (iomapp->iomap_offset + iomapp->iomap_bsize) >> PAGE_CACHE_SHIFT; in xfs_map_unwritten() 565 end_index = i_size_read(inode) >> PAGE_CACHE_SHIFT; in xfs_convert_page() 686 end_index = offset >> PAGE_CACHE_SHIFT; in xfs_page_state_convert() 687 last_index = (offset - 1) >> PAGE_CACHE_SHIFT; in xfs_page_state_convert() [all …]
|
/linux-2.4.37.9/fs/freevxfs/ |
D | vxfs_lookup.c | 68 return (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in dir_pages() 268 page = pos >> PAGE_CACHE_SHIFT; in vxfs_readdir() 305 ((page << PAGE_CACHE_SHIFT) | offset) + 2, in vxfs_readdir() 319 fp->f_pos = ((page << PAGE_CACHE_SHIFT) | offset) + 2; in vxfs_readdir()
|
D | vxfs_immed.c | 126 u_int64_t offset = pp->index << PAGE_CACHE_SHIFT; in vxfs_immed_readpage()
|
/linux-2.4.37.9/net/sunrpc/ |
D | xdr.c | 204 ppage += base >> PAGE_CACHE_SHIFT; in xdr_kmap() 260 ppage += base >> PAGE_CACHE_SHIFT; in xdr_kunmap() 309 ppage += base >> PAGE_CACHE_SHIFT; in xdr_partial_copy_from_skb() 368 pgto = pages + (pgto_base >> PAGE_CACHE_SHIFT); in _shift_data_right_pages() 369 pgfrom = pages + (pgfrom_base >> PAGE_CACHE_SHIFT); in _shift_data_right_pages() 419 pgto = pages + (pgbase >> PAGE_CACHE_SHIFT); in _copy_to_pages() 458 pgfrom = pages + (pgbase >> PAGE_CACHE_SHIFT); in _copy_from_pages()
|
/linux-2.4.37.9/fs/ext2/ |
D | dir.c | 47 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT; in dir_pages() 78 if ((dir->i_size >> PAGE_CACHE_SHIFT) == page->index) { in ext2_check_page() 136 dir->i_ino, error, (page->index<<PAGE_CACHE_SHIFT)+offs, in ext2_check_page() 146 dir->i_ino, (page->index<<PAGE_CACHE_SHIFT)+offs, in ext2_check_page() 248 unsigned long n = pos >> PAGE_CACHE_SHIFT; in ext2_readdir() 291 (n<<PAGE_CACHE_SHIFT) | offset, in ext2_readdir() 355 if (unlikely(n > (dir->i_blocks >> (PAGE_CACHE_SHIFT - 9)))) { in ext2_find_entry()
|
/linux-2.4.37.9/mm/ |
D | shmem.c | 45 #define SHMEM_MAX_BYTES ((unsigned long long)SHMEM_MAX_INDEX << PAGE_CACHE_SHIFT) 192 ((loff_t) index << PAGE_CACHE_SHIFT) >= inode->i_size) in shmem_swp_alloc() 221 ((loff_t) index << PAGE_CACHE_SHIFT) >= inode->i_size) { in shmem_swp_alloc() 363 index = (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in shmem_truncate() 411 attr->ia_size>>PAGE_CACHE_SHIFT, in shmem_notify_change() 818 idx >>= PAGE_CACHE_SHIFT - PAGE_SHIFT; in shmem_nopage() 962 loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to; in shmem_commit_write() 1003 index = pos >> PAGE_CACHE_SHIFT; in shmem_file_write() 1059 index = pos >> PAGE_CACHE_SHIFT; in do_shmem_file_read() 1066 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in do_shmem_file_read() [all …]
|
D | filemap.c | 333 unsigned long start = (lstart + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in truncate_inode_pages() 1288 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in generic_file_readahead() 1419 index = *ppos >> PAGE_CACHE_SHIFT; in do_generic_file_read() 1450 needed = ((offset + desc->count) >> PAGE_CACHE_SHIFT) + 1; in do_generic_file_read() 1465 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in do_generic_file_read() 1521 index += offset >> PAGE_CACHE_SHIFT; in do_generic_file_read() 1612 *ppos = ((loff_t) index << PAGE_CACHE_SHIFT) + offset; in do_generic_file_read() 1961 max = (mapping->host->i_size + ~PAGE_CACHE_MASK) >> PAGE_CACHE_SHIFT; in do_readahead() 1990 unsigned long start = offset >> PAGE_CACHE_SHIFT; in sys_readahead() 1991 unsigned long len = (count + ((long)offset & ~PAGE_CACHE_MASK)) >> PAGE_CACHE_SHIFT; in sys_readahead() [all …]
|
/linux-2.4.37.9/fs/smbfs/ |
D | file.c | 58 loff_t offset = (loff_t)page->index << PAGE_CACHE_SHIFT; in smb_readpage_sync() 130 offset = ((loff_t)page->index << PAGE_CACHE_SHIFT) + pageoffset; in smb_writepage_sync() 188 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in smb_writepage() 214 count, (page->index << PAGE_CACHE_SHIFT)+offset); in smb_updatepage()
|
/linux-2.4.37.9/fs/hfsplus/ |
D | btree.c | 67 tree->pages_per_bnode = (tree->node_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in hfsplus_read_treeinfo() 189 pagep = node->page + (off >> PAGE_CACHE_SHIFT); in hfsplus_btree_alloc_node() 230 pagep = node->page + (off >> PAGE_CACHE_SHIFT); in hfsplus_btree_alloc_node() 299 page = node->page[off >> PAGE_CACHE_SHIFT]; in hfsplus_btree_free_node()
|
D | bnode.c | 50 pagep = node->page + (off >> PAGE_CACHE_SHIFT); in hfsplus_bnode_readbytes() 95 pagep = node->page + (off >> PAGE_CACHE_SHIFT); in hfsplus_bnode_writebytes() 132 src_page = src_node->page + (src >> PAGE_CACHE_SHIFT); in hfsplus_bnode_copybytes() 134 dst_page = dst_node->page + (dst >> PAGE_CACHE_SHIFT); in hfsplus_bnode_copybytes() 192 src_page = node->page + (src >> PAGE_CACHE_SHIFT); in hfsplus_bnode_movebytes() 195 dst_page = node->page + (dst >> PAGE_CACHE_SHIFT); in hfsplus_bnode_movebytes() 239 src_page = node->page + (src >> PAGE_CACHE_SHIFT); in hfsplus_bnode_movebytes() 241 dst_page = node->page + (dst >> PAGE_CACHE_SHIFT); in hfsplus_bnode_movebytes() 818 block = off >> PAGE_CACHE_SHIFT; in __hfsplus_create_bnode()
|
D | inode.c | 81 nidx = page->index >> (tree->node_size_shift - PAGE_CACHE_SHIFT); in hfsplus_releasepage() 100 nidx = page->index >> (PAGE_CACHE_SHIFT - tree->node_size_shift); in hfsplus_releasepage() 101 i = 1 << (PAGE_CACHE_SHIFT - tree->node_size_shift); in hfsplus_releasepage()
|
/linux-2.4.37.9/fs/sysv/ |
D | dir.c | 36 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT; in dir_pages() 80 unsigned long n = pos >> PAGE_CACHE_SHIFT; in sysv_readdir() 107 (n<<PAGE_CACHE_SHIFT) | offset, in sysv_readdir() 118 filp->f_pos = (n << PAGE_CACHE_SHIFT) | offset; in sysv_readdir()
|
/linux-2.4.37.9/fs/minix/ |
D | dir.c | 31 return (inode->i_size+PAGE_CACHE_SIZE-1)>>PAGE_CACHE_SHIFT; in dir_pages() 78 unsigned long n = pos >> PAGE_CACHE_SHIFT; in minix_readdir() 104 (n<<PAGE_CACHE_SHIFT) | offset, in minix_readdir() 116 filp->f_pos = (n << PAGE_CACHE_SHIFT) | offset; in minix_readdir()
|
/linux-2.4.37.9/fs/cramfs/ |
D | inode.c | 124 blocknr = offset >> PAGE_CACHE_SHIFT; in cramfs_read() 135 blk_offset = (blocknr - buffer_blocknr[i]) << PAGE_CACHE_SHIFT; in cramfs_read() 142 devsize = mapping->host->i_size >> PAGE_CACHE_SHIFT; in cramfs_read() 391 maxblock = (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in cramfs_readpage()
|
/linux-2.4.37.9/fs/umsdos/ |
D | emd.c | 138 page = read_cache_page(mapping, *pos>>PAGE_CACHE_SHIFT, in umsdos_emd_dir_readentry() 160 page2 = read_cache_page(mapping, 1+(*pos>>PAGE_CACHE_SHIFT), in umsdos_emd_dir_readentry() 250 page = grab_cache_page(mapping, info->f_pos>>PAGE_CACHE_SHIFT); in umsdos_writeentry() 260 (info->f_pos>>PAGE_CACHE_SHIFT)+1); in umsdos_writeentry() 389 if (++index == (emd_dir->i_size>>PAGE_CACHE_SHIFT)) in umsdos_find()
|
/linux-2.4.37.9/include/linux/ |
D | nfs_flushd.h | 26 #define REQUEST_NR(off) ((off) >> PAGE_CACHE_SHIFT)
|
D | nfs_fs.h | 131 return ((loff_t)page->index) << PAGE_CACHE_SHIFT; in page_offset() 320 loff_t maxsz = (((loff_t) ULONG_MAX) << PAGE_CACHE_SHIFT) + PAGE_CACHE_SIZE - 1; in nfs_size_to_loff_t()
|
D | pagemap.h | 26 #define PAGE_CACHE_SHIFT PAGE_SHIFT macro
|
/linux-2.4.37.9/fs/jffs2/ |
D | file.c | 226 __u32 offset = pg->index << PAGE_CACHE_SHIFT; in jffs2_do_readpage_nolock() 336 __u32 pageofs = pg->index << PAGE_CACHE_SHIFT; in jffs2_prepare_write() 420 …__u32 newsize = max_t(__u32, filp->f_dentry->d_inode->i_size, (pg->index << PAGE_CACHE_SHIFT) + en… in jffs2_commit_write() 421 __u32 file_ofs = (pg->index << PAGE_CACHE_SHIFT); in jffs2_commit_write() 427 …age at 0x%lx, range %d-%d, flags %lx\n", inode->i_ino, pg->index << PAGE_CACHE_SHIFT, start, end, … in jffs2_commit_write()
|
/linux-2.4.37.9/fs/isofs/ |
D | compress.c | 78 unsigned int zisofs_block_page_shift = zisofs_block_shift-PAGE_CACHE_SHIFT; in zisofs_readpage() 93 maxpage = (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in zisofs_readpage()
|
/linux-2.4.37.9/fs/ramfs/ |
D | inode.c | 94 loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to; in ramfs_commit_write() 311 sb->s_blocksize_bits = PAGE_CACHE_SHIFT; in ramfs_read_super()
|
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/ |
D | ramfs.c | 75 loff_t pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to; in hwgfs_commit_write() 287 sb->s_blocksize_bits = PAGE_CACHE_SHIFT; in hwgfs_read_super()
|
/linux-2.4.37.9/fs/jfs/ |
D | jfs_metapage.c | 328 l2BlocksPerPage = PAGE_CACHE_SHIFT - l2bsize; in __get_metapage() 438 int l2BlocksPerPage = PAGE_CACHE_SHIFT - l2bsize; in __write_metapage() 567 int l2BlocksPerPage = PAGE_CACHE_SHIFT - ip->i_blkbits; in __invalidate_metapages()
|
/linux-2.4.37.9/fs/affs/ |
D | file.c | 525 tmp = (page->index << PAGE_CACHE_SHIFT) + from; in affs_do_readpage_ofs() 624 if (((page->index + 1) << PAGE_CACHE_SHIFT) > inode->i_size) { in affs_readpage_ofs() 644 offset = page->index << PAGE_CACHE_SHIFT; in affs_prepare_write_ofs() 689 tmp = (page->index << PAGE_CACHE_SHIFT) + from; in affs_commit_write_ofs() 777 tmp = (page->index << PAGE_CACHE_SHIFT) + from; in affs_commit_write_ofs() 841 page = grab_cache_page(mapping, size >> PAGE_CACHE_SHIFT); in affs_truncate()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | ioctl.c | 129 index = inode->i_size >> PAGE_CACHE_SHIFT ; in reiserfs_unpack()
|