/third_party/ltp/testcases/kernel/mem/ksm/ |
H A D | ksm_common.h | 20 if(tst_parse_int(str_size, size, 1, INT_MAX)) in parse_ksm_options() 23 if(tst_parse_int(str_num, num, 3, INT_MAX)) in parse_ksm_options() 26 if(tst_parse_int(str_unit, unit, 1, *size)) in parse_ksm_options()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | dio_truncate.c | 92 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 98 if (tst_parse_int(str_numappends, &numappends, 1, INT_MAX)) in setup() 101 if (tst_parse_int(str_numwrites, &numwrites, 1, INT_MAX)) in setup()
|
H A D | dio_append.c | 38 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 44 if (tst_parse_int(str_appends, &appends, 1, INT_MAX)) in setup()
|
H A D | aiodio_append.c | 108 if (tst_parse_int(str_numaio, &numaio, 1, INT_MAX)) in setup() 117 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 123 if (tst_parse_int(str_appends, &appends, 1, INT_MAX)) in setup()
|
H A D | aiodio_sparse.c | 147 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) { in setup() 158 if (tst_parse_int(str_numaio, &numaio, 1, INT_MAX)) { in setup()
|
H A D | aio-stress.c | 1168 if (tst_parse_int(str_num_files, &num_files, 1, INT_MAX)) in setup() 1171 if (tst_parse_int(str_max_io_submit, &max_io_submit, 0, INT_MAX)) in setup() 1177 if (tst_parse_int(str_num_contexts, &num_contexts, 1, INT_MAX)) in setup() 1189 if (tst_parse_int(str_depth, &depth, 1, INT_MAX)) in setup() 1192 if (tst_parse_int(str_io_iter, &io_iter, 1, INT_MAX)) in setup() 1195 if (tst_parse_int(str_iterations, &iterations, 1, INT_MAX)) in setup() 1198 if (tst_parse_int(str_stages, &stages_i, 0, INT_MAX)) in setup() 1206 if (tst_parse_int(str_num_threads, &num_threads, 1, INT_MAX)) in setup()
|
H A D | dio_sparse.c | 67 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup()
|
H A D | dio_read.c | 114 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup()
|
/third_party/ltp/testcases/network/netstress/ |
H A D | netstress.c | 851 if (tst_parse_int(aarg, &clients_num, 1, INT_MAX)) in setup() 853 if (tst_parse_int(rarg, &client_max_requests, 1, INT_MAX)) in setup() 855 if (tst_parse_int(Rarg, &server_max_requests, 1, INT_MAX)) in setup() 857 if (tst_parse_int(narg, &init_cln_msg_len, min_msg_len, max_msg_len)) in setup() 859 if (tst_parse_int(Narg, &init_srv_msg_len, min_msg_len, max_msg_len)) in setup() 861 if (tst_parse_int(qarg, &tfo_queue_size, 1, INT_MAX)) in setup() 863 if (tst_parse_int(Targ, &wait_timeout, 0, INT_MAX)) in setup() 865 if (tst_parse_int(barg, &busy_poll, 0, INT_MAX)) in setup() 867 if (tst_parse_int(targ, &tfo_value, 0, INT_MAX)) in setup() 869 if (tst_parse_int(Aar in setup() [all...] |
/third_party/ltp/testcases/kernel/connectors/pec/ |
H A D | event_generator.c | 143 if (tst_parse_int(optarg, &nr_event, 0, INT_MAX)) { in process_options() 149 if (tst_parse_int(optarg, &checkpoint_id, 0, INT_MAX)) { in process_options()
|
H A D | pec_listener.c | 240 if (tst_parse_int(optarg, &terminate_pid, 0, INT_MAX)) { in parse_args() 246 if (tst_parse_int(optarg, &checkpoint_id, 0, INT_MAX)) { in parse_args()
|
/third_party/ltp/testcases/kernel/mem/mtest06/ |
H A D | mmap3.c | 133 if (tst_parse_int(str_loops, &loops, 1, INT_MAX)) in setup() 136 if (tst_parse_int(str_threads, &threads, 1, INT_MAX)) in setup()
|
/third_party/ltp/testcases/kernel/mem/mtest01/ |
H A D | mtest01.c | 62 if (tst_parse_int(str_chunksize, chunksize, 1, INT_MAX)) in parse_mtest_options() 76 if (tst_parse_int(str_maxpercent, maxpercent, 1, 99)) { in parse_mtest_options()
|
/third_party/ltp/testcases/kernel/fs/lftest/ |
H A D | lftest.c | 31 if (tst_parse_int(str_bufnum, &bufnum, 0, INT_MAX)) { in setup()
|
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/ |
H A D | starvation.c | 62 if (tst_parse_int(str_timeout, &timeout, 1, INT_MAX)) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/futex/ |
H A D | futex_waitv03.c | 40 if (tst_parse_int(str_numfutex, &numfutex, 1, FUTEX_WAITV_MAX)) in setup()
|
H A D | futex_waitv02.c | 37 if (tst_parse_int(str_numfutex, &numfutex, 1, FUTEX_WAITV_MAX)) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
H A D | process_vm_writev02.c | 77 if (tst_parse_int(str_buffsize, &bufsize, 1, INT_MAX)) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/splice/ |
H A D | splice04.c | 29 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
|
H A D | splice02.c | 46 if (tst_parse_int(sarg, &file_size, 1, INT_MAX)) in setup()
|
H A D | splice05.c | 39 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
|
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
H A D | tgkill01.c | 106 if (tst_parse_int(str_threads, &n_threads, 1, INT_MAX)) in setup()
|
/third_party/ltp/lib/ |
H A D | tst_timer_test.c | 427 if (tst_parse_int(str_sleep_time, &sleep_time, 0, INT_MAX)) { in parse_timer_opts() 434 if (tst_parse_int(str_sample_cnt, &sample_cnt, 1, INT_MAX)) { in parse_timer_opts()
|
/third_party/ltp/testcases/kernel/mem/mmapstress/ |
H A D | mmapstress01.c | 96 if (tst_parse_int(opt_nprocs, &nprocs, 0, 255)) in setup() 102 if (tst_parse_int(opt_pattern, &pattern, 0, 255)) in setup()
|
/third_party/ltp/testcases/network/stress/route/ |
H A D | route-change-netlink.c | 113 if (tst_parse_int(p_opt, &port, 1, 65535)) in setup() 116 if (tst_parse_int(c_opt, &num_loops, 1, INT_MAX)) { in setup()
|