Searched refs:getmntinfo (Results 1 - 17 of 17) sorted by relevance

/openbsd-current/lib/libc/hidden/sys/
H A Dmount.h29 PROTO_DEPRECATED(getmntinfo); variable
/openbsd-current/lib/libc/gen/
H A Dgetmntinfo.c1 /* $OpenBSD: getmntinfo.c,v 1.11 2019/06/28 13:32:41 deraadt Exp $ */
39 getmntinfo(struct statfs **mntbufp, int flags) function
H A DMakefile.inc14 getloadavg.c getlogin.c getmntinfo.c getnetgrent.c getpagesize.c \
43 getmntinfo.3 getnetgrent.3 getpagesize.3 getpass.3 getprogname.3 \
/openbsd-current/usr.sbin/amd/amd/
H A Dmtab.c122 int nloc = getmntinfo(&mntbufp, MNT_NOWAIT);
/openbsd-current/bin/df/
H A Ddf.c121 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
185 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
257 return (nflag ? mntsize : getmntinfo(mntbufp, MNT_WAIT));
/openbsd-current/sbin/umount/
H A Dumount.c126 n = getmntinfo(&fs, MNT_NOWAIT);
262 if ((n = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) {
263 warn("getmntinfo");
/openbsd-current/sbin/mount/
H A Dmount.c222 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0)
223 err(1, "getmntinfo");
630 mntsize = getmntinfo(&mntbuf, MNT_NOWAIT);
/openbsd-current/sbin/newfs_ext2fs/
H A Dnewfs_ext2fs.c255 n = getmntinfo(&mp, MNT_NOWAIT);
257 err(EXIT_FAILURE, "%s: getmntinfo", special);
/openbsd-current/sys/sys/
H A Dmount.h625 int getmntinfo(struct statfs **, int);
/openbsd-current/usr.bin/quota/
H A Dquota.c440 nfst = getmntinfo(&fst, MNT_WAIT);
/openbsd-current/sbin/newfs/
H A Dnewfs.c388 n = getmntinfo(&mp, MNT_NOWAIT);
390 fatal("%s: getmntinfo: %s", special, strerror(errno));
/openbsd-current/usr.sbin/quot/
H A Dquot.c582 cnt = getmntinfo(&mp, MNT_NOWAIT);
/openbsd-current/usr.bin/fstat/
H A Dfstat.c911 nmounts = getmntinfo(&mntbuf, MNT_NOWAIT);
913 err(1, "getmntinfo");
/openbsd-current/sbin/newfs_msdos/
H A Dnewfs_msdos.c677 if (!(n = getmntinfo(&mp, MNT_NOWAIT)))
678 err(1, "getmntinfo");
/openbsd-current/sbin/mountd/
H A Dmountd.c1087 num = getmntinfo(&ofsp, MNT_NOWAIT);
1089 syslog(LOG_ERR, "getmntinfo: %s", strerror(errno));
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc86 #define getmntinfo __getmntinfo90
7910 INTERCEPTOR(int, getmntinfo, void **mntbufp, int flags) {
7912 COMMON_INTERCEPTOR_ENTER(ctx, getmntinfo, mntbufp, flags);
7913 int cnt = REAL(getmntinfo)(mntbufp, flags);
7925 #define INIT_GETMNTINFO COMMON_INTERCEPT_FUNCTION(getmntinfo)
/openbsd-current/libexec/snmpd/snmpd_metrics/
H A Dmib.c428 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) {
429 log_warn("getmntinfo");

Completed in 333 milliseconds