Lines Matching +full:11 +full:mp
1 /* $NetBSD: t_rwtoro.c,v 1.1 2017/01/27 10:45:11 hannken Exp $ */
58 remount_ro(const atf_tc_t *tc, const char *mp, int expected_errno) in remount_ro() argument
72 RL(rump_sys_statvfs1(mp, &sbuf, ST_WAIT)); in remount_ro()
77 mount_args_length = rump_sys_mount(sbuf.f_fstypename, mp, MNT_GETARGS, in remount_ro()
82 error = rump_sys_mount(sbuf.f_fstypename, mp, MNT_UPDATE | MNT_RDONLY, in remount_ro()
129 basic_test(const atf_tc_t *tc, const char *mp, int expected_errno, in basic_test() argument
138 nargs.nulla_target = __UNCONST(mp);; in basic_test()
143 (*pre)(use_layer ? null_mount : mp); in basic_test()
144 remount_ro(tc, mp, expected_errno); in basic_test()
146 (*post)(use_layer ? null_mount : mp); in basic_test()
152 noneopen(const atf_tc_t *tc, const char *mp) in noneopen() argument
155 basic_test(tc, mp, 0, false, NULL, NULL); in noneopen()
159 readopen(const atf_tc_t *tc, const char *mp) in readopen() argument
162 basic_test(tc, mp, 0, false, open_file_ro, close_file); in readopen()
166 writeopen(const atf_tc_t *tc, const char *mp) in writeopen() argument
169 basic_test(tc, mp, EBUSY, false, open_file_rw, close_file); in writeopen()
173 read_unlinked(const atf_tc_t *tc, const char *mp) in read_unlinked() argument
176 basic_test(tc, mp, EBUSY, false, open_file_ro_unlink, close_file); in read_unlinked()
180 layer_noneopen(const atf_tc_t *tc, const char *mp) in layer_noneopen() argument
183 basic_test(tc, mp, 0, true, NULL, NULL); in layer_noneopen()
187 layer_readopen(const atf_tc_t *tc, const char *mp) in layer_readopen() argument
190 basic_test(tc, mp, 0, true, open_file_ro, close_file); in layer_readopen()
194 layer_writeopen(const atf_tc_t *tc, const char *mp) in layer_writeopen() argument
197 basic_test(tc, mp, EBUSY, true, open_file_rw, close_file); in layer_writeopen()
201 layer_read_unlinked(const atf_tc_t *tc, const char *mp) in layer_read_unlinked() argument
204 basic_test(tc, mp, EBUSY, true, open_file_ro_unlink, close_file); in layer_read_unlinked()