Searched refs:swapent_t (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/cmd/dumpadm/ |
H A D | swap.c | 50 swt = malloc(sizeof (int) + n * sizeof (swapent_t) + n * MAXPATHLEN); in swap_list() 58 p = (char *)swt + (sizeof (int) + n * sizeof (swapent_t)); in swap_list() 87 &swt->swt_ent[i], sizeof (swapent_t)); in swap_list()
|
H A D | dconf.c | 305 dconf_swap_compare(const swapent_t *s1, const swapent_t *s2) in dconf_swap_compare() 419 qsort(&swt->swt_ent[0], swt->swt_n, sizeof (swapent_t), in dconf_update()
|
/titanic_41/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; in sys_swaptbl() 589 cp = (char *)swt + (sizeof (int) + n * sizeof (swapent_t)); in sys_swaptbl() 763 swap_area_alloc(swapent_t *swt_ent) in swap_area_alloc() 781 swap_area_lookup(swap_file_t *sf, swapent_t *swt_ent) in swap_area_lookup()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | swap.h | 76 } swapent_t; typedef
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | vm_swap.c | 585 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; in swapctl() 586 if (copyin(ust, &st, sizeof (swapent_t)) != 0) in swapctl() 619 if (copyout(&st, ust, sizeof (swapent_t)) != 0 || in swapctl() 676 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; in swapctl() 678 if (copyin(ust, &st, sizeof (swapent_t)) != 0) { in swapctl() 688 if (copyout(&st, ust, sizeof (swapent_t)) != 0) { in swapctl()
|
/titanic_41/usr/src/cmd/format/ |
H A D | checkdev.c | 94 if ((st = (swaptbl_t *)malloc(num * sizeof (swapent_t) + sizeof (int))) in getswapentries()
|
/titanic_41/usr/src/cmd/swap/ |
H A D | swap.c | 387 if ((st = malloc(num * sizeof (swapent_t) + sizeof (int))) in list()
|
/titanic_41/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 760 tbl = calloc(1, sizeof (int) + count * sizeof (swapent_t)); in dm_get_swapentries()
|
/titanic_41/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 3290 num_swap_devices * sizeof (swapent_t)); in zsd_refresh_memory()
|