search for: balloon_read

Displaying 1 result from an estimated 1 matches for "balloon_read".

Did you mean: balloon_thread
2004 Jul 16
1
/proc/xen/memory_target patch
...- current_pages); + if (change<0) return change; ! current_pages += change; ! printk("Reclaim %dMB from xen. Domain now has %dMB\n", ! change>>PAGE_TO_MB_SHIFT, current_pages>>PAGE_TO_MB_SHIFT); ! } ! ! return len; ! } ! ! ! static int balloon_read(char *page, char **start, off_t off, ! int count, int *eof, void *data) ! { ! int len; ! len = sprintf(page,"%ul\n",current_pages<<PAGE_SHIFT); ! ! if (len <= off+count) *eof = 1; ! *start = page + off; ! len -= off; ! if (len>count) len = count; ! if (len<0) len...