Lines Matching defs:rc
69 int iiter, rc;
76 if (rc = mutex_init(&(shmupdatearray->updatenode[iiter]),
78 if (rc == EBUSY) {
83 "error=%d", rc);
225 int rc;
230 rc = mutex_lock(&(shmupdatearray->updatenode[hashval]));
231 while (rc != 0) {
232 switch (rc) {
238 rc = mutex_consistent(
240 if (rc != 0) {
242 "mutex_consistent(): error=%d", rc);
245 rc = mutex_unlock(
247 if (rc != 0) {
249 "mutex_unlock(): error=%d", rc);
259 "mutex_lock(): error=%d", rc);
269 rc = mutex_lock(&(shmupdatearray->updatenode[hashval]));
281 int rc;
283 rc = mutex_unlock(&(shmupdatearray->updatenode[hashval]));
284 if (rc != 0) {
286 "mutex_unlock(): error=%d", rc);
344 int rc;
352 rc = mutex_trylock(&(shmupdatearray->updatenode[hashval]));
354 switch (rc) {
359 return (rc);
366 rc = mutex_consistent(
368 if (rc != 0) {
370 "mutex_consistent(): error=%d", rc);
371 return (rc);
373 rc = mutex_unlock(
375 if (rc != 0) {
377 "mutex_unlock(): error=%d", rc);
378 return (rc);
387 "mutex_lock(): error=%d", rc);
395 return (rc);