Lines Matching refs:mp
58 remount_ro(const atf_tc_t *tc, const char *mp, int expected_errno)
72 RL(rump_sys_statvfs1(mp, &sbuf, ST_WAIT));
77 mount_args_length = rump_sys_mount(sbuf.f_fstypename, mp, MNT_GETARGS,
82 error = rump_sys_mount(sbuf.f_fstypename, mp, MNT_UPDATE | MNT_RDONLY,
129 basic_test(const atf_tc_t *tc, const char *mp, int expected_errno,
138 nargs.nulla_target = __UNCONST(mp);
143 (*pre)(use_layer ? null_mount : mp);
144 remount_ro(tc, mp, expected_errno);
146 (*post)(use_layer ? null_mount : mp);
152 noneopen(const atf_tc_t *tc, const char *mp)
155 basic_test(tc, mp, 0, false, NULL, NULL);
159 readopen(const atf_tc_t *tc, const char *mp)
162 basic_test(tc, mp, 0, false, open_file_ro, close_file);
166 writeopen(const atf_tc_t *tc, const char *mp)
169 basic_test(tc, mp, EBUSY, false, open_file_rw, close_file);
173 read_unlinked(const atf_tc_t *tc, const char *mp)
176 basic_test(tc, mp, EBUSY, false, open_file_ro_unlink, close_file);
180 layer_noneopen(const atf_tc_t *tc, const char *mp)
183 basic_test(tc, mp, 0, true, NULL, NULL);
187 layer_readopen(const atf_tc_t *tc, const char *mp)
190 basic_test(tc, mp, 0, true, open_file_ro, close_file);
194 layer_writeopen(const atf_tc_t *tc, const char *mp)
197 basic_test(tc, mp, EBUSY, true, open_file_rw, close_file);
201 layer_read_unlinked(const atf_tc_t *tc, const char *mp)
204 basic_test(tc, mp, EBUSY, true, open_file_ro_unlink, close_file);