Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/ksm/
Dksm_common.h27 if(tst_parse_int(str_size, size, 1, INT_MAX)) in parse_ksm_options()
30 if(tst_parse_int(str_num, num, 3, INT_MAX)) in parse_ksm_options()
33 if(tst_parse_int(str_unit, unit, 1, *size)) in parse_ksm_options()
/external/ltp/testcases/network/netstress/
Dnetstress.c850 if (tst_parse_int(aarg, &clients_num, 1, INT_MAX)) in setup()
852 if (tst_parse_int(rarg, &client_max_requests, 1, INT_MAX)) in setup()
854 if (tst_parse_int(Rarg, &server_max_requests, 1, INT_MAX)) in setup()
856 if (tst_parse_int(narg, &init_cln_msg_len, min_msg_len, max_msg_len)) in setup()
858 if (tst_parse_int(Narg, &init_srv_msg_len, min_msg_len, max_msg_len)) in setup()
860 if (tst_parse_int(qarg, &tfo_queue_size, 1, INT_MAX)) in setup()
862 if (tst_parse_int(Targ, &wait_timeout, 0, INT_MAX)) in setup()
864 if (tst_parse_int(barg, &busy_poll, 0, INT_MAX)) in setup()
866 if (tst_parse_int(targ, &tfo_value, 0, INT_MAX)) in setup()
868 if (tst_parse_int(Aarg, &max_rand_msg_len, 10, max_msg_len)) in setup()
/external/ltp/testcases/kernel/mem/mtest06/
Dmmap3.c135 if (tst_parse_int(str_loops, &loops, 1, INT_MAX)) in setup()
138 if (tst_parse_int(str_threads, &threads, 1, INT_MAX)) in setup()
/external/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c72 if (tst_parse_int(str_chunksize, chunksize, 1, INT_MAX)) in parse_mtest_options()
86 if (tst_parse_int(str_maxpercent, maxpercent, 1, 99)) { in parse_mtest_options()
/external/ltp/testcases/kernel/syscalls/splice/
Dsplice04.c34 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
Dsplice05.c44 if (tst_parse_int(str_len_data, &num_len_data, 1, pipe_limit)) { in setup()
/external/ltp/lib/
Dtst_timer_test.c424 if (tst_parse_int(str_sleep_time, &sleep_time, 0, INT_MAX)) { in parse_timer_opts()
431 if (tst_parse_int(str_sample_cnt, &sample_cnt, 1, INT_MAX)) { in parse_timer_opts()
Dtst_test.c556 int tst_parse_int(const char *str, int *val, int min, int max) in tst_parse_int() function
/external/ltp/testcases/kernel/syscalls/tgkill/
Dtgkill01.c106 if (tst_parse_int(str_threads, &n_threads, 1, INT_MAX)) in setup()
/external/ltp/include/
Dtst_test.h107 int tst_parse_int(const char *str, int *val, int min, int max);
/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c141 if (tst_parse_int(addr_param, &addr_num, 1, INT_MAX)) in setup()
/external/ltp/testcases/kernel/fs/read_all/
Dread_all.c366 if (tst_parse_int(str_reads, &reads, 1, INT_MAX)) in setup()
/external/ltp/doc/
Dtest-writing-guidelines.txt568 int tst_parse_int(const char *str, int *val, int min, int max);
598 if (tst_parse_int(str_threads, &threads, 1, INT_MAX))