Re: [PATCH] dmatest: properly handle duplicate DMA channels

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Saturday, September 20, 2008 - 3:20 pm

On Sat, 20 Sep 2008 14:40:40 -0700 "Dan Williams" <dan.j.williams@intel.com> wrote:


Personally I like to see at at the definition site, so that's within
the struct which contains the function pointer.  eg:

struct address_space_operations {
	int (*writepage)(struct page *page, struct writeback_control *wbc);
	int (*readpage)(struct file *, struct page *);
	void (*sync_page)(struct page *);

	/* Write back some dirty pages from this mapping. */
	int (*writepages)(struct address_space *, struct writeback_control *);

	/* Set a page dirty.  Return true if this dirtied it */
	int (*set_page_dirty)(struct page *page);

(sadly incomplete, but we tried)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] dmatest: properly handle duplicate DMA channels, Haavard Skinnemoen, (Thu Sep 18, 8:32 am)
Re: [PATCH] dmatest: properly handle duplicate DMA channels, Haavard Skinnemoen, (Thu Sep 18, 8:48 am)
Re: [PATCH] dmatest: properly handle duplicate DMA channels, Haavard Skinnemoen, (Sat Sep 20, 5:42 am)
Re: [PATCH] dmatest: properly handle duplicate DMA channels, Andrew Morton, (Sat Sep 20, 3:20 pm)