*参照元 [#v4d363f0]
#backlinks

*説明 [#g74df3e5]
-パス: [[linux-2.6.33/include/linux/backing-dev.h]]

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


**参考 [#x5a8a4ab]


*実装 [#nd76da9c]
 struct backing_dev_info {
 	struct list_head bdi_list;
-
--[[linux-2.6.33/list_head]]

 	struct rcu_head rcu_head;
-
--[[linux-2.6.33/rcu_head]]

 	unsigned long ra_pages;	/* max readahead in PAGE_CACHE_SIZE units */
 	unsigned long state;	/* Always use atomic bitops on this */
 	unsigned int capabilities; /* Device capabilities */
 	congested_fn *congested_fn; /* Function pointer if device is md/dm */
-
--[[linux-2.6.33/congested_fn]]

 	void *congested_data;	/* Pointer to aux data for congested func */
 	void (*unplug_io_fn)(struct backing_dev_info *, struct page *);
-

 	void *unplug_io_data;
 
 	char *name;
 
 	struct percpu_counter bdi_stat[NR_BDI_STAT_ITEMS];
 
-
--[[linux-2.6.33/percpu_counter]]

 	struct prop_local_percpu completions;
-
--[[linux-2.6.33/prop_local_percpu]]

 	int dirty_exceeded;
 
 	unsigned int min_ratio;
 	unsigned int max_ratio, max_prop_frac;
 
 	struct bdi_writeback wb;  /* default writeback info for this bdi */
-
--[[linux-2.6.33/bdi_writeback]]

 	spinlock_t wb_lock;	  /* protects update side of wb_list */
-
--[[linux-2.6.33/spinlock_t]]

 	struct list_head wb_list; /* the flusher threads hanging off this bdi */
 	unsigned long wb_mask;	  /* bitmask of registered tasks */
 	unsigned int wb_cnt;	  /* number of registered tasks */
 
 	struct list_head work_list;
 
 	struct device *dev;
-
--[[linux-2.6.33/device]]

 
 #ifdef CONFIG_DEBUG_FS
 	struct dentry *debug_dir;
 	struct dentry *debug_stats;
-
--[[linux-2.6.33/dentry]]

 #endif
 };


*コメント [#la99ecd9]


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