Lines Matching refs:swapent
81 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
129 swapent = st->swt_ent;
130 for (i = 0; i < st->swt_n; i++, swapent++)
131 free(swapent->ste_path);
210 struct swapent *swapent; local
233 swapent = st->swt_ent;
234 for (i = 0; i < st->swt_n; i++, swapent++) {
235 if ((part = getpartition(swapent->ste_path)) != -1) {
648 struct swapent *swapent; in check_label_with_swap() local
669 swapent = st->swt_ent; in check_label_with_swap()
670 for (i = 0; i < st->swt_n; i++, swapent++) in check_label_with_swap()
671 if ((part = getpartition(swapent->ste_path)) != -1) in check_label_with_swap()