Home
last modified time | relevance | path

Searched refs:mntbufp (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/netbsd-tests/fs/nfs/nfsservice/
H A Dgetmntinfo.c58 getmntinfo(mntbufp, flags) in getmntinfo() argument
59 struct statvfs **mntbufp; in getmntinfo()
66 _DIAGASSERT(mntbufp != NULL);
83 *mntbufp = mntbuf;
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_netbsd_compat.inc68 INTERCEPTOR(int, __getmntinfo13, void **mntbufp, int flags) {
70 COMMON_INTERCEPTOR_ENTER(ctx, __getmntinfo13, mntbufp, flags);
71 int cnt = REAL(__getmntinfo13)(mntbufp, flags);
72 if (cnt > 0 && mntbufp) {
73 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mntbufp, sizeof(void *));
74 if (*mntbufp)
75 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs90_sz);
H A Dsanitizer_common_interceptors.inc7696 INTERCEPTOR(int, getmntinfo, void **mntbufp, int flags) {
7698 COMMON_INTERCEPTOR_ENTER(ctx, getmntinfo, mntbufp, flags);
7699 int cnt = REAL(getmntinfo)(mntbufp, flags);
7700 if (cnt > 0 && mntbufp) {
7701 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mntbufp, sizeof(void *));
7702 if (*mntbufp)
7704 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs_sz);
7706 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statfs_sz);
/freebsd-13.1/lib/libc/gen/
H A Dgetmntinfo-compat11.c46 freebsd11_getmntinfo(struct freebsd11_statfs **mntbufp, int flags) in freebsd11_getmntinfo() argument
67 *mntbufp = mntbuf; in freebsd11_getmntinfo()
H A Dgetmntinfo.c48 getmntinfo(struct statfs **mntbufp, int mode) in getmntinfo() argument
66 *mntbufp = mntbuf; in getmntinfo()
/freebsd-13.1/bin/df/
H A Ddf.c385 regetmntinfo(struct statfs **mntbufp, long mntsize) in regetmntinfo() argument
391 return (nflag ? mntsize : getmntinfo(mntbufp, MNT_WAIT)); in regetmntinfo()
393 mntbuf = *mntbufp; in regetmntinfo()
/freebsd-13.1/usr.sbin/mountd/
H A Dmountd.c1889 struct statfs *mntbufp; in get_exportlist() local
1990 num = getmntinfo(&mntbufp, MNT_NOWAIT); in get_exportlist()
2012 delete_export(iov, iovlen, &mntbufp[i], errmsg); in get_exportlist()