Lines Matching refs:maxvalue
18 int maxvalue; member
360 if (self->maxvalue == 1) { in semlock_release()
387 } else if (sval >= self->maxvalue) { in semlock_release()
409 newsemlockobject(PyTypeObject *type, SEM_HANDLE handle, int kind, int maxvalue) in newsemlockobject() argument
420 self->maxvalue = maxvalue; in newsemlockobject()
429 int kind, maxvalue, value; in semlock_new() local
435 &kind, &value, &maxvalue)) in semlock_new()
452 handle = SEM_CREATE(buffer, value, maxvalue); in semlock_new()
462 result = newsemlockobject(type, handle, kind, maxvalue); in semlock_new()
479 int kind, maxvalue; in semlock_rebuild() local
482 &handle, &kind, &maxvalue)) in semlock_rebuild()
485 return newsemlockobject(type, handle, kind, maxvalue); in semlock_rebuild()
592 {"maxvalue", T_INT, offsetof(SemLockObject, maxvalue), READONLY,