| /netbsd-src/tests/fs/nfs/nfsservice/ |
| H A D | getmntinfo.c | 59 getmntinfo(mntbufp, flags) in getmntinfo() argument 60 struct statvfs **mntbufp; in getmntinfo() 67 _DIAGASSERT(mntbufp != NULL); 84 *mntbufp = mntbuf;
|
| /netbsd-src/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-src/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-src/external/bsd/am-utils/dist/conf/mtab/ |
| H A D | mtab_bsd.c | 113 struct statfs *mntbufp, *mntp; in read_mtab() local 115 int nloc = getmntinfo(&mntbufp, MNT_NOWAIT); in read_mtab() 122 for (mntp = mntbufp; mntp < mntbufp + nloc; mntp++) { in read_mtab()
|
| H A D | mtab_osf.c | 118 struct statfs *mntbufp, *mntp; in read_mtab() local 120 int nloc = getmntinfo(&mntbufp, MNT_NOWAIT); in read_mtab() 127 for (mntp = mntbufp; mntp < mntbufp + nloc; mntp++) { in read_mtab()
|
| /netbsd-src/lib/libc/gen/ |
| H A D | getmntinfo.c | 54 getmntinfo(struct statvfs **mntbufp, int flags) in getmntinfo() argument 60 _DIAGASSERT(mntbufp != NULL); in getmntinfo() 77 *mntbufp = mntbuf; in getmntinfo()
|
| /netbsd-src/external/bsd/am-utils/dist/conf/checkmount/ |
| H A D | checkmount_bsd44.c | 56 struct statfs *mntbufp, *mntp; in fixmount_check_mount() local 61 nloc = getmntinfo(&mntbufp, MNT_NOWAIT); in fixmount_check_mount() 67 mntp = mntbufp; in fixmount_check_mount()
|
| /netbsd-src/lib/libc/compat/gen/ |
| H A D | compat_getmntinfo.c | 59 __compat_getmntinfo(struct statfs12 **mntbufp, int flags) in __strong_alias() 65 _DIAGASSERT(mntbufp != NULL); in __strong_alias() 83 *mntbufp = mntbuf; in __strong_alias()
|
| H A D | compat___getmntinfo13.c | 58 __compat___getmntinfo13(struct statvfs90 **mntbufp, int flags) in __strong_alias() 64 _DIAGASSERT(mntbufp != NULL); in __strong_alias() 82 *mntbufp = mntbuf; in __strong_alias()
|
| /netbsd-src/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-src/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);
|