Home
last modified time | relevance | path

Searched refs:ste_path (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/dumpadm/
H A Dswap.c59 swt->swt_ent[i].ste_path = p; 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 Ddconf.c321 if (open_stat64(s1->ste_path, &st1) == -1) in dconf_swap_compare()
324 if (open_stat64(s2->ste_path, &st2) == -1) in dconf_swap_compare()
433 swt->swt_ent[i].ste_path) == 0) { in dconf_update()
435 swt->swt_ent[i].ste_path); in dconf_update()
/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c88 if ((swapent->ste_path = malloc(MAXPATHLEN)) == NULL) { in getswapentries()
100 if (*swapent->ste_path != '/') { in getswapentries()
102 "/dev/%s", swapent->ste_path); in getswapentries()
103 (void) strcpy(swapent->ste_path, fullpathname); in getswapentries()
117 free(swapent->ste_path); in freeswapentries()
218 if ((part = getpartition(swapent->ste_path)) != -1) { in checkswap()
653 if ((part = getpartition(swapent->ste_path)) != -1) in check_label_with_swap()
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c406 swapent->ste_path = ptr; in list()
438 if (*swapent->ste_path != '/') in list()
440 "/dev/%s", swapent->ste_path); in list()
443 "%s", swapent->ste_path); in list()
445 if (*swapent->ste_path != '/') in list()
447 swapent->ste_path); in list()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c307 if (*swapent->ste_path != '/') { in load_mnttab()
309 swapent->ste_path); in load_mnttab()
311 (void) strlcpy(fullpath, swapent->ste_path, in load_mnttab()
H A Dentry.c773 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()
/illumos-gate/usr/src/uts/common/sys/
H A Dswap.h70 char *ste_path; /* get the name of the swap file */ member
95 caddr32_t ste_path; /* get the name of the swap file */ member
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c474 if ((sf = cache_lookup(swt->swt_ent[i].ste_path)) == NULL) { in update_cache()
475 if ((sf = swap_file_alloc(swt->swt_ent[i].ste_path)) == in update_cache()
589 swt->swt_ent[i].ste_path = cp; in sys_swaptbl()
784 assert(strcmp(sf->path, swt_ent->ste_path) == 0); in swap_area_lookup()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c625 copyout(swappath, st.ste_path, in swapctl()
710 if (copyout(tsip->si_pname, st.ste_path, in swapctl()
931 copyout(swappath, (caddr_t)(uintptr_t)st.ste_path, in swapctl32()
1015 (caddr_t)(uintptr_t)st.ste_path, in swapctl32()
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3286 swent->ste_path = path; in zsd_refresh_memory()