Home
last modified time | relevance | path

Searched refs:xsw (Results 1 – 5 of 5) sorted by relevance

/freebsd/tools/test/stress2/tools/
H A Dswap.c76 struct xswdev xsw; in swap() local
89 size = sizeof xsw; in swap()
90 if (sysctl(mib, mibsize + 1, &xsw, &size, NULL, 0) == -1) in swap()
92 if (xsw.xsw_version != XSWDEV_VERSION) in swap()
94 sz = sz + xsw.xsw_nblks - xsw.xsw_used; in swap()
/freebsd/tools/test/stress2/lib/
H A Dresources.c105 struct xswdev xsw; in swap() local
118 size = sizeof xsw; in swap()
119 if (sysctl(mib, mibsize + 1, &xsw, &size, NULL, 0) == -1) in swap()
121 if (xsw.xsw_version != XSWDEV_VERSION) in swap()
123 sz = sz + xsw.xsw_nblks - xsw.xsw_used; in swap()
/freebsd/usr.sbin/pstat/
H A Dpstat.c559 struct xswdev xsw; in swapmode_sysctl() local
569 size = sizeof xsw; in swapmode_sysctl()
570 if (sysctl(mib, mibsize + 1, &xsw, &size, NULL, 0) == -1) in swapmode_sysctl()
572 if (xsw.xsw_version != XSWDEV_VERSION) in swapmode_sysctl()
574 if (xsw.xsw_dev == NODEV) in swapmode_sysctl()
579 "/dev/%s", devname(xsw.xsw_dev, S_IFCHR)); in swapmode_sysctl()
580 ksw.ksw_used = xsw.xsw_used; in swapmode_sysctl()
581 ksw.ksw_total = xsw.xsw_nblks; in swapmode_sysctl()
582 ksw.ksw_flags = xsw.xsw_flags; in swapmode_sysctl()
/freebsd/sbin/swapon/
H A Dswapon.c783 struct xswdev xsw; in swap_on_off_sfile()
833 size = sizeof xsw; in sizetobuf()
834 if (sysctl(mib, mibsize + 1, &xsw, &size, NULL, 0) == -1) in sizetobuf()
836 if (xsw.xsw_version != XSWDEV_VERSION) in sizetobuf()
839 tmp_total = (long long)xsw.xsw_nblks * pagesize;
840 tmp_used = (long long)xsw.xsw_used * pagesize; in swaplist()
846 printf("/dev/%-8s %s ", devname(xsw.xsw_dev, S_IFCHR), in swaplist()
843 struct xswdev xsw; swaplist() local
/freebsd/
H A DObsoleteFiles.inc8801 OLD_FILES+=usr/libdata/ldscripts/armelf_fbsd.xsw
8814 OLD_FILES+=usr/libdata/ldscripts/armelfb_fbsd.xsw
8827 OLD_FILES+=usr/libdata/ldscripts/elf32_sparc.xsw
8840 OLD_FILES+=usr/libdata/ldscripts/elf32btsmip_fbsd.xsw
8853 OLD_FILES+=usr/libdata/ldscripts/elf32btsmipn32_fbsd.xsw
8866 OLD_FILES+=usr/libdata/ldscripts/elf32ltsmip_fbsd.xsw
8879 OLD_FILES+=usr/libdata/ldscripts/elf32ltsmipn32_fbsd.xsw
8892 OLD_FILES+=usr/libdata/ldscripts/elf32ppc_fbsd.xsw
8905 OLD_FILES+=usr/libdata/ldscripts/elf64_sparc.xsw
8918 OLD_FILES+=usr/libdata/ldscripts/elf64_sparc_fbsd.xsw
[all …]