/netbsd-current/external/bsd/am-utils/dist/conf/checkmount/ |
H A D | checkmount_bsd44.c | 56 struct statfs *mntbufp, *mntp; local 61 nloc = getmntinfo(&mntbufp, MNT_NOWAIT); 67 mntp = mntbufp;
|
/netbsd-current/lib/libc/compat/gen/ |
H A D | compat_getmntinfo.c | 59 __compat_getmntinfo(struct statfs12 **mntbufp, int flags) 65 _DIAGASSERT(mntbufp != NULL); 83 *mntbufp = mntbuf;
|
H A D | compat___getmntinfo13.c | 58 __compat___getmntinfo13(struct statvfs90 **mntbufp, int flags) 64 _DIAGASSERT(mntbufp != NULL); 82 *mntbufp = mntbuf;
|
/netbsd-current/lib/libc/gen/ |
H A D | getmntinfo.c | 54 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 D | mtab_bsd.c | 113 struct statfs *mntbufp, *mntp; local 115 int nloc = getmntinfo(&mntbufp, MNT_NOWAIT); 122 for (mntp = mntbufp; mntp < mntbufp + nloc; mntp++) {
|
H A D | mtab_osf.c | 118 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 D | getmntinfo.c | 59 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 D | sanitizer_common_interceptors_netbsd_compat.inc | 68 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 D | sanitizer_common_interceptors.inc | 7593 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 D | sanitizer_common_interceptors_netbsd_compat.inc | 68 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 D | sanitizer_common_interceptors.inc | 7801 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 D | df.c | 346 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 D | nfs_prot_osf4.h | 212 extern int getmntinfo(struct statfs **mntbufp, int flags);
|
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 7289 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);
|