Home
last modified time | relevance | path

Searched refs:swapent (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/format/
H A Dcheckdev.c81 register struct swapent *swapent; in getswapentries() local
99 swapent = st->swt_ent; in getswapentries()
100 for (i = 0; i < num; i++, swapent++) { in getswapentries()
101 if ((swapent->ste_path = malloc(MAXPATHLEN)) == NULL) { in getswapentries()
111 swapent = st->swt_ent; in getswapentries()
112 for (i = 0; i < num; i++, swapent++) { in getswapentries()
113 if (*swapent->ste_path != '/') { in getswapentries()
115 "/dev/%s", swapent->ste_path); in getswapentries()
116 (void) strcpy(swapent->ste_path, fullpathname); in getswapentries()
126 register struct swapent *swapent; local
[all …]
/titanic_41/usr/src/cmd/swap/
H A Dswap.c369 struct swapent *swapent; in list() local
400 swapent = st->swt_ent; in list()
401 for (i = 0; i < num; i++, swapent++) { in list()
402 swapent->ste_path = path; in list()
430 swapent = st->swt_ent; in list()
431 for (i = 0; i < num; i++, swapent++) { in list()
432 if (*swapent->ste_path != '/') in list()
434 "/dev/%s", swapent->ste_path); in list()
437 "%s", swapent->ste_path); in list()
439 if (*swapent->ste_path != '/') in list()
[all …]
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c210 struct swapent *swapent; in load_mnttab() local
288 for (i = 0, swapent = st->swt_ent; i < num; i++, swapent++) { in load_mnttab()
309 if (*swapent->ste_path != '/') { in load_mnttab()
311 swapent->ste_path); in load_mnttab()
313 (void) strlcpy(fullpath, swapent->ste_path, in load_mnttab()
/titanic_41/usr/src/uts/common/sys/
H A Dswap.h69 typedef struct swapent { struct
80 struct swapent swt_ent[1]; /* array of swt_n swapents */ argument
/titanic_41/usr/src/uts/common/vm/
H A Dvm_swap.c443 struct swapent st, *ust; in swapctl()
580 struct swapent st; in swapctl()
/titanic_41/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3234 struct swapent *swent; in zsd_refresh_memory()
3270 (num_swap_devices * sizeof (struct swapent)) + in zsd_refresh_memory()