Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/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.inc7800 INTERCEPTOR(int, getmntinfo, void **mntbufp, int flags) {
7802 COMMON_INTERCEPTOR_ENTER(ctx, getmntinfo, mntbufp, flags);
7803 int cnt = REAL(getmntinfo)(mntbufp, flags);
7804 if (cnt > 0 && mntbufp) {
7805 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mntbufp, sizeof(void *));
7806 if (*mntbufp)
7808 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs_sz);
7810 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statfs_sz);
/freebsd-14.2/lib/libc/gen/
H A Dgetmntinfo-compat11.c43 freebsd11_getmntinfo(struct freebsd11_statfs **mntbufp, int flags) in freebsd11_getmntinfo() argument
64 *mntbufp = mntbuf; in freebsd11_getmntinfo()
H A Dgetmntinfo.c46 getmntinfo(struct statfs **mntbufp, int mode) in getmntinfo() argument
64 *mntbufp = mntbuf; in getmntinfo()
/freebsd-14.2/bin/df/
H A Ddf.c383 regetmntinfo(struct statfs **mntbufp, long mntsize) in regetmntinfo() argument
389 return (nflag ? mntsize : getmntinfo(mntbufp, MNT_WAIT)); in regetmntinfo()
391 mntbuf = *mntbufp; in regetmntinfo()
/freebsd-14.2/usr.sbin/mountd/
H A Dmountd.c1936 struct statfs *mntbufp; in get_exportlist() local
2037 num = getmntinfo(&mntbufp, MNT_NOWAIT); in get_exportlist()
2059 delete_export(iov, iovlen, &mntbufp[i], errmsg); in get_exportlist()