Lines Matching defs:swap_dev
1442 char dev_buf[PATH_MAX], swap_dev[PATH_MAX];
1447 swap_dev[0] = 0;
1549 if (swap_dev[0] == 0) {
1550 strlcpy(swap_dev, dev, sizeof swap_dev);
1571 if (swap_dev[0] != 0)
1574 PRIu64 "\n", swap_dev, ptn->size);
2110 static char swap_dev[PATH_MAX];
2115 swap_dev[0] = 0;
2126 swap_dev[0] = 0;
2135 install->infos[i].parts, install->infos[i].cur_part_id, swap_dev,
2136 sizeof swap_dev, NULL, plain_name, true, true))
2139 rval = swapctl(SWAP_ON, swap_dev, 0);
2141 swap_dev[0] = 0;
2148 if (swap_dev[0] == 0)
2150 swapctl(SWAP_OFF, swap_dev, 0);
2151 swap_dev[0] = 0;