Home
last modified time | relevance | path

Searched refs:SAFE_STRTOL (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/getrusage/
Dgetrusage03_child.c33 consume_nr = SAFE_STRTOL(argv[2], 0, LONG_MAX); in main()
36 grand_consume_nr = SAFE_STRTOL(argv[2], 0, LONG_MAX); in main()
48 self_nr = SAFE_STRTOL(argv[2], 0, LONG_MAX); in main()
49 child_nr = SAFE_STRTOL(argv[3], 0, LONG_MAX); in main()
Dgetrusage04.c98 factor_nr = SAFE_STRTOL(cleanup, factor_str, 0, FACTOR_MAX); in main()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl07.c40 fuzz = SAFE_STRTOL(s_fuzz, 0, 4096); in setup()
/third_party/ltp/testcases/kernel/syscalls/execve/
Dexecve05.c77 nchild = SAFE_STRTOL(opt_nchild, 1, INT_MAX); in setup()
/third_party/ltp/testcases/kernel/syscalls/cma/
Dprocess_vm_readv03.c254 nr_iovecs = nflag ? SAFE_STRTOL(NULL, nr_opt, 1, IOV_MAX) : 10; in setup()
255 bufsz = sflag ? SAFE_STRTOL(NULL, sz_opt, NUM_LOCAL_VECS, LONG_MAX) in setup()
Dprocess_vm_writev02.c188 sflag ? SAFE_STRTOL(NULL, sz_opt, 1, LONG_MAX - PADDING_SIZE * 2) in setup()
/third_party/ltp/lib/
Dtst_hugepage.c33 tst_hugepages = SAFE_STRTOL(nr_opt, 1, LONG_MAX); in tst_request_hugepages()
Dtst_pid.c90 max_pids = SAFE_STRTOL(max_pid_value, 0, INT_MAX); in read_session_pids_limit()
/third_party/ltp/testcases/kernel/mem/vma/
Dvma02.c76 node = SAFE_STRTOL(NULL, opt_nodestr, 1, LONG_MAX); in main()
Dvma04.c94 node = SAFE_STRTOL(NULL, opt_nodestr, 1, LONG_MAX); in main()
/third_party/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c98 overcommit_ratio = SAFE_STRTOL(R_opt, 0, LONG_MAX); in setup()
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg02.c204 seconds = tflag ? SAFE_STRTOL(NULL, t_opt, 1, LONG_MAX) : 15; in main()
/third_party/ltp/testcases/kernel/syscalls/readahead/
Dreadahead02.c369 testfile_size = SAFE_STRTOL(opt_fsizestr, 1, INT_MAX); in setup()
/third_party/ltp/include/old/
Dsafe_macros.h111 #define SAFE_STRTOL(cleanup_fn, str, min, max) \ macro
/third_party/ltp/include/
Dtst_safe_macros.h178 #define SAFE_STRTOL(str, min, max) \ macro