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.inc7814 INTERCEPTOR(int, getmntinfo, void **mntbufp, int flags) {
7816 COMMON_INTERCEPTOR_ENTER(ctx, getmntinfo, mntbufp, flags);
7817 int cnt = REAL(getmntinfo)(mntbufp, flags);
7818 if (cnt > 0 && mntbufp) {
7819 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mntbufp, sizeof(void *));
7820 if (*mntbufp)
7822 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs_sz);
7824 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.c371 regetmntinfo(struct statfs **mntbufp, long mntsize) in regetmntinfo() argument
377 return (nflag ? mntsize : getmntinfo(mntbufp, MNT_WAIT)); in regetmntinfo()
379 mntbuf = *mntbufp; in regetmntinfo()
/freebsd/usr.sbin/mountd/
H A Dmountd.c1934 struct statfs *mntbufp; in get_exportlist() local
2035 num = getmntinfo(&mntbufp, MNT_NOWAIT); in get_exportlist()
2057 delete_export(iov, iovlen, &mntbufp[i], errmsg); in get_exportlist()