Searched refs:swapent_t (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | swap.c | 50 swt = malloc(sizeof (int) + n * sizeof (swapent_t) + n * MAXPATHLEN); 58 p = (char *)swt + (sizeof (int) + n * sizeof (swapent_t)); 75 * Shrink the array of swapent_t structures by stripping out 87 &swt->swt_ent[i], sizeof (swapent_t));
|
H A D | dconf.c | 305 dconf_swap_compare(const swapent_t *s1, const swapent_t *s2) 419 qsort(&swt->swt_ent[0], swt->swt_n, sizeof (swapent_t),
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 105 static swap_area_t *swap_area_alloc(swapent_t *); 106 static swap_area_t *swap_area_lookup(swap_file_t *, swapent_t *); 584 tbl_size = sizeof (int) + n * sizeof (swapent_t) + n * MAXPATHLEN; 589 cp = (char *)swt + (sizeof (int) + n * sizeof (swapent_t)); 763 swap_area_alloc(swapent_t *swt_ent) 781 swap_area_lookup(swap_file_t *sf, swapent_t *swt_ent)
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | swap.h | 76 } swapent_t; typedef in typeref:struct:swapent
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_swap.c | 585 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; 586 if (copyin(ust, &st, sizeof (swapent_t)) != 0) 619 if (copyout(&st, ust, sizeof (swapent_t)) != 0 || 676 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; 678 if (copyin(ust, &st, sizeof (swapent_t)) != 0) { 688 if (copyout(&st, ust, sizeof (swapent_t)) != 0) {
|
/illumos-gate/usr/src/cmd/format/ |
H A D | checkdev.c | 94 if ((st = (swaptbl_t *)malloc(num * sizeof (swapent_t) + sizeof (int)))
|
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 387 if ((st = malloc(num * sizeof (swapent_t) + sizeof (int)))
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 758 tbl = calloc(1, sizeof (int) + count * sizeof (swapent_t));
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 3290 num_swap_devices * sizeof (swapent_t));
|
Completed in 532 milliseconds