Searched refs:mntbufp (Results 1 - 14 of 14) sorted by relevance

/netbsd-current/external/bsd/am-utils/dist/conf/checkmount/
H A Dcheckmount_bsd44.c56 struct statfs *mntbufp, *mntp; local
61 nloc = getmntinfo(&mntbufp, MNT_NOWAIT);
67 mntp = mntbufp;
/netbsd-current/lib/libc/compat/gen/
H A Dcompat_getmntinfo.c59 __compat_getmntinfo(struct statfs12 **mntbufp, int flags)
65 _DIAGASSERT(mntbufp != NULL);
83 *mntbufp = mntbuf;
H A Dcompat___getmntinfo13.c58 __compat___getmntinfo13(struct statvfs90 **mntbufp, int flags)
64 _DIAGASSERT(mntbufp != NULL);
82 *mntbufp = mntbuf;
/netbsd-current/lib/libc/gen/
H A Dgetmntinfo.c54 getmntinfo(struct statvfs **mntbufp, int flags) argument
60 _DIAGASSERT(mntbufp != NULL);
77 *mntbufp = mntbuf;
/netbsd-current/external/bsd/am-utils/dist/conf/mtab/
H A Dmtab_bsd.c113 struct statfs *mntbufp, *mntp; local
115 int nloc = getmntinfo(&mntbufp, MNT_NOWAIT);
122 for (mntp = mntbufp; mntp < mntbufp + nloc; mntp++) {
H A Dmtab_osf.c118 struct statfs *mntbufp, *mntp; local
120 int nloc = getmntinfo(&mntbufp, MNT_NOWAIT);
127 for (mntp = mntbufp; mntp < mntbufp + nloc; mntp++) {
/netbsd-current/tests/fs/nfs/nfsservice/
H A Dgetmntinfo.c59 getmntinfo(mntbufp, flags)
60 struct statvfs **mntbufp;
67 _DIAGASSERT(mntbufp != NULL);
84 *mntbufp = mntbuf;
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/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.inc7593 INTERCEPTOR(int, getmntinfo, void **mntbufp, int flags) {
7595 COMMON_INTERCEPTOR_ENTER(ctx, getmntinfo, mntbufp, flags);
7596 int cnt = REAL(getmntinfo)(mntbufp, flags);
7597 if (cnt > 0 && mntbufp) {
7598 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mntbufp, sizeof(void *));
7599 if (*mntbufp)
7601 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs_sz);
7603 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statfs_sz);
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/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.inc7801 INTERCEPTOR(int, getmntinfo, void **mntbufp, int flags) {
7803 COMMON_INTERCEPTOR_ENTER(ctx, getmntinfo, mntbufp, flags);
7804 int cnt = REAL(getmntinfo)(mntbufp, flags);
7805 if (cnt > 0 && mntbufp) {
7806 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mntbufp, sizeof(void *));
7807 if (*mntbufp)
7809 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs_sz);
7811 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statfs_sz);
/netbsd-current/bin/df/
H A Ddf.c346 regetmntinfo(struct statvfs **mntbufp, size_t count) argument
352 return nflag ? count : (size_t)getmntinfo(mntbufp, MNT_WAIT);
354 mntbuf = *mntbufp;
/netbsd-current/external/bsd/am-utils/dist/conf/nfs_prot/
H A Dnfs_prot_osf4.h212 extern int getmntinfo(struct statfs **mntbufp, int flags);
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc7289 INTERCEPTOR(int, getmntinfo, void **mntbufp, int flags) {
7291 COMMON_INTERCEPTOR_ENTER(ctx, getmntinfo, mntbufp, flags);
7292 int cnt = REAL(getmntinfo)(mntbufp, flags);
7293 if (cnt > 0 && mntbufp) {
7294 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mntbufp, sizeof(void *));
7295 if (*mntbufp)
7297 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statvfs_sz);
7299 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *mntbufp, cnt * struct_statfs_sz);

Completed in 336 milliseconds