cregit-Linux how code gets into the kernel

Release 4.12 include/xen/balloon.h

Directory: include/xen
/******************************************************************************
 * 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; }

Contributors

PersonTokensPropCommitsCommitProp
Dan Magenheimer1487.50%150.00%
Kay Sievers212.50%150.00%
Total16100.00%2100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Daniel De Graaf5744.88%116.67%
Dan Magenheimer3124.41%116.67%
Konrad Rzeszutek Wilk2620.47%116.67%
David Vrabel86.30%233.33%
Kay Sievers53.94%116.67%
Total127100.00%6100.00%
Directory: include/xen
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.