#ifndef __MM_CMA_H__
#define __MM_CMA_H__

struct cma {
	unsigned long   base_pfn;
	unsigned long   count;
	unsigned long   *bitmap;
	unsigned int order_per_bit; /* Order of pages represented by one bit */
	struct mutex    lock;
#ifdef CONFIG_CMA_DEBUGFS
	struct hlist_head mem_head;
	spinlock_t mem_head_lock;
#endif
};

extern struct cma cma_areas[MAX_CMA_AREAS];
extern unsigned cma_area_count;

static inline unsigned long cma_bitmap_maxno(struct cma *cma)
{
	return cma->count >> cma->order_per_bit;
}

#endif
//git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='143b0b2ae8c1f0c0e036ec859d0a49482892234b'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/drivers/vx/Makefile?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/drivers/vx/Makefile?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/drivers/vx/Makefile?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/drivers/vx/Makefile?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/drivers/vx/Makefile'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='143b0b2ae8c1f0c0e036ec859d0a49482892234b'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/drivers?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/drivers/vx?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>vx</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/drivers/vx/Makefile?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b'>Makefile</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/drivers/vx/Makefile?h=nds-private-remove&amp;id=143b0b2ae8c1f0c0e036ec859d0a49482892234b&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>