| /tools/testing/selftests/powerpc/ptrace/ |
| A D | child.h | 29 #define CHILD_FAIL_IF(x, sync) \ argument 34 (sync)->child_gave_up = true; \ 35 prod_parent(sync); \ 46 prod_child(sync); \ 55 prod_child(sync); \ 81 sem_destroy(&sync->sem_parent); in destroy_child_sync() 82 sem_destroy(&sync->sem_child); in destroy_child_sync() 96 return sync->child_gave_up; in wait_child() 104 ret = sem_post(&sync->sem_child); in prod_child() 118 ret = sem_wait(&sync->sem_child); in wait_parent() [all …]
|
| /tools/testing/selftests/kvm/ |
| A D | memslot_perf_test.c | 291 struct sync_area *sync; in prepare_vm() local 352 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in prepare_vm() 392 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_spin_until_start() local 405 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in _guest_should_exit() local 431 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_perform_sync() local 449 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_move() local 478 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_map() local 510 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_unmap() local 545 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_rw() local 819 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in test_execute() [all …]
|
| /tools/testing/selftests/net/bench/page_pool/ |
| A D | time_bench.c | 257 struct time_bench_sync *sync = cpu->sync; in invoke_test_on_cpu_func() local 266 atomic_inc(&sync->nr_tests_running); in invoke_test_on_cpu_func() 267 wait_for_completion(&sync->start_event); in invoke_test_on_cpu_func() 281 atomic_dec(&sync->nr_tests_running); in invoke_test_on_cpu_func() 331 struct time_bench_sync *sync, in time_bench_run_concurrent() argument 342 atomic_set(&sync->nr_tests_running, 0); in time_bench_run_concurrent() 343 init_completion(&sync->start_event); in time_bench_run_concurrent() 350 c->sync = sync; /* Send sync variable along */ in time_bench_run_concurrent() 371 while (atomic_read(&sync->nr_tests_running) < running) { in time_bench_run_concurrent() 376 complete_all(&sync->start_event); in time_bench_run_concurrent() [all …]
|
| A D | time_bench.h | 65 struct time_bench_sync *sync; /* back ptr */ member 207 struct time_bench_sync *sync, struct time_bench_cpu *cpu_tasks,
|
| /tools/testing/selftests/arm64/mte/ |
| A D | check_user_mem.c | 142 void format_test_name(char* name, int name_len, int type, int sync, int map, int len, int offset) { in format_test_name() argument 165 switch (sync) { in format_test_name() 224 int sync = mte_sync[s]; in main() local 228 int res = check_usermem_access_fault(USE_MMAP, sync, in main() 232 t, sync, map, tag_len, offset); in main()
|
| /tools/testing/selftests/filesystems/fat/ |
| A D | run_fat_tests.sh | 50 sudo sync -f "${MNT_PATH}" 66 sudo sync -f "${MNT_PATH}"
|
| /tools/testing/selftests/pstore/ |
| A D | pstore_crash_test | 25 sync
|
| /tools/testing/selftests/drivers/net/hw/ |
| A D | ncdevmem.c | 177 struct dma_buf_sync sync = {}; in udmabuf_memcpy_to_device() local 179 sync.flags = DMA_BUF_SYNC_START | DMA_BUF_SYNC_WRITE; in udmabuf_memcpy_to_device() 180 ioctl(dst->fd, DMA_BUF_IOCTL_SYNC, &sync); in udmabuf_memcpy_to_device() 184 sync.flags = DMA_BUF_SYNC_END | DMA_BUF_SYNC_WRITE; in udmabuf_memcpy_to_device() 185 ioctl(dst->fd, DMA_BUF_IOCTL_SYNC, &sync); in udmabuf_memcpy_to_device() 191 struct dma_buf_sync sync = {}; in udmabuf_memcpy_from_device() local 193 sync.flags = DMA_BUF_SYNC_START; in udmabuf_memcpy_from_device() 194 ioctl(src->fd, DMA_BUF_IOCTL_SYNC, &sync); in udmabuf_memcpy_from_device() 198 sync.flags = DMA_BUF_SYNC_END; in udmabuf_memcpy_from_device() 199 ioctl(src->fd, DMA_BUF_IOCTL_SYNC, &sync); in udmabuf_memcpy_from_device()
|
| /tools/testing/selftests/net/ |
| A D | timestamping.c | 74 static const unsigned char sync[] = { variable 136 size_t sync_len = ptpv2 ? sizeof(sync_v2) : sizeof(sync); in sendpacket() 137 const void *sync_p = ptpv2 ? sync_v2 : sync; in sendpacket() 157 size_t sync_len = ptpv2 ? sizeof(sync_v2) : sizeof(sync); in printpacket() 158 const void *sync_p = ptpv2 ? sync_v2 : sync; in printpacket()
|
| /tools/testing/selftests/sync/ |
| A D | Makefile | 16 OBJS = sync_test.o sync.o
|
| /tools/memory-model/ |
| A D | linux-kernel.def | 49 synchronize_rcu() { __fence{sync-rcu}; } 50 synchronize_rcu_expedited() { __fence{sync-rcu}; } 57 synchronize_srcu(X) { __srcu{sync-srcu}(X); } 58 synchronize_srcu_expedited(X) { __srcu{sync-srcu}(X); }
|
| A D | linux-kernel.bell | 31 'sync-rcu (*synchronize_rcu*) || 51 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu
|
| /tools/memory-model/Documentation/ |
| A D | herd-representation.txt | 56 | synchronize_rcu | F[sync-rcu] | 63 | synchronize_srcu | SRCU[sync-srcu] |
|
| /tools/testing/selftests/powerpc/math/ |
| A D | vsx_asm.S | 37 sync
|
| A D | fpu_asm.S | 145 sync
|
| A D | vmx_asm.S | 127 sync
|
| /tools/testing/selftests/firmware/ |
| A D | fw_lib.sh | 150 sync
|
| /tools/objtool/ |
| A D | Makefile | 64 $(Q)$(CONFIG_SHELL) ./sync-check.sh
|
| /tools/testing/selftests/dmabuf-heaps/ |
| A D | dmabuf-heap.c | 136 struct dma_buf_sync sync = { in dmabuf_sync() local 140 return ioctl(fd, DMA_BUF_IOCTL_SYNC, &sync); in dmabuf_sync()
|
| /tools/perf/scripts/python/ |
| A D | compaction-times.py | 235 sync, status): argument 242 sync): argument
|
| /tools/power/pm-graph/config/ |
| A D | example.cfg | 45 # run sync before the test, minimizes sys_sync call time (default: false) 46 sync: true
|
| /tools/testing/selftests/net/forwarding/ |
| A D | tsn_lib.sh | 249 --sync-threshold 5000 \
|
| /tools/perf/arch/mips/entry/syscalls/ |
| A D | syscall_n64.tbl | 167 157 n64 sync sys_sync 340 # 329 through 423 are reserved to sync up with other architectures
|
| /tools/scripts/ |
| A D | syscall.tbl | 105 81 common sync sys_sync 346 # 295 through 402 are unassigned to sync up with generic numbers don't use
|
| /tools/perf/arch/xtensa/entry/syscalls/ |
| A D | syscall.tbl | 195 178 common sync sys_sync 376 # 353 through 402 are unassigned to sync up with generic numbers
|