Home
last modified time | relevance | path

Searched refs:_metadata (Results 1 – 15 of 15) sorted by relevance

/linux/tools/testing/selftests/landlock/
A Dfs_test.c105 mkdir_parents(_metadata, path); in create_directory()
158 disable_caps(_metadata); in prepare_layout()
229 prepare_layout(_metadata); in FIXTURE_SETUP()
231 create_layout1(_metadata); in FIXTURE_SETUP()
236 remove_layout1(_metadata); in FIXTURE_TEARDOWN()
238 cleanup_layout(_metadata); in FIXTURE_TEARDOWN()
558 drop_caps(_metadata); in TEST_F_FORK()
2078 prepare_layout(_metadata); in FIXTURE_SETUP()
2080 create_layout1(_metadata); in FIXTURE_SETUP()
2093 remove_layout1(_metadata); in FIXTURE_TEARDOWN()
[all …]
A Dcommon.h44 _metadata->no_print = 1; \
46 if (_metadata->skip) \
48 if (_metadata->passed) \
50 _exit(_metadata->step); \
55 _metadata->passed = 0; \
56 _metadata->step = 1; \
61 _metadata->passed = 1; \
64 _metadata->passed = 1; \
65 _metadata->skip = 1; \
68 _metadata->passed = 0; \
[all …]
A Dptrace_test.c22 static void create_domain(struct __test_metadata *const _metadata) in create_domain() argument
220 drop_caps(_metadata); in TEST_F()
226 create_domain(_metadata); in TEST_F()
227 if (!_metadata->passed) in TEST_F()
240 create_domain(_metadata); in TEST_F()
283 _exit(_metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in TEST_F()
290 create_domain(_metadata); in TEST_F()
334 _metadata->passed = 0; in TEST_F()
A Dbase_test.c139 drop_caps(_metadata); in TEST()
153 drop_caps(_metadata); in TEST()
197 drop_caps(_metadata); in TEST()
247 _exit(_metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in TEST()
/linux/tools/testing/selftests/
A Dkselftest_harness.h136 _metadata->passed = 1; \
137 _metadata->skip = 1; \
138 _metadata->trigger = 0; \
186 test_name(_metadata); \
386 if (!_metadata->passed) \
683 for (; _metadata->trigger; _metadata->trigger = \
684 __bail(_assert, _metadata->no_print, _metadata->step))
688 if (_metadata->passed && _metadata->step < 253) \
689 _metadata->step++;
734 _metadata->passed = 0; \
[all …]
/linux/tools/testing/selftests/exec/
A Dnon-regular.c15 void rm(struct __test_metadata *_metadata, const char *pathname, in rm() argument
46 void (*setup)(struct __test_metadata *_metadata, in FIXTURE_VARIANT()
52 void setup_link(struct __test_metadata *_metadata, in setup_link() argument
80 void setup_dir(struct __test_metadata *_metadata, in setup_dir() argument
95 void setup_node(struct __test_metadata *_metadata, in setup_node() argument
133 void setup_fifo(struct __test_metadata *_metadata, in setup_fifo() argument
152 rm(_metadata, self->pathname, variant->is_dir); in FIXTURE_SETUP()
153 variant->setup(_metadata, self, variant); in FIXTURE_SETUP()
158 rm(_metadata, self->pathname, self->is_dir); in FIXTURE_TEARDOWN()
/linux/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c39 static void change_mountns(struct __test_metadata *_metadata) in change_mountns() argument
69 change_mountns(_metadata); in __do_binderfs_test()
359 struct __test_metadata *_metadata = _thread_metadata; in binder_version_thread() local
405 change_userns(_metadata, syncfds); in TEST()
406 change_mountns(_metadata); in TEST()
455 _thread_metadata = _metadata; in TEST()
484 change_idmaps(_metadata, syncfds, pid); in TEST()
497 if (__do_binderfs_test(_metadata)) in TEST()
520 change_userns(_metadata, syncfds); in TEST()
521 if (__do_binderfs_test(_metadata)) in TEST()
[all …]
/linux/tools/testing/selftests/clone3/
A Dclone3_cap_checkpoint_restore.c41 static int call_clone3_set_tid(struct __test_metadata *_metadata, in call_clone3_set_tid() argument
83 static int test_clone3_set_tid(struct __test_metadata *_metadata, in test_clone3_set_tid() argument
89 ret = call_clone3_set_tid(_metadata, set_tid, set_tid_size); in test_clone3_set_tid()
175 ASSERT_EQ(test_clone3_set_tid(_metadata, set_tid, 1), -EPERM); in TEST()
179 ASSERT_EQ(test_clone3_set_tid(_metadata, set_tid, 1), 0); in TEST()
/linux/tools/testing/selftests/net/
A Dtls.c394 chunked_sendfile(_metadata, self, 4096, 4096); in TEST_F()
395 chunked_sendfile(_metadata, self, 4096, 0); in TEST_F()
396 chunked_sendfile(_metadata, self, 4096, 1); in TEST_F()
397 chunked_sendfile(_metadata, self, 4096, 2048); in TEST_F()
398 chunked_sendfile(_metadata, self, 8192, 2048); in TEST_F()
399 chunked_sendfile(_metadata, self, 4096, 8192); in TEST_F()
400 chunked_sendfile(_metadata, self, 8192, 4096); in TEST_F()
403 chunked_sendfile(_metadata, self, 15360, 100); in TEST_F()
404 chunked_sendfile(_metadata, self, 15360, 300); in TEST_F()
405 chunked_sendfile(_metadata, self, 1, 4096); in TEST_F()
[all …]
A Dreuseaddr_ports_exhausted.c54 int bind_port(struct __test_metadata *_metadata, int reuseaddr, int reuseport) in bind_port() argument
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
/linux/tools/testing/selftests/perf_events/
A Dsigtrap_threads.c142 static void run_test_threads(struct __test_metadata *_metadata, in run_test_threads() argument
154 run_test_threads(_metadata, self); in TEST_F()
162 run_test_threads(_metadata, self); in TEST_F()
181 run_test_threads(_metadata, self); in TEST_F()
200 run_test_threads(_metadata, self); in TEST_F()
/linux/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c859 kill_thread_or_group(_metadata, KILL_THREAD); in TEST()
897 kill_thread_or_group(_metadata, RET_UNKNOWN); in TEST()
1549 tracer_func(_metadata, tracee, status, args); in start_tracer()
1603 _metadata->passed = 0; in teardown_trace_fixture()
2123 self->tracer = setup_trace_fixture(_metadata, in FIXTURE_SETUP()
2160 negative_ENOSYS(_metadata); in TEST_F()
2518 self->sibling[0].metadata = _metadata; in FIXTURE_SETUP()
2526 self->sibling[1].metadata = _metadata; in FIXTURE_SETUP()
3042 ret = get_syscall(_metadata, child_pid); in TEST()
3085 ret = get_syscall(_metadata, child_pid); in TEST()
[all …]
/linux/Documentation/userspace-api/media/v4l/
A Ddev-meta.rst3 .. _metadata:
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_trap.c387 #define MLXSW_SP_TRAP_DROP_EXT(_id, _group_id, _metadata) \ argument
390 MLXSW_SP_TRAP_METADATA | (_metadata))
/linux/drivers/net/netdevsim/
A Ddev.c671 #define NSIM_TRAP_DROP_EXT(_id, _group_id, _metadata) \ argument
674 NSIM_TRAP_METADATA | (_metadata))

Completed in 41 milliseconds