Lines Matching refs:params
63 SemaphoreP_Params *params) in SemaphoreP_create() argument
68 if (params) { in SemaphoreP_create()
69 limit = (params->mode == SemaphoreP_Mode_BINARY) ? in SemaphoreP_create()
83 SemaphoreP_Params params; in SemaphoreP_createBinary() local
85 SemaphoreP_Params_init(¶ms); in SemaphoreP_createBinary()
86 params.mode = SemaphoreP_Mode_BINARY; in SemaphoreP_createBinary()
88 return (SemaphoreP_create(count, ¶ms)); in SemaphoreP_createBinary()
99 void SemaphoreP_Params_init(SemaphoreP_Params *params) in SemaphoreP_Params_init() argument
101 params->mode = SemaphoreP_Mode_COUNTING; in SemaphoreP_Params_init()
102 params->callback = NULL; in SemaphoreP_Params_init()
138 unsigned int count, SemaphoreP_Params *params) in SemaphoreP_construct() argument
143 if (params) { in SemaphoreP_construct()
144 limit = (params->mode == SemaphoreP_Mode_BINARY) ? in SemaphoreP_construct()
157 SemaphoreP_Params params; in SemaphoreP_constructBinary() local
159 SemaphoreP_Params_init(¶ms); in SemaphoreP_constructBinary()
160 params.mode = SemaphoreP_Mode_BINARY; in SemaphoreP_constructBinary()
162 return (SemaphoreP_construct(handle, count, ¶ms)); in SemaphoreP_constructBinary()