*参照元 [#ka2757d2]
#backlinks

*説明 [#d205c0a2]
-パス: [[linux-2.6.33/include/linux/fs.h]]

-FIXME: これは何?
--説明


**参考 [#r40dd333]


*実装 [#l01eb754]
 struct address_space {
 	struct inode		*host;		/* owner: inode, block_device */
-
--[[linux-2.6.33/inode]]

 	struct radix_tree_root	page_tree;	/* radix tree of all pages */
-
--[[linux-2.6.33/radix_tree_root]]

 	spinlock_t		tree_lock;	/* and lock protecting it */
-
--[[linux-2.6.33/spinlock_t]]

 	unsigned int		i_mmap_writable;/* count VM_SHARED mappings */
 	struct prio_tree_root	i_mmap;		/* tree of private and shared mappings */
-
--[[linux-2.6.33/prio_tree_root]]

 	struct list_head	i_mmap_nonlinear;/*list VM_NONLINEAR mappings */
-
--[[linux-2.6.33/list_head]]

 	spinlock_t		i_mmap_lock;	/* protect tree, count, list */
 	unsigned int		truncate_count;	/* Cover race condition with truncate */
 	unsigned long		nrpages;	/* number of total pages */
 	pgoff_t			writeback_index;/* writeback starts here */
-
--[[linux-2.6.33/pgoff_t]]

 	const struct address_space_operations *a_ops;	/* methods */
-
--[[linux-2.6.33/address_space_operations]]

 	unsigned long		flags;		/* error bits/gfp mask */
 	struct backing_dev_info *backing_dev_info; /* device readahead, etc */
-
--[[linux-2.6.33/backing_dev_info]]

 	spinlock_t		private_lock;	/* for use by the address_space */
 	struct list_head	private_list;	/* ditto */
 	struct address_space	*assoc_mapping;	/* ditto */
 } __attribute__((aligned(sizeof(long))));
 	/*
 	 * On most architectures that alignment is already the case; but
 	 * must be enforced here for CRIS, to let the least signficant bit
 	 * of struct page's "mapping" pointer be used for PAGE_MAPPING_ANON.
 	 */


*コメント [#da4c4a2e]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS