Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/
Dkselftest_harness.h113 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__)
126 snprintf(_metadata->results->reason, \
127 sizeof(_metadata->results->reason), fmt, ##__VA_ARGS__); \
130 _metadata->results->reason); \
132 _metadata->passed = 1; \
133 _metadata->skip = 1; \
134 _metadata->trigger = 0; \
177 static void test_name(struct __test_metadata *_metadata); \
179 struct __test_metadata *_metadata, \
182 test_name(_metadata); \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/exec/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c39 static void change_mountns(struct __test_metadata *_metadata) in change_mountns() argument
56 static int __do_binderfs_test(struct __test_metadata *_metadata) in __do_binderfs_test() argument
66 change_mountns(_metadata); in __do_binderfs_test()
276 static void change_userns(struct __test_metadata *_metadata, int syncfds[2]) in change_userns() argument
306 static void change_idmaps(struct __test_metadata *_metadata, int syncfds[2], pid_t pid) in change_idmaps() argument
342 struct __test_metadata *_metadata = _thread_metadata; in binder_version_thread() local
388 change_userns(_metadata, syncfds); in TEST()
389 change_mountns(_metadata); in TEST()
438 _thread_metadata = _metadata; in TEST()
467 change_idmaps(_metadata, syncfds, pid); in TEST()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtls.c216 static void chunked_sendfile(struct __test_metadata *_metadata, in chunked_sendfile() argument
253 chunked_sendfile(_metadata, self, 4096, 4096); in TEST_F()
254 chunked_sendfile(_metadata, self, 4096, 0); in TEST_F()
255 chunked_sendfile(_metadata, self, 4096, 1); in TEST_F()
256 chunked_sendfile(_metadata, self, 4096, 2048); in TEST_F()
257 chunked_sendfile(_metadata, self, 8192, 2048); in TEST_F()
258 chunked_sendfile(_metadata, self, 4096, 8192); in TEST_F()
259 chunked_sendfile(_metadata, self, 8192, 4096); in TEST_F()
260 chunked_sendfile(_metadata, self, 12288, 1024); in TEST_F()
261 chunked_sendfile(_metadata, self, 12288, 2000); in TEST_F()
[all …]
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()
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c784 void kill_thread_or_group(struct __test_metadata *_metadata, in kill_thread_or_group() argument
855 kill_thread_or_group(_metadata, KILL_THREAD); in TEST()
874 kill_thread_or_group(_metadata, KILL_PROCESS); in TEST()
893 kill_thread_or_group(_metadata, RET_UNKNOWN); in TEST()
1493 typedef void tracer_func_t(struct __test_metadata *_metadata,
1496 void start_tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in start_tracer() argument
1545 tracer_func(_metadata, tracee, status, args); in start_tracer()
1552 syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in start_tracer()
1558 pid_t setup_trace_fixture(struct __test_metadata *_metadata, in setup_trace_fixture() argument
1575 start_tracer(_metadata, pipefd[1], tracee, func, args, in setup_trace_fixture()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Ddev-meta.rst3 .. _metadata:
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Ddev.c433 #define NSIM_TRAP_DROP_EXT(_id, _group_id, _metadata) \ argument
436 NSIM_TRAP_METADATA | (_metadata))
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c227 #define MLXSW_SP_TRAP_DROP_EXT(_id, _group_id, _metadata) \ argument
230 MLXSW_SP_TRAP_METADATA | (_metadata))