Displaying 1 result from an estimated 1 matches for "balloon_write".
Did you mean:
balloon_wait
2004 Jul 16
1
/proc/xen/memory_target patch
...04
***************
*** 39,44 ****
--- 39,45 ----
static struct proc_dir_entry *balloon_pde;
unsigned long credit;
+ static unsigned long current_pages, max_pages;
static inline pte_t *get_ptep(unsigned long addr)
{
***************
*** 221,270 ****
return ret;
}
static int balloon_write(struct file *file, const char *buffer,
u_long count, void *data)
{
! user_balloon_op_t bop;
/* Only admin can play with the balloon :) */
if ( !capable(CAP_SYS_ADMIN) )
return -EPERM;
! if ( copy_from_user(&bop, buffer, sizeof(bop...