/external/ltp/testcases/kernel/mem/ksm/ |
D | ksm_common.h | 23 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/ |
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()
|
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()
|
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()
|
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()
|
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()
|
D | dio_sparse.c | 67 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup()
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 852 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/ |
D | fsx-linux.c | 331 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/ |
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()
|
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()
|
/external/ltp/testcases/realtime/func/sched_football/ |
D | sched_football.c | 199 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/ |
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()
|
/external/ltp/testcases/kernel/mem/mtest01/ |
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()
|
/external/ltp/include/ |
D | tst_parse.h | 26 int tst_parse_int(const char *str, int *val, int min, int max);
|
/external/ltp/testcases/kernel/security/aslr/ |
D | aslr01.c | 189 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/ |
D | fork_procs.c | 43 if (tst_parse_int(str_numforks, &numforks, 1, INT_MAX)) in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress01.c | 273 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/ |
D | lftest.c | 31 if (tst_parse_int(str_bufnum, &bufnum, 0, INT_MAX)) { in setup()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice04.c | 29 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
|
D | splice05.c | 39 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_waitv02.c | 37 if (tst_parse_int(str_numfutex, &numfutex, 1, FUTEX_WAITV_MAX)) in setup()
|
/external/ltp/testcases/kernel/syscalls/tgkill/ |
D | tgkill01.c | 106 if (tst_parse_int(str_threads, &n_threads, 1, INT_MAX)) in setup()
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
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()
|
/external/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm_writev02.c | 77 if (tst_parse_int(str_buffsize, &bufsize, 1, INT_MAX)) in setup()
|