Searched refs:swt_ent (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | swap.c | 59 swt->swt_ent[i].ste_path = p; in swap_list() 77 if (!(swt->swt_ent[i].ste_flags & (ST_INDEL | ST_DOINGDEL))) { in swap_list() 84 (void) memcpy(&swt->swt_ent[n], in swap_list() 85 &swt->swt_ent[i], sizeof (swapent_t)); in swap_list() 92 if (swt->swt_ent[n].ste_path[0] != '/') { in swap_list() 96 swt->swt_ent[n].ste_path); in swap_list() 97 (void) strcpy(swt->swt_ent[n].ste_path, buf); in swap_list()
|
H A D | dconf.c | 421 qsort(&swt->swt_ent[0], swt->swt_n, sizeof (swapent_t), in dconf_update() 430 swt->swt_ent[i].ste_path) == 0) { in dconf_update() 432 swt->swt_ent[i].ste_path); in dconf_update()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 475 if ((sf = swap_file_alloc(swt->swt_ent[i].ste_path)) == in update_cache() 490 if ((sa = swap_area_alloc(&swt->swt_ent[i])) == NULL) { in update_cache() 589 swt->swt_ent[i].ste_path = cp; in sys_swaptbl() 761 swap_area_alloc(swapent_t *swt_ent) in swap_area_alloc() argument 769 sa->start = swt_ent->ste_start; in swap_area_alloc() 770 sa->len = swt_ent->ste_length; in swap_area_alloc() 779 swap_area_lookup(swap_file_t *sf, swapent_t *swt_ent) in swap_area_lookup() argument 783 assert(sf != NULL && swt_ent != NULL); in swap_area_lookup() 784 assert(strcmp(sf->path, swt_ent->ste_path) == 0); in swap_area_lookup() 787 if (sa->start == swt_ent->ste_start && in swap_area_lookup() [all …]
|
/illumos-gate/usr/src/cmd/format/ |
H A D | checkdev.c | 86 swapent = st->swt_ent; in getswapentries() 98 swapent = st->swt_ent; in getswapentries() 115 swapent = st->swt_ent; in freeswapentries() 216 swapent = st->swt_ent; in checkswap() 651 swapent = st->swt_ent; in check_label_with_swap()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | swap.h | 80 struct swapent swt_ent[1]; /* array of swt_n swapents */ member 105 struct swapent32 swt_ent[1]; /* array of swt_n swapents */ member
|
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 403 swapent = st->swt_ent; in list() 436 swapent = st->swt_ent; in list()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 773 tbl->swt_ent[i].ste_path = ptr; in dm_get_swapentries() 796 free(stp->swt_ent[0].ste_path); in dm_free_swapentries() 828 if (strcmp(dev_name, tbl->swt_ent[count].ste_path) == 0) { in dm_inuse_swap()
|
H A D | inuse_mnt.c | 286 for (i = 0, swapent = st->swt_ent; i < num; i++, swapent++) { in load_mnttab()
|
/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() 692 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; in swapctl() 896 ust = (swapent32_t *)((swaptbl32_t *)sc_arg)->swt_ent; in swapctl32() 996 ust = (swapent32_t *)((swaptbl32_t *)sc_arg)->swt_ent; in swapctl32()
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 3282 swent = swt->swt_ent; in zsd_refresh_memory() 3310 swent = ctl->zsctl_swap_cache->swt_ent; in zsd_refresh_memory()
|