Searched refs:swt_ent (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/dumpadm/
H A Dswap.c61 swt->swt_ent[i].ste_path = p;
79 if (!(swt->swt_ent[i].ste_flags & (ST_INDEL | ST_DOINGDEL))) {
83 * fill the initial part of swt_ent[].
86 (void) memcpy(&swt->swt_ent[n],
87 &swt->swt_ent[i], sizeof (swapent_t));
94 if (swt->swt_ent[n].ste_path[0] != '/') {
98 swt->swt_ent[n].ste_path);
99 (void) strcpy(swt->swt_ent[n].ste_path, buf);
H A Ddconf.c419 qsort(&swt->swt_ent[0], swt->swt_n, sizeof (swapent_t),
428 swt->swt_ent[i].ste_path) == 0) {
430 swt->swt_ent[i].ste_path);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c469 if (swt->swt_ent[i].ste_flags & (ST_INDEL|ST_DOINGDEL)) {
476 if ((sf = cache_lookup(swt->swt_ent[i].ste_path)) == NULL) {
477 if ((sf = swap_file_alloc(swt->swt_ent[i].ste_path)) ==
491 if ((sa = swap_area_lookup(sf, &swt->swt_ent[i])) == NULL) {
492 if ((sa = swap_area_alloc(&swt->swt_ent[i])) == NULL) {
591 swt->swt_ent[i].ste_path = cp;
763 swap_area_alloc(swapent_t *swt_ent) argument
771 sa->start = swt_ent->ste_start;
772 sa->len = swt_ent->ste_length;
781 swap_area_lookup(swap_file_t *sf, swapent_t *swt_ent) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dswap.h80 struct swapent swt_ent[1]; /* array of swt_n swapents */ member in struct:swaptable
105 struct swapent32 swt_ent[1]; /* array of swt_n swapents */ member in struct:swaptable32
/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c99 swapent = st->swt_ent;
111 swapent = st->swt_ent;
129 swapent = st->swt_ent;
233 swapent = st->swt_ent;
669 swapent = st->swt_ent;
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c96 if (swtp->swt_ent[i].ste_path != NULL)
97 Free(swtp->swt_ent[i].ste_path);
125 ((*nswap) * sizeof ((*swtpp)->swt_ent[0]));
129 (*swtpp)->swt_ent[i].ste_path = Zalloc(MAXPATHLEN);
168 if ((snp = metaname(&sp, swtp->swt_ent[i].ste_path,
217 if ((snp = metaname(&sp, swtp->swt_ent[i].ste_path,
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c400 swapent = st->swt_ent;
430 swapent = st->swt_ent;
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c288 for (i = 0, swapent = st->swt_ent; i < num; i++, swapent++) {
H A Dentry.c774 tbl->swt_ent[i].ste_path = ptr;
797 free(stp->swt_ent[0].ste_path);
829 if (strcmp(dev_name, tbl->swt_ent[count].ste_path) == 0) {
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c585 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent;
676 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent;
880 ust = (swapent32_t *)((swaptbl32_t *)sc_arg)->swt_ent;
969 ust = (swapent32_t *)((swaptbl32_t *)sc_arg)->swt_ent;
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3288 swent = swt->swt_ent;
3316 swent = ctl->zsctl_swap_cache->swt_ent;

Completed in 97 milliseconds