Searched refs:SAFE_STRTOL (Results 1 – 15 of 15) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/getrusage/ |
D | getrusage03_child.c | 33 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()
|
D | getrusage04.c | 98 factor_nr = SAFE_STRTOL(cleanup, factor_str, 0, FACTOR_MAX); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl07.c | 40 fuzz = SAFE_STRTOL(s_fuzz, 0, 4096); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/execve/ |
D | execve05.c | 77 nchild = SAFE_STRTOL(opt_nchild, 1, INT_MAX); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm_readv03.c | 254 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()
|
D | process_vm_writev02.c | 188 sflag ? SAFE_STRTOL(NULL, sz_opt, 1, LONG_MAX - PADDING_SIZE * 2) in setup()
|
/third_party/ltp/lib/ |
D | tst_hugepage.c | 33 tst_hugepages = SAFE_STRTOL(nr_opt, 1, LONG_MAX); in tst_request_hugepages()
|
D | tst_pid.c | 90 max_pids = SAFE_STRTOL(max_pid_value, 0, INT_MAX); in read_session_pids_limit()
|
/third_party/ltp/testcases/kernel/mem/vma/ |
D | vma02.c | 76 node = SAFE_STRTOL(NULL, opt_nodestr, 1, LONG_MAX); in main()
|
D | vma04.c | 94 node = SAFE_STRTOL(NULL, opt_nodestr, 1, LONG_MAX); in main()
|
/third_party/ltp/testcases/kernel/mem/tunable/ |
D | overcommit_memory.c | 98 overcommit_ratio = SAFE_STRTOL(R_opt, 0, LONG_MAX); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg02.c | 204 seconds = tflag ? SAFE_STRTOL(NULL, t_opt, 1, LONG_MAX) : 15; in main()
|
/third_party/ltp/testcases/kernel/syscalls/readahead/ |
D | readahead02.c | 369 testfile_size = SAFE_STRTOL(opt_fsizestr, 1, INT_MAX); in setup()
|
/third_party/ltp/include/old/ |
D | safe_macros.h | 111 #define SAFE_STRTOL(cleanup_fn, str, min, max) \ macro
|
/third_party/ltp/include/ |
D | tst_safe_macros.h | 178 #define SAFE_STRTOL(str, min, max) \ macro
|