cregit-Linux how code gets into the kernel

Release 4.16 include/xen/balloon.h

Directory: include/xen
/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 * 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 #ifdef CONFIG_XEN_BALLOON void xen_balloon_init(void); #else
static inline void xen_balloon_init(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Juergen Gross8100.00%1100.00%
Total8100.00%1100.00%

#endif #ifdef CONFIG_XEN_BALLOON_MEMORY_HOTPLUG struct resource; void arch_xen_balloon_init(struct resource *hostmem_resource); #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Daniel De Graaf5734.34%111.11%
Dan Magenheimer3118.67%111.11%
Konrad Rzeszutek Wilk2615.66%111.11%
Juergen Gross2112.65%111.11%
Boris Ostrovsky1710.24%111.11%
David Vrabel84.82%222.22%
Kay Sievers53.01%111.11%
Greg Kroah-Hartman10.60%111.11%
Total166100.00%9100.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.