/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | common.h | 110 static void _init_caps(struct __test_metadata *const _metadata, bool drop_all) in _init_caps() 148 static void __maybe_unused disable_caps(struct __test_metadata *const _metadata) in disable_caps() 153 static void __maybe_unused drop_caps(struct __test_metadata *const _metadata) in drop_caps() 158 static void _effective_cap(struct __test_metadata *const _metadata, in _effective_cap() 182 static void __maybe_unused set_cap(struct __test_metadata *const _metadata, in set_cap() 188 static void __maybe_unused clear_cap(struct __test_metadata *const _metadata, in clear_cap()
|
H A D | fs_test.c | 155 static void mkdir_parents(struct __test_metadata *const _metadata, in mkdir_parents() 181 static void create_directory(struct __test_metadata *const _metadata, in create_directory() 192 static void create_file(struct __test_metadata *const _metadata, in create_file() 257 static void prepare_layout_opt(struct __test_metadata *const _metadata, in prepare_layout_opt() 286 static void prepare_layout(struct __test_metadata *const _metadata) in prepare_layout() 291 static void cleanup_layout(struct __test_metadata *const _metadata) in cleanup_layout() 313 static void create_layout1(struct __test_metadata *const _metadata) in create_layout1() 336 static void remove_layout1(struct __test_metadata *const _metadata) in remove_layout1() 650 static int create_ruleset(struct __test_metadata *const _metadata, in create_ruleset() 682 static void enforce_ruleset(struct __test_metadata *const _metadata, in enforce_ruleset() [all …]
|
H A D | ptrace_test.c | 28 static void create_domain(struct __test_metadata *const _metadata) in create_domain()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | so_incoming_cpu.c | 56 static void write_sysctl(struct __test_metadata *_metadata, in write_sysctl() 69 static void setup_netns(struct __test_metadata *_metadata) in setup_netns() 115 void set_so_incoming_cpu(struct __test_metadata *_metadata, int fd, int cpu) in set_so_incoming_cpu() 123 int create_server(struct __test_metadata *_metadata, in create_server() 157 void create_servers(struct __test_metadata *_metadata, in create_servers() 178 void create_clients(struct __test_metadata *_metadata, in create_clients() 209 void verify_incoming_cpu(struct __test_metadata *_metadata, in verify_incoming_cpu()
|
H A D | bind_timewait.c | 42 void create_timewait_socket(struct __test_metadata *_metadata, in create_timewait_socket()
|
H A D | reuseaddr_ports_exhausted.c | 54 int bind_port(struct __test_metadata *_metadata, int reuseaddr, int reuseport) in bind_port()
|
H A D | bind_wildcard.c | 111 void bind_sockets(struct __test_metadata *_metadata, in bind_sockets()
|
H A D | tls.c | 109 static void ulp_sock_pair(struct __test_metadata *_metadata, in ulp_sock_pair() 182 static int tls_recv_cmsg(struct __test_metadata *_metadata, in tls_recv_cmsg() 432 static void chunked_sendfile(struct __test_metadata *_metadata, in chunked_sendfile() 1352 test_mutliproc(struct __test_metadata *_metadata, struct _test_data_tls *self, in test_mutliproc()
|
/openbmc/linux/tools/testing/selftests/exec/ |
H A D | non-regular.c | 15 void rm(struct __test_metadata *_metadata, const char *pathname, in rm() 52 void setup_link(struct __test_metadata *_metadata, in setup_link() 80 void setup_dir(struct __test_metadata *_metadata, in setup_dir() 95 void setup_node(struct __test_metadata *_metadata, in setup_node() 133 void setup_fifo(struct __test_metadata *_metadata, in setup_fifo()
|
/openbmc/linux/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 117 static int uhid_write(struct __test_metadata *_metadata, int fd, const struct uhid_event *ev) in uhid_write() 134 static int uhid_create(struct __test_metadata *_metadata, int fd, int rand_nb) in uhid_create() 158 static void uhid_destroy(struct __test_metadata *_metadata, int fd) in uhid_destroy() 168 static int uhid_event(struct __test_metadata *_metadata, int fd) in uhid_event() 233 struct __test_metadata *_metadata; member 238 struct __test_metadata *_metadata = args->_metadata; in uhid_read_events_thread() local 264 static int uhid_start_listener(struct __test_metadata *_metadata, pthread_t *tid, int uhid_fd) in uhid_start_listener() 286 static int uhid_send_event(struct __test_metadata *_metadata, int fd, __u8 *buf, size_t size) in uhid_send_event() 302 static int setup_uhid(struct __test_metadata *_metadata, int rand_nb) in setup_uhid() 510 struct __test_metadata *_metadata, in load_programs()
|
/openbmc/linux/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 39 static void change_mountns(struct __test_metadata *_metadata) in change_mountns() 56 static int __do_binderfs_test(struct __test_metadata *_metadata) in __do_binderfs_test() 294 static void change_userns(struct __test_metadata *_metadata, int syncfds[2]) in change_userns() 324 static void change_idmaps(struct __test_metadata *_metadata, int syncfds[2], pid_t pid) in change_idmaps() 360 struct __test_metadata *_metadata = _thread_metadata; in binder_version_thread() local
|
/openbmc/linux/tools/testing/selftests/net/af_unix/ |
H A D | diag_uid.c | 76 int send_request(struct __test_metadata *_metadata, in send_request() 116 void render_response(struct __test_metadata *_metadata, in render_response() 134 void receive_response(struct __test_metadata *_metadata, in receive_response()
|
/openbmc/linux/tools/testing/selftests/clone3/ |
H A D | clone3_cap_checkpoint_restore.c | 41 static int call_clone3_set_tid(struct __test_metadata *_metadata, in call_clone3_set_tid() 83 static int test_clone3_set_tid(struct __test_metadata *_metadata, in test_clone3_set_tid()
|
/openbmc/linux/tools/testing/selftests/iommu/ |
H A D | iommufd_fail_nth.c | 89 static void fail_nth_first(struct __test_metadata *_metadata, in fail_nth_first() 99 static bool fail_nth_next(struct __test_metadata *_metadata, in fail_nth_next() 159 void __fail_nth_enable(struct __test_metadata *_metadata, in __fail_nth_enable()
|
H A D | iommufd.c | 762 static void check_access_rw(struct __test_metadata *_metadata, int fd, in check_access_rw() 1607 static void check_vfio_info_cap_chain(struct __test_metadata *_metadata, in check_vfio_info_cap_chain()
|
H A D | iommufd_utils.h | 327 static void teardown_iommufd(int fd, struct __test_metadata *_metadata) in teardown_iommufd()
|
/openbmc/linux/tools/testing/selftests/drivers/s390x/uvdevice/ |
H A D | test_uvdevice.c | 187 struct __test_metadata *_metadata, in att_inval_sizes_test() 234 static void att_inval_addr_test(__u64 *addr, struct __test_metadata *_metadata, in att_inval_addr_test()
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 801 void kill_thread_or_group(struct __test_metadata *_metadata, in kill_thread_or_group() 1585 pid_t setup_trace_fixture(struct __test_metadata *_metadata, in setup_trace_fixture() 1614 void teardown_trace_fixture(struct __test_metadata *_metadata, in teardown_trace_fixture() 1936 int get_syscall(struct __test_metadata *_metadata, pid_t tracee) in get_syscall() 1948 void __change_syscall(struct __test_metadata *_metadata, in __change_syscall() 1974 void change_syscall_nr(struct __test_metadata *_metadata, in change_syscall_nr() 1981 void change_syscall_ret(struct __test_metadata *_metadata, in change_syscall_ret() 1989 void tracer_seccomp(struct __test_metadata *_metadata, pid_t tracee, in tracer_seccomp() 2040 void tracer_ptrace(struct __test_metadata *_metadata, pid_t tracee, in tracer_ptrace() 4443 static char get_proc_stat(struct __test_metadata *_metadata, pid_t pid) in get_proc_stat() [all …]
|
/openbmc/linux/tools/testing/selftests/perf_events/ |
H A D | sigtrap_threads.c | 149 static void run_test_threads(struct __test_metadata *_metadata, in run_test_threads()
|
/openbmc/linux/tools/testing/selftests/sgx/ |
H A D | main.c | 176 struct __test_metadata *_metadata) in setup_test_encl()
|
/openbmc/linux/tools/testing/selftests/ |
H A D | kselftest_harness.h | 697 #define __INC_STEP(_metadata) \ argument
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_trap.c | 387 #define MLXSW_SP_TRAP_DROP_EXT(_id, _group_id, _metadata) \ argument
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | dev.c | 674 #define NSIM_TRAP_DROP_EXT(_id, _group_id, _metadata) \ argument
|