Lines Matching refs:maxvalue
19 int maxvalue; member
365 if (self->maxvalue == 1) { in semlock_release()
392 } else if (sval >= self->maxvalue) { in semlock_release()
414 newsemlockobject(PyTypeObject *type, SEM_HANDLE handle, int kind, int maxvalue, in newsemlockobject() argument
426 self->maxvalue = maxvalue; in newsemlockobject()
435 int kind, maxvalue, value, unlink; in semlock_new() local
442 &kind, &value, &maxvalue, &name, &unlink)) in semlock_new()
459 handle = SEM_CREATE(name, value, maxvalue); in semlock_new()
467 result = newsemlockobject(type, handle, kind, maxvalue, name_copy); in semlock_new()
487 int kind, maxvalue; in semlock_rebuild() local
491 &handle, &kind, &maxvalue, &name)) in semlock_rebuild()
511 return newsemlockobject(type, handle, kind, maxvalue, name_copy); in semlock_rebuild()
619 {"maxvalue", T_INT, offsetof(SemLockObject, maxvalue), READONLY,