Home | History | Annotate | Download | only in src

Lines Matching defs:free

103  * This function gets the free amount of carveout from sysfs.
105 int GetCarveoutFreeSize(unsigned int *free)
114 * can query free carveout size
124 fscanf(f, "%d", free);
191 free(data);
353 unsigned int free;
354 GetCarveoutFreeSize(&free);
355 printf("CarveOut free after phase %d allocation: %d\n",
356 phase, free);
389 printf("CarveOut free before cleanup: %d [%dMB]\n", carveoutFree,
414 * can query free carveout size
419 unsigned int free;
420 GetCarveoutFreeSize(&free);
421 printf("CarveOut free after phase 1 freeing: %d\n", free);
426 * we free'd up 3/4 of the phase 1 handles, and then these will be
446 * can query free carveout size
451 unsigned int free;
452 GetCarveoutFreeSize(&free);
453 printf("CarveOut free after phase 2 freeing: %d\n", free);
458 * we free'd up 1/2 of the phase 2 handles, and then these will be
730 printf(" -c | --carveout_percent - %% of free carveout [def : %d].\n",
744 int carveout_percent = 80; /* 80 percent of free carveout */