Home
last modified time | relevance | path

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

/third_party/ltp/include/
Dtst_fuzzy_sync.h544 while (tst_atomic_load(our_cntr) > 0 in tst_fzsync_pair_wait()
545 && tst_atomic_load(our_cntr) < INT_MAX in tst_fzsync_pair_wait()
546 && !tst_atomic_load(exit)) { in tst_fzsync_pair_wait()
553 while (tst_atomic_load(our_cntr) > 0 in tst_fzsync_pair_wait()
554 && tst_atomic_load(our_cntr) < INT_MAX in tst_fzsync_pair_wait()
555 && !tst_atomic_load(exit)) { in tst_fzsync_pair_wait()
568 while (tst_atomic_load(our_cntr) > 1 in tst_fzsync_pair_wait()
569 && !tst_atomic_load(exit)) in tst_fzsync_pair_wait()
572 while (tst_atomic_load(our_cntr) > 1 in tst_fzsync_pair_wait()
573 && !tst_atomic_load(exit)) in tst_fzsync_pair_wait()
[all …]
Dtst_atomic.h60 static inline int tst_atomic_load(int *v) in tst_atomic_load() function
76 static inline int tst_atomic_load(int *v) in tst_atomic_load() function
129 static inline int tst_atomic_load(int *v) in tst_atomic_load() function
198 static inline int tst_atomic_load(int *v) in tst_atomic_load() function
242 static inline int tst_atomic_load(int *v) in tst_atomic_load() function
305 static inline int tst_atomic_load(int *v) in tst_atomic_load() function
/third_party/ltp/testcases/kernel/mem/mtest06/
Dmmap1.c76 ar_u = tst_atomic_load(&unmapcnt); in sig_handler()
77 ar_m = tst_atomic_load(&mapcnt); in sig_handler()
130 br_map = tst_atomic_load(&mapcnt); in read_mem()
131 br_unmap = tst_atomic_load(&unmapcnt); in read_mem()
135 ar_unmap = tst_atomic_load(&unmapcnt); in read_mem()
136 ar_map = tst_atomic_load(&mapcnt); in read_mem()
/third_party/ltp/lib/newlib_tests/
Dtest15.c56 for (i = tst_atomic_load(&atomic); in worker_load_store()
58 i = tst_atomic_load(&atomic)) in worker_load_store()
78 while (tst_atomic_load(&atomic) > 0) { in mem_spam()
Dtst_fuzzy_sync02.c142 now <= ad.critical_t && tst_atomic_load(&d) > 0) in run()
146 now <= a.critical_t && tst_atomic_load(&c) == 1) { in run()
Dtst_fuzzy_sync01.c165 if (tst_atomic_load(&c)) in worker()
/third_party/ltp/testcases/kernel/fs/fs_fill/
Dfs_fill.c82 if (ms >= 1000 && tst_atomic_load(&enospc_cnt)) in testrun()
85 if (tst_atomic_load(&enospc_cnt) > 100) in testrun()
/third_party/ltp/testcases/kernel/syscalls/futex/
Dfutex_cmp_requeue01.c74 while (!tst_atomic_load(&sd->test_done) in do_child()
139 spurious = tst_atomic_load(&sd->spurious); in verify_futex_cmp_requeue()
/third_party/ltp/testcases/kernel/syscalls/writev/
Dwritev03.c99 for (total_read = 0; total_read < tst_atomic_load(&written);) { in run()
/third_party/ltp/testcases/kernel/fs/read_all/
Dread_all.c142 int front = tst_atomic_load(&q->front); in queue_push()
220 return atomic_timestamp() - tst_atomic_load(&w->last_seen); in worker_elapsed()