Lines Matching defs:param
407 # include <sys/param.h>
1688 This would however require an additional param to the
6017 convert_sched_param(PyObject *module, PyObject *param, struct sched_param *res);
6997 convert_sched_param(PyObject *module, PyObject *param, struct sched_param *res)
7001 if (!Py_IS_TYPE(param, (PyTypeObject *)get_posix_state(module)->SchedParamType)) {
7005 priority = PyLong_AsLong(PyStructSequence_GET_ITEM(param, 0));
7024 param as param_obj: object
7030 param is an instance of sched_param.
7038 struct sched_param param;
7039 if (!convert_sched_param(module, param_obj, ¶m)) {
7048 if (sched_setscheduler(pid, policy, ¶m) == -1)
7071 struct sched_param param;
7075 if (sched_getparam(pid, ¶m))
7081 priority = PyLong_FromLong(param.sched_priority);
7094 param as param_obj: object
7100 param should be an instance of sched_param.
7107 struct sched_param param;
7108 if (!convert_sched_param(module, param_obj, ¶m)) {
7112 if (sched_setparam(pid, ¶m))