/****************************************************************************** * Xen balloon functionality */ #define RETRY_UNLIMITED 0 struct balloon_stats { /* We aim for 'current allocation' == 'target allocation'. */ unsigned long current_pages; unsigned long target_pages; unsigned long target_unpopulated; /* Number of pages in high- and low-memory balloons. */ unsigned long balloon_low; unsigned long balloon_high; unsigned long total_pages; unsigned long schedule_delay; unsigned long max_schedule_delay; unsigned long retry_count; unsigned long max_retry_count; }; extern struct balloon_stats balloon_stats; void balloon_set_new_target(unsigned long target); int alloc_xenballooned_pages(int nr_pages, struct page **pages); void free_xenballooned_pages(int nr_pages, struct page **pages); struct device; #ifdef CONFIG_XEN_SELFBALLOONING extern int register_xen_selfballooning(struct device *dev); #else static inline int register_xen_selfballooning(struct device *dev) { return -ENOSYS; } #endif 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&id=9aecce1c7d977e52759167a4916d71e80aaf5070'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/mac802154/cfg.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/mac802154/cfg.h?h=nds-private-remove&id=9aecce1c7d977e52759167a4916d71e80aaf5070'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/mac802154/cfg.h?h=nds-private-remove&id=9aecce1c7d977e52759167a4916d71e80aaf5070'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/mac802154/cfg.h?h=nds-private-remove&id=9aecce1c7d977e52759167a4916d71e80aaf5070'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/mac802154/cfg.h'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='9aecce1c7d977e52759167a4916d71e80aaf5070'/><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&id=9aecce1c7d977e52759167a4916d71e80aaf5070'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?h=nds-private-remove&id=9aecce1c7d977e52759167a4916d71e80aaf5070'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/mac802154?h=nds-private-remove&id=9aecce1c7d977e52759167a4916d71e80aaf5070'>mac802154</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/mac802154/cfg.h?h=nds-private-remove&id=9aecce1c7d977e52759167a4916d71e80aaf5070'>cfg.h</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/net/mac802154/cfg.h?h=nds-private-remove&id=9aecce1c7d977e52759167a4916d71e80aaf5070&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>