Home
last modified time | relevance | path

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

/freebsd/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/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.inc7975 INTERCEPTOR(int, getmntinfo, void **mntbufp, int flags) {
7977 COMMON_INTERCEPTOR_ENTER(ctx, getmntinfo, mntbufp, flags);
7978 int cnt = REAL(getmntinfo)(mntbufp, flags);
7979 if (cnt > 0 && mntbufp) {
7980 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mntbufp, sizeof(void *));
7981 if (*mntbufp)
7983 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs_sz);
7985 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statfs_sz);
/freebsd/lib/libc/gen/
H A Dgetmntinfo-compat11.c41 freebsd11_getmntinfo(struct freebsd11_statfs **mntbufp, int flags) in freebsd11_getmntinfo() argument
62 *mntbufp = mntbuf; in freebsd11_getmntinfo()
H A Dgetmntinfo.c44 getmntinfo(struct statfs **mntbufp, int mode) in getmntinfo() argument
62 *mntbufp = mntbuf; in getmntinfo()
/freebsd/bin/df/
H A Ddf.c372 regetmntinfo(struct statfs **mntbufp, long mntsize) in regetmntinfo() argument
378 return (nflag ? mntsize : getmntinfo(mntbufp, MNT_WAIT)); in regetmntinfo()
380 mntbuf = *mntbufp; in regetmntinfo()
/freebsd/usr.sbin/mountd/
H A Dmountd.c1958 struct statfs *mntbufp; in get_exportlist() local
2059 num = getmntinfo(&mntbufp, MNT_NOWAIT); in get_exportlist()
2081 delete_export(iov, iovlen, &mntbufp[i], errmsg); in get_exportlist()