Home
last modified time | relevance | path

Searched refs:optionname (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuset.h193 int cpuset_set_iopt(struct cpuset *cp, const char *optionname, int value);
194 int cpuset_set_sopt(struct cpuset *cp, const char *optionname,
205 int cpuset_get_iopt(const struct cpuset *cp, const char *optionname);
206 const char *cpuset_get_sopt(const struct cpuset *cp, const char *optionname);
Dlibcpuset.c694 int cpuset_set_iopt(struct cpuset *cp, const char *optionname, int value) in cpuset_set_iopt() argument
696 if (streq(optionname, "cpu_exclusive")) { in cpuset_set_iopt()
700 } else if (streq(optionname, "mem_exclusive")) { in cpuset_set_iopt()
704 } else if (streq(optionname, "mem_hardwall")) { in cpuset_set_iopt()
708 } else if (streq(optionname, "notify_on_release")) { in cpuset_set_iopt()
712 } else if (streq(optionname, "memory_pressure_enabled")) { in cpuset_set_iopt()
716 } else if (streq(optionname, "memory_migrate")) { in cpuset_set_iopt()
720 } else if (streq(optionname, "memory_spread_page")) { in cpuset_set_iopt()
724 } else if (streq(optionname, "memory_spread_slab")) { in cpuset_set_iopt()
728 } else if (streq(optionname, "sched_load_balance")) { in cpuset_set_iopt()
[all …]
/external/python/cpython2/Tools/pybench/
DCommandLine.py446 for optionname, value in optlist:
456 handlername = 'handle' + string.replace(optionname, '-', '_')
462 if values.has_key(optionname):
463 values[optionname] = values[optionname] + 1
465 values[optionname] = 1
467 values[optionname] = value
/external/libevent/
Devdns.c3469 str_matches_option(const char *s1, const char *optionname) in str_matches_option() argument
3474 size_t optlen = strlen(optionname); in str_matches_option()
3477 return !strncmp(s1, optionname, slen); in str_matches_option()
3479 return !strncmp(s1, optionname, optlen); in str_matches_option()