Searched refs:swapent_t (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | swap.c | 48 swt = malloc(sizeof (int) + n * sizeof (swapent_t) + n * MAXPATHLEN); in swap_list() 56 p = (char *)swt + (sizeof (int) + n * sizeof (swapent_t)); in swap_list() 85 &swt->swt_ent[i], sizeof (swapent_t)); in swap_list()
|
H A D | dconf.c | 310 dconf_swap_compare(const swapent_t *s1, const swapent_t *s2) in dconf_swap_compare() 424 qsort(&swt->swt_ent[0], swt->swt_n, sizeof (swapent_t), in dconf_update()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 103 static swap_area_t *swap_area_alloc(swapent_t *); 104 static swap_area_t *swap_area_lookup(swap_file_t *, swapent_t *); 582 tbl_size = sizeof (int) + n * sizeof (swapent_t) + n * MAXPATHLEN; in sys_swaptbl() 587 cp = (char *)swt + (sizeof (int) + n * sizeof (swapent_t)); in sys_swaptbl() 761 swap_area_alloc(swapent_t *swt_ent) in swap_area_alloc() 779 swap_area_lookup(swap_file_t *sf, swapent_t *swt_ent) in swap_area_lookup()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_swap.c | 590 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; in swapctl() 591 if (copyin(ust, &st, sizeof (swapent_t)) != 0) in swapctl() 624 if (copyout(&st, ust, sizeof (swapent_t)) != 0 || in swapctl() 692 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; in swapctl() 694 if (copyin(ust, &st, sizeof (swapent_t)) != 0) { in swapctl() 704 if (copyout(&st, ust, sizeof (swapent_t)) != 0) { in swapctl()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | swap.h | 76 } swapent_t; typedef
|
/illumos-gate/usr/src/cmd/format/ |
H A D | checkdev.c | 81 if ((st = (swaptbl_t *)malloc(num * sizeof (swapent_t) + sizeof (int))) in getswapentries()
|
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 389 if ((st = malloc(num * sizeof (swapent_t) + sizeof (int))) in list()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 757 tbl = calloc(1, sizeof (int) + count * sizeof (swapent_t)); in dm_get_swapentries()
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 3284 num_swap_devices * sizeof (swapent_t)); in zsd_refresh_memory()
|