Home
last modified time | relevance | path

Searched refs:tst_parse_int (Results 1 – 25 of 40) sorted by relevance

12

/external/ltp/testcases/kernel/mem/ksm/
Dksm_common.h23 if (tst_parse_int(str_size, size, 1, INT_MAX)) in parse_ksm_options()
26 if (tst_parse_int(str_num, num, 3, INT_MAX)) in parse_ksm_options()
29 if (tst_parse_int(str_unit, unit, 1, *size)) in parse_ksm_options()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_truncate.c92 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()
Daiodio_append.c108 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()
Ddio_append.c38 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()
Daio-stress.c1168 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()
Daiodio_sparse.c147 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()
Ddio_sparse.c67 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup()
/external/ltp/testcases/network/netstress/
Dnetstress.c852 if (tst_parse_int(aarg, &clients_num, 1, INT_MAX)) in setup()
854 if (tst_parse_int(rarg, &client_max_requests, 1, INT_MAX)) in setup()
856 if (tst_parse_int(Rarg, &server_max_requests, 1, INT_MAX)) in setup()
858 if (tst_parse_int(narg, &init_cln_msg_len, min_msg_len, max_msg_len)) in setup()
860 if (tst_parse_int(Narg, &init_srv_msg_len, min_msg_len, max_msg_len)) in setup()
862 if (tst_parse_int(qarg, &tfo_queue_size, 1, INT_MAX)) in setup()
864 if (tst_parse_int(Targ, &wait_timeout, 0, INT_MAX)) in setup()
866 if (tst_parse_int(barg, &busy_poll, 0, INT_MAX)) in setup()
868 if (tst_parse_int(targ, &tfo_value, 0, INT_MAX)) in setup()
870 if (tst_parse_int(Aarg, &max_rand_msg_len, 10, max_msg_len)) in setup()
/external/ltp/testcases/kernel/fs/fsx-linux/
Dfsx-linux.c331 if (tst_parse_int(str_op_nums, &op_nums, 1, INT_MAX)) in setup()
334 if (tst_parse_int(str_op_write_align, &op_write_align, 1, INT_MAX)) in setup()
337 if (tst_parse_int(str_op_read_align, &op_read_align, 1, INT_MAX)) in setup()
340 if (tst_parse_int(str_op_trunc_align, &op_trunc_align, 1, INT_MAX)) in setup()
/external/ltp/testcases/kernel/connectors/pec/
Devent_generator.c143 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()
Dpec_listener.c240 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()
/external/ltp/testcases/realtime/func/sched_football/
Dsched_football.c199 if (tst_parse_int(str_game_length, &game_length, 1, INT_MAX)) in do_setup()
202 if (tst_parse_int(str_players_per_team, &players_per_team, 1, INT_MAX)) in do_setup()
/external/ltp/testcases/kernel/mem/mtest06/
Dmmap3.c133 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()
/external/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c62 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()
/external/ltp/include/
Dtst_parse.h26 int tst_parse_int(const char *str, int *val, int min, int max);
/external/ltp/testcases/kernel/security/aslr/
Daslr01.c189 if (!strict_check && tst_parse_int(minbits_str, &minbits, 1, 64)) in setup()
209 else if (tst_parse_int(kconf_minbits, &minbits, 1, 64)) in setup()
/external/ltp/testcases/kernel/syscalls/fork/
Dfork_procs.c43 if (tst_parse_int(str_numforks, &numforks, 1, INT_MAX)) in setup()
/external/ltp/testcases/kernel/syscalls/ipc/msgstress/
Dmsgstress01.c273 if (tst_parse_int(str_num_messages, &num_messages, 1, avail_msg)) in setup()
276 if (tst_parse_int(str_num_iterations, &num_iterations, 1, MAXNREPS)) in setup()
/external/ltp/testcases/kernel/fs/lftest/
Dlftest.c31 if (tst_parse_int(str_bufnum, &bufnum, 0, INT_MAX)) { in setup()
/external/ltp/testcases/kernel/syscalls/splice/
Dsplice04.c29 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
Dsplice05.c39 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_waitv02.c37 if (tst_parse_int(str_numfutex, &numfutex, 1, FUTEX_WAITV_MAX)) in setup()
/external/ltp/testcases/kernel/syscalls/tgkill/
Dtgkill01.c106 if (tst_parse_int(str_threads, &n_threads, 1, INT_MAX)) in setup()
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress01.c96 if (tst_parse_int(opt_nprocs, &nprocs, 0, 255)) in setup()
102 if (tst_parse_int(opt_pattern, &pattern, 0, 255)) in setup()
/external/ltp/testcases/kernel/syscalls/cma/
Dprocess_vm_writev02.c77 if (tst_parse_int(str_buffsize, &bufsize, 1, INT_MAX)) in setup()

12