Home
last modified time | relevance | path

Searched refs:i_mapping (Results 1 – 25 of 90) sorted by relevance

1234

/linux-2.4.37.9/fs/coda/
Dfile.c92 if (coda_inode->i_mapping == &coda_inode->i_data) in coda_file_mmap()
93 coda_inode->i_mapping = host_inode->i_mapping; in coda_file_mmap()
97 else if (coda_inode->i_mapping != host_inode->i_mapping) in coda_file_mmap()
145 if (coda_inode->i_mapping == &coda_inode->i_data) in coda_open()
146 coda_inode->i_mapping = host_inode->i_mapping; in coda_open()
148 else if (coda_inode->i_mapping != host_inode->i_mapping) { in coda_open()
153 coda_inode->i_mapping = host_inode->i_mapping; in coda_open()
232 if (coda_inode->i_mapping == &host_inode->i_data) { in coda_release()
235 coda_inode->i_mapping = &coda_inode->i_data; in coda_release()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_fs_subr.c77 truncate_inode_pages(ip->i_mapping, first); in fs_tosspages()
96 filemap_fdatasync(ip->i_mapping); in fs_flushinval_pages()
98 filemap_fdatawait(ip->i_mapping); in fs_flushinval_pages()
100 truncate_inode_pages(ip->i_mapping, first); in fs_flushinval_pages()
120 filemap_fdatasync(ip->i_mapping); in fs_flush_pages()
122 filemap_fdatawait(ip->i_mapping); in fs_flush_pages()
/linux-2.4.37.9/fs/freevxfs/
Dvxfs_inode.c150 pp = vxfs_get_page(ilistp->i_mapping, ino * VXFS_ISIZE / PAGE_SIZE); in __vxfs_iget()
273 ip->i_mapping->a_ops = &vxfs_aops; in vxfs_get_fake_inode()
319 ip->i_mapping->a_ops = aops; in vxfs_read_inode()
323 ip->i_mapping->a_ops = aops; in vxfs_read_inode()
327 ip->i_mapping->a_ops = &vxfs_aops; in vxfs_read_inode()
Dvxfs_lookup.c129 pp = vxfs_get_page(ip->i_mapping, page); in vxfs_find_entry()
276 pp = vxfs_get_page(ip->i_mapping, page); in vxfs_readdir()
/linux-2.4.37.9/fs/nfs/
Dfile.c266 filemap_fdatasync(inode->i_mapping); in do_unlk()
270 filemap_fdatawait(inode->i_mapping); in do_unlk()
293 status = filemap_fdatasync(inode->i_mapping); in do_setlk()
299 status = filemap_fdatawait(inode->i_mapping); in do_setlk()
322 filemap_fdatasync(inode->i_mapping); in do_setlk()
326 filemap_fdatawait(inode->i_mapping); in do_setlk()
/linux-2.4.37.9/mm/
Dfilemap.c189 head = &inode->i_mapping->clean_pages; in invalidate_inode_pages()
511 …retval = do_buffer_fdatasync(&inode->i_mapping->dirty_pages, start_idx, end_idx, writeout_one_page… in generic_buffer_fdatasync()
512 …retval |= do_buffer_fdatasync(&inode->i_mapping->clean_pages, start_idx, end_idx, writeout_one_pag… in generic_buffer_fdatasync()
513 …retval |= do_buffer_fdatasync(&inode->i_mapping->locked_pages, start_idx, end_idx, writeout_one_pa… in generic_buffer_fdatasync()
516 …retval |= do_buffer_fdatasync(&inode->i_mapping->dirty_pages, start_idx, end_idx, waitfor_one_page… in generic_buffer_fdatasync()
517 …retval |= do_buffer_fdatasync(&inode->i_mapping->clean_pages, start_idx, end_idx, waitfor_one_page… in generic_buffer_fdatasync()
518 …retval |= do_buffer_fdatasync(&inode->i_mapping->locked_pages, start_idx, end_idx, waitfor_one_pag… in generic_buffer_fdatasync()
760 struct address_space *mapping = file->f_dentry->d_inode->i_mapping; in page_cache_read()
1410 struct address_space *mapping = filp->f_dentry->d_inode->i_mapping; in do_generic_file_read()
1627 struct address_space * mapping = filp->f_dentry->d_inode->i_mapping; in do_call_directIO()
[all …]
/linux-2.4.37.9/fs/
Dblock_dev.c61 truncate_inode_pages(bdev->bd_inode->i_mapping, 0); in kill_bdev()
194 ret = filemap_fdatasync(inode->i_mapping); in __block_fsync()
198 err = filemap_fdatawait(inode->i_mapping); in __block_fsync()
374 inode->i_mapping = &inode->i_data; in __bd_forget()
409 inode->i_mapping = bdev->bd_inode->i_mapping; in bd_acquire()
Dinode.c121 inode->i_mapping = mapping; in alloc_inode()
343 filemap_fdatasync(inode->i_mapping); in __sync_one()
349 filemap_fdatawait(inode->i_mapping); in __sync_one()
876 if (inode->i_mapping->nrpages > 5 * avg_pages) in prune_icache()
890 if (list_empty(&inode->i_mapping->dirty_pages) && in prune_icache()
1291 if (inode->i_mapping->a_ops->bmap) in bmap()
1292 res = inode->i_mapping->a_ops->bmap(inode->i_mapping, block); in bmap()
Dioctl.c23 struct address_space *mapping = inode->i_mapping; in file_ioctl()
/linux-2.4.37.9/fs/jfs/
Dinode.c89 inode->i_mapping->a_ops = &jfs_aops; in jfs_read_inode()
96 inode->i_mapping->a_ops = &jfs_aops; in jfs_read_inode()
396 block_truncate_page(ip->i_mapping, ip->i_size, jfs_get_block); in jfs_truncate()
Djfs_metapage.c283 mapping = inode->i_sb->s_bdev->bd_inode->i_mapping; in __get_metapage()
292 mapping = inode->i_mapping; in __get_metapage()
569 struct address_space *mapping = ip->i_sb->s_bdev->bd_inode->i_mapping; in __invalidate_metapages()
Djfs_mount.c254 truncate_inode_pages(sbi->ipimap->i_mapping, 0); in jfs_mount_rw()
255 truncate_inode_pages(sbi->ipbmap->i_mapping, 0); in jfs_mount_rw()
/linux-2.4.37.9/fs/sysv/
Dinode.c127 inode->i_mapping->a_ops = &sysv_aops; in sysv_set_inode()
131 inode->i_mapping->a_ops = &sysv_aops; in sysv_set_inode()
135 inode->i_mapping->a_ops = &sysv_aops; in sysv_set_inode()
/linux-2.4.37.9/fs/ext2/
Dnamei.c102 inode->i_mapping->a_ops = &ext2_aops; in ext2_create()
140 inode->i_mapping->a_ops = &ext2_aops; in ext2_symlink()
197 inode->i_mapping->a_ops = &ext2_aops; in ext2_mkdir()
/linux-2.4.37.9/drivers/block/
Drd.c168 mapping = rd_bdev[minor]->bd_inode->i_mapping; in rd_blkdev_pagecache_IO()
294 truncate_inode_pages(inode->i_mapping, 0); in rd_ioctl()
385 rd_bdev[unit]->bd_inode->i_mapping->a_ops = &ramdisk_aops; in rd_open()
Dloop.c178 struct address_space *mapping = file->f_dentry->d_inode->i_mapping; in lo_send()
653 struct address_space_operations *aops = inode->i_mapping->a_ops; in loop_set_fd()
684 lo->old_gfp_mask = inode->i_mapping->gfp_mask; in loop_set_fd()
685 inode->i_mapping->gfp_mask &= ~(__GFP_IO|__GFP_FS); in loop_set_fd()
710 inode->i_mapping->gfp_mask = lo->old_gfp_mask; in loop_set_fd()
784 filp->f_dentry->d_inode->i_mapping->gfp_mask = gfp; in loop_clr_fd()
/linux-2.4.37.9/drivers/mtd/devices/
Dblkmtd.c144 page = grab_cache_page(dev->binding->bd_inode->i_mapping, pagenrs[cnt]); in read_pages()
346 page = grab_cache_page(dev->binding->bd_inode->i_mapping, pagenr); in write_pages()
627 list_for_each(temp, &dev->binding->bd_inode->i_mapping->clean_pages) { in blkmtd_proc_read()
637 list_for_each(temp, &dev->binding->bd_inode->i_mapping->dirty_pages) { in blkmtd_proc_read()
646 list_for_each(temp, &dev->binding->bd_inode->i_mapping->locked_pages) { in blkmtd_proc_read()
661 dev->binding->bd_inode->i_mapping->nrpages, in blkmtd_proc_read()
/linux-2.4.37.9/fs/hfsplus/
Dinode.c296 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_new_inode()
300 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_new_inode()
402 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_cat_read_inode()
405 inode->i_mapping->a_ops = &hfsplus_aops; in hfsplus_cat_read_inode()
Dsuper.c70 inode->i_mapping->a_ops = &hfsplus_btree_aops; in hfsplus_read_inode()
74 inode->i_mapping->a_ops = &hfsplus_btree_aops; in hfsplus_read_inode()
84 inode->i_mapping->a_ops = &hfsplus_btree_aops; in hfsplus_read_inode()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc.c62 first_vma = inode->i_mapping->i_mmap_shared; in get_shared_area()
93 if (inode && (flags & MAP_SHARED) && (inode->i_mapping->i_mmap_shared)) { in arch_get_unmapped_area()
/linux-2.4.37.9/fs/hfs/
Dinode.c377 inode->i_mapping->a_ops = &hfs_aops; in hfs_cap_ifill()
437 inode->i_mapping->a_ops = &hfs_aops; in hfs_dbl_ifill()
483 inode->i_mapping->a_ops = &hfs_aops; in hfs_nat_ifill()
/linux-2.4.37.9/fs/ufs/
Dnamei.c96 inode->i_mapping->a_ops = &ufs_aops; in ufs_create()
134 inode->i_mapping->a_ops = &ufs_aops; in ufs_symlink()
/linux-2.4.37.9/fs/smbfs/
Dfile.c357 filemap_fdatasync(inode->i_mapping); in smb_file_release()
358 filemap_fdatawait(inode->i_mapping); in smb_file_release()
/linux-2.4.37.9/fs/umsdos/
Demd.c131 struct address_space *mapping = demd->d_inode->i_mapping; in umsdos_emd_dir_readentry()
247 mapping = emd_dentry->d_inode->i_mapping; in umsdos_writeentry()
371 mapping = emd_dir->i_mapping; in umsdos_find()
/linux-2.4.37.9/fs/reiserfs/
Dioctl.c130 page = grab_cache_page(inode->i_mapping, index) ; in reiserfs_unpack()

1234