Home
last modified time | relevance | path

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

/netbsd-src/tests/fs/nfs/nfsservice/
H A Dgetmntinfo.c59 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 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-src/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-src/external/bsd/am-utils/dist/conf/mtab/
H A Dmtab_bsd.c113 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 Dmtab_osf.c118 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 Dgetmntinfo.c54 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 Dcheckmount_bsd44.c56 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 Dcompat_getmntinfo.c59 __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 Dcompat___getmntinfo13.c58 __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 Dnfs_prot_osf4.h212 extern int getmntinfo(struct statfs **mntbufp, int flags);
/netbsd-src/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);