Home
last modified time | relevance | path

Searched refs:nr_opt (Results 1 – 20 of 20) sorted by relevance

/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat03.c56 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
91 if (nr_opt) in setup()
92 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugeshmat02.c56 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
96 if (nr_opt) in setup()
97 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugeshmat01.c53 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
171 if (nr_opt) in setup()
172 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c35 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
71 if (nr_opt) in setup()
72 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugeshmget05.c38 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
82 if (nr_opt) in setup()
83 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugeshmget03.c44 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
68 if (nr_opt) in setup()
69 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugeshmget02.c36 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
89 if (nr_opt) in setup()
90 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap01.c44 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
98 if (nr_opt) in setup()
99 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugemmap04.c46 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
116 if (nr_opt) in setup()
117 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugemmap02.c50 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
145 if (nr_opt) in setup()
146 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
/external/e2fsprogs/contrib/android/
De2fsdroid.c208 int nr_opt = 0; in main() local
230 if (nr_opt == max_nr_opt) { in main()
235 seopt_file[nr_opt].type = SELABEL_OPT_PATH; in main()
236 seopt_file[nr_opt].value = absolute_path(token); in main()
237 nr_opt++; in main()
331 nr_opt, fs_config_file, fixed_time, &uid_map, &gid_map); in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c49 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
96 if (nr_opt) in setup()
97 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugeshmctl03.c59 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
121 if (nr_opt) in setup()
122 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
Dhugeshmctl01.c70 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
315 if (nr_opt) in setup()
316 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c56 {"s:", &nr_opt, "-s num Set the number of the been allocated hugepages"},
136 if (nr_opt) in setup()
137 hugepages = SAFE_STRTOL(nr_opt, 0, LONG_MAX); in setup()
/external/ltp/testcases/kernel/syscalls/cma/
Dprocess_vm_readv03.c43 static char *nr_opt, *sz_opt; variable
45 {"n:", &nflag, &nr_opt},
254 nr_iovecs = nflag ? SAFE_STRTOL(NULL, nr_opt, 1, IOV_MAX) : 10; in setup()
/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.h43 char *nr_opt; variable
/external/f2fs-tools/fsck/
Dsload.c298 if (!c.nr_opt) in configure_files()
301 sehnd = selabel_open(SELABEL_CTX_FILE, c.seopt_file, c.nr_opt); in configure_files()
Dmain.c679 if (c.nr_opt == max_nr_opt) { in f2fs_parse_options()
684 c.seopt_file[c.nr_opt].type = in f2fs_parse_options()
686 c.seopt_file[c.nr_opt].value = in f2fs_parse_options()
688 c.nr_opt++; in f2fs_parse_options()
/external/f2fs-tools/include/
Df2fs_fs.h527 int nr_opt; member