Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 46) sorted by relevance

12

/tools/testing/selftests/powerpc/ptrace/
A Dchild.h29 #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 Dmemslot_perf_test.c291 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 Dtime_bench.c257 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 Dtime_bench.h65 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 Dcheck_user_mem.c142 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 Drun_fat_tests.sh50 sudo sync -f "${MNT_PATH}"
66 sudo sync -f "${MNT_PATH}"
/tools/testing/selftests/pstore/
A Dpstore_crash_test25 sync
/tools/testing/selftests/drivers/net/hw/
A Dncdevmem.c177 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 Dtimestamping.c74 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 DMakefile16 OBJS = sync_test.o sync.o
/tools/memory-model/
A Dlinux-kernel.def49 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 Dlinux-kernel.bell31 'sync-rcu (*synchronize_rcu*) ||
51 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu
/tools/memory-model/Documentation/
A Dherd-representation.txt56 | synchronize_rcu | F[sync-rcu] |
63 | synchronize_srcu | SRCU[sync-srcu] |
/tools/testing/selftests/powerpc/math/
A Dvsx_asm.S37 sync
A Dfpu_asm.S145 sync
A Dvmx_asm.S127 sync
/tools/testing/selftests/firmware/
A Dfw_lib.sh150 sync
/tools/objtool/
A DMakefile64 $(Q)$(CONFIG_SHELL) ./sync-check.sh
/tools/testing/selftests/dmabuf-heaps/
A Ddmabuf-heap.c136 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 Dcompaction-times.py235 sync, status): argument
242 sync): argument
/tools/power/pm-graph/config/
A Dexample.cfg45 # run sync before the test, minimizes sys_sync call time (default: false)
46 sync: true
/tools/testing/selftests/net/forwarding/
A Dtsn_lib.sh249 --sync-threshold 5000 \
/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl167 157 n64 sync sys_sync
340 # 329 through 423 are reserved to sync up with other architectures
/tools/scripts/
A Dsyscall.tbl105 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 Dsyscall.tbl195 178 common sync sys_sync
376 # 353 through 402 are unassigned to sync up with generic numbers

Completed in 29 milliseconds

12