OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:swapctl
(Results
1 - 15
of
15
) sorted by relevancy
/src/sbin/swapctl/
Makefile
3
PROG=
swapctl
4
SRCS=
swapctl
.c swaplist.c
5
MAN=
swapctl
.8
9
LINKS= ${BINDIR}/
swapctl
${BINDIR}/swapon
10
MLINKS=
swapctl
.8 swapon.8
swapctl.c
1
/* $NetBSD:
swapctl
.c,v 1.43 2023/03/01 15:18:18 kre Exp $ */
30
*
swapctl
command:
67
__RCSID("$NetBSD:
swapctl
.c,v 1.43 2023/03/01 15:18:18 kre Exp $");
90
#include "
swapctl
.h"
95
* Commands for
swapctl
(8). These are mutually exclusive.
439
if (
swapctl
(SWAP_CTL, path, pri) < 0)
476
if (
swapctl
(SWAP_ON, spec, priority) < 0) {
502
if (
swapctl
(SWAP_OFF, spec, pri) < 0) {
516
rv =
swapctl
(SWAP_DUMPOFF, NULL, 0);
518
rv =
swapctl
(SWAP_DUMPDEV, spec, 0)
[
all
...]
swaplist.c
51
* NOTE: This file is separate from
swapctl
.c so that pstat can grab it.
54
#include "
swapctl
.h"
65
int rnswap, nswap =
swapctl
(SWAP_NSWAP, 0, 0), i;
76
rnswap =
swapctl
(SWAP_STATS, (void *)sep, nswap);
/src/etc/rc.d/
swap2
21
# Treat exit status 2 from
swapctl
(8) as successful; it means
27
swapctl
-A -t noblk
31
if
swapctl
-s | grep "no swap devices configured" > /dev/null;
42
stop_cmd="
swapctl
-U -t noblk || [ $? = 2 ]"
swap1
55
# Treat exit status 2 from
swapctl
(8) as successful; it means
59
swapctl
-A -t blk || [ $? = 2 ]
70
swapctl
-U -t blk || [ $? = 2 ]
/src/lib/libc/sys/
swapon.c
42
return (
swapctl
(SWAP_ON, __UNCONST(name), 0));
Makefile.inc
158
__statvfs190.S
swapctl
.S symlink.S symlinkat.S __sysctl.S \
295
socketpair.2 stat.2 statvfs.2
swapctl
.2 swapon.3 symlink.2 \
/src/usr.sbin/pstat/
Makefile
16
CPPFLAGS+=-I${NETBSDSRCDIR}/sbin/
swapctl
20
.PATH: ${NETBSDSRCDIR}/sbin/
swapctl
/src/usr.bin/systat/
swap.c
117
nswap =
swapctl
(SWAP_NSWAP, 0, 0);
129
if ((rnswap =
swapctl
(SWAP_STATS, (void *)swap_devices, nswap)) != nswap) {
130
error("
swapctl
failed");
/src/distrib/evbsh3/rom/ramdiskcommon/
ramdiskbin.conf
14
progs newfs ping ping6 rcorder reboot route shutdown
swapctl
ttyflags umount
79
ln
swapctl
swapon
/src/sbin/
Makefile
16
savecore scan_ffs scsictl shutdown slattach svhlabel
swapctl
sysctl \
/src/include/
unistd.h
402
int
swapctl
(int, void *, int);
403
int swapon(const char *); /* obsoleted by
swapctl
() */
/src/distrib/sun2/miniroot/
list
83
PROG sbin/
swapctl
/src/distrib/sun3/miniroot/
list
82
PROG sbin/
swapctl
/src/usr.sbin/sysinst/
disks.c
2139
rval =
swapctl
(SWAP_ON, swap_dev, 0);
2150
swapctl
(SWAP_OFF, swap_dev, 0);
2163
nswap =
swapctl
(SWAP_NSWAP, 0, 0);
2171
nswap =
swapctl
(SWAP_STATS, swap, nswap);
2193
if (
swapctl
(SWAP_OFF, cp, 0) == -1)
Completed in 19 milliseconds
Indexes created Thu Oct 16 14:10:15 GMT 2025