Home
last modified time | relevance | path

Searched refs:FIXTURE_DATA (Results 1 – 25 of 26) sorted by relevance

12

/linux/tools/testing/selftests/exec/
H A Dnon-regular.c47 FIXTURE_DATA(file) *self, in FIXTURE_VARIANT()
53 FIXTURE_DATA(file) *self, in setup_link()
81 FIXTURE_DATA(file) *self, in setup_dir()
96 FIXTURE_DATA(file) *self, in setup_node()
134 FIXTURE_DATA(file) *self, in setup_fifo()
/linux/tools/testing/selftests/net/af_unix/
H A Dmsg_oob.c48 FIXTURE_DATA(msg_oob) *self) in create_unix_socketpair()
57 FIXTURE_DATA(msg_oob) *self) in create_tcp_socketpair()
88 FIXTURE_DATA(msg_oob) *self) in setup_sigurg()
117 FIXTURE_DATA(msg_oob) *self) in setup_epollpri()
135 static void close_sockets(FIXTURE_DATA(msg_oob) *self) in close_sockets()
160 FIXTURE_DATA(msg_oob) *self, in __epollpair()
183 FIXTURE_DATA(msg_oob) *self, in __sendpair()
211 FIXTURE_DATA(msg_oob) *self, in __recvpair()
280 FIXTURE_DATA(msg_oob) *self) in __setinlinepair()
294 FIXTURE_DATA(msg_oob) *self, in __siocatmarkpair()
[all …]
H A Dscm_rights.c180 FIXTURE_DATA(scm_rights) *self, in create_listeners()
220 FIXTURE_DATA(scm_rights) *self, in create_socketpairs()
241 FIXTURE_DATA(scm_rights) *self, in __create_sockets()
254 FIXTURE_DATA(scm_rights) *self, in __close_sockets()
268 const FIXTURE_DATA(scm_rights) *self, in __send_fd()
H A Dscm_inq.c54 FIXTURE_DATA(scm_inq) *self) in send_chunks()
66 FIXTURE_DATA(scm_inq) *self) in recv_chunks()
H A Ddiag_uid.c77 FIXTURE_DATA(diag_uid) *self, in send_request()
135 FIXTURE_DATA(diag_uid) *self) in receive_response()
H A Dscm_pidfd.c408 static void client(FIXTURE_DATA(scm_pidfd) *self, in client()
/linux/tools/testing/selftests/proc/
H A Dproc-maps-race.c87 typedef bool (*vma_modifier_op)(FIXTURE_DATA(proc_maps_race) *self);
109 static bool read_two_pages(FIXTURE_DATA(proc_maps_race) *self) in read_two_pages()
154 static bool read_boundary_lines(FIXTURE_DATA(proc_maps_race) *self, in read_boundary_lines()
229 static void print_boundaries(const char *title, FIXTURE_DATA(proc_maps_race) *self) in print_boundaries()
242 FIXTURE_DATA(proc_maps_race) *self) in print_boundaries_on()
284 static bool capture_mod_pattern(FIXTURE_DATA(proc_maps_race) *self, in capture_mod_pattern()
341 static inline bool split_vma(FIXTURE_DATA(proc_maps_race) *self) in split_vma()
347 static inline bool merge_vma(FIXTURE_DATA(proc_maps_race) *self) in merge_vma()
363 static inline bool shrink_vma(FIXTURE_DATA(proc_maps_race) *self) in shrink_vma()
369 static inline bool expand_vma(FIXTURE_DATA(proc_maps_race) *self) in expand_vma()
[all …]
/linux/tools/testing/selftests/mm/
H A Dmemory-failure.c56 int (*inject)(FIXTURE_DATA(memory_failure) * self, void *vaddr); in FIXTURE_VARIANT()
59 static int madv_hard_inject(FIXTURE_DATA(memory_failure) * self, void *vaddr) in madv_hard_inject()
70 static int madv_soft_inject(FIXTURE_DATA(memory_failure) * self, void *vaddr) in madv_soft_inject()
133 static void prepare(struct __test_metadata *_metadata, FIXTURE_DATA(memory_failure) * self, in prepare()
157 static void check(struct __test_metadata *_metadata, FIXTURE_DATA(memory_failure) * self, in check()
204 static void cleanup(struct __test_metadata *_metadata, FIXTURE_DATA(memory_failure) * self, in cleanup()
H A Dguard-regions.c85 static void *mmap_(FIXTURE_DATA(guard_regions) * self, in mmap_()
274 static bool local_fs_has_sane_mmap(FIXTURE_DATA(guard_regions) * self, in local_fs_has_sane_mmap()
/linux/tools/testing/selftests/kvm/s390/
H A Ducontrol_test.c272 static void *gpa2hva(FIXTURE_DATA(uc_kvm) *self, u64 gpa) in gpa2hva()
278 static int uc_map_ext(FIXTURE_DATA(uc_kvm) *self, u64 vcpu_addr, u64 length) in uc_map_ext()
291 static int uc_unmap_ext(FIXTURE_DATA(uc_kvm) *self, u64 vcpu_addr, u64 length) in uc_unmap_ext()
304 static void uc_handle_exit_ucontrol(FIXTURE_DATA(uc_kvm) *self) in uc_handle_exit_ucontrol()
330 static void uc_skey_enable(FIXTURE_DATA(uc_kvm) *self) in uc_skey_enable()
344 static bool uc_handle_insn_ic(FIXTURE_DATA(uc_kvm) *self) in uc_handle_insn_ic()
370 static bool uc_handle_sieic(FIXTURE_DATA(uc_kvm) *self) in uc_handle_sieic()
398 static bool uc_handle_exit(FIXTURE_DATA(uc_kvm) *self) in uc_handle_exit()
418 static int uc_run_once(FIXTURE_DATA(uc_kvm) *self) in uc_run_once()
429 static void uc_assert_diag44(FIXTURE_DATA(uc_kvm) *self) in uc_assert_diag44()
/linux/tools/testing/selftests/net/
H A Dso_incoming_cpu.c124 FIXTURE_DATA(so_incoming_cpu) *self, in create_server()
158 FIXTURE_DATA(so_incoming_cpu) *self, in create_servers()
179 FIXTURE_DATA(so_incoming_cpu) *self) in create_clients()
210 FIXTURE_DATA(so_incoming_cpu) *self) in verify_incoming_cpu()
H A Dbind_timewait.c43 FIXTURE_DATA(bind_timewait) *self) in create_timewait_socket()
H A Dtun.c850 receive_gso_packet_from_tunnel(FIXTURE_DATA(tun_vnet_udptnl) * self, in receive_gso_packet_from_tunnel()
873 static int send_gso_packet_into_tunnel(FIXTURE_DATA(tun_vnet_udptnl) * self, in send_gso_packet_into_tunnel()
889 receive_gso_packet_from_tun(FIXTURE_DATA(tun_vnet_udptnl) * self, in receive_gso_packet_from_tun()
H A Dbind_wildcard.c693 static void setup_addr(FIXTURE_DATA(bind_wildcard) *self, int i, in setup_addr()
740 FIXTURE_DATA(bind_wildcard) *self, in bind_socket()
/linux/tools/testing/selftests/
H A Dkselftest_harness.h219 #define FIXTURE_DATA(datatype_name) struct _test_data_##datatype_name macro
246 FIXTURE_DATA(fixture_name)
270 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \
319 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \
409 FIXTURE_DATA(fixture_name) *self, \
416 FIXTURE_DATA(fixture_name) self_private, *self = NULL; \
487 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c117 FIXTURE_DATA(fanotify) *self, in expect_notify()
163 FIXTURE_DATA(fanotify) *self, in expect_notify_n()
173 FIXTURE_DATA(fanotify) *self, in expect_notify_mask()
186 FIXTURE_DATA(fanotify) *self, in expect_notify_mask_n()
H A Dmount-notify_test_ns.c144 FIXTURE_DATA(fanotify) *self, in expect_notify()
190 FIXTURE_DATA(fanotify) *self, in expect_notify_n()
200 FIXTURE_DATA(fanotify) *self, in expect_notify_mask()
213 FIXTURE_DATA(fanotify) *self, in expect_notify_mask_n()
/linux/tools/testing/selftests/coredump/
H A Dcoredump_test.h39 FIXTURE_DATA(coredump) *self) in wait_and_check_coredump_server()
/linux/tools/testing/selftests/drivers/s390x/uvdevice/
H A Dtest_uvdevice.c188 FIXTURE_DATA(attest_fixture) *self) in att_inval_sizes_test()
235 FIXTURE_DATA(attest_fixture) *self) in att_inval_addr_test()
/linux/tools/testing/selftests/hid/
H A Dhidraw.c18 static void close_hidraw(FIXTURE_DATA(hidraw) * self) in close_hidraw()
H A Dhid_bpf.c22 static void detach_bpf(FIXTURE_DATA(hid_bpf) * self) in detach_bpf()
76 FIXTURE_DATA(hid_bpf) * self, in load_programs()
/linux/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c178 FIXTURE_DATA(fixture_name) *self, \
203 FIXTURE_DATA(fixture_name) __attribute__((unused)) *self, \
/linux/tools/testing/selftests/perf_events/
H A Dsigtrap_threads.c150 FIXTURE_DATA(sigtrap_threads) *self) in run_test_threads()
/linux/tools/testing/selftests/tty/
H A Dtty_tiocsti_test.c413 FIXTURE_DATA(tiocsti) * self, in run_basic_tiocsti_test()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c2064 FIXTURE_DATA(TRACE_syscall) *self = args; in tracer_ptrace()

12