Lines Matching refs:res
99 int res;
104 res = PWU_BUSY;
107 res = PWU_DENIED;
110 res = PWU_SUCCESS;
114 res = PWU_SUCCESS;
116 return (res);
335 int res;
339 res = files_getpwnam(user, &attr_tmp[0], rep, (void **)&pwbuf);
340 if (res != PWU_SUCCESS)
341 return (res);
346 res = PWU_SUCCESS;
351 res = PWU_NOMEM;
353 res = PWU_SUCCESS;
356 res = PWU_DENIED;
366 return (res);
408 int res;
424 if ((res = files_getattr(user, &attr, rep)) == PWU_SUCCESS) {
432 res = PWU_NOT_FOUND;
443 res = PWU_NOT_FOUND;
452 res = PWU_SUCCESS;
457 res);
463 return (res);
478 int res;
480 res = files_getpwnam(name, items, rep, (void **)&pwbuf);
481 if (res != PWU_SUCCESS)
482 return (res);
487 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) {
491 res = PWU_NOMEM;
495 res = PWU_NOMEM;
499 res = PWU_NOMEM;
503 res = PWU_NOMEM;
507 res = PWU_NOMEM;
516 res = PWU_NOMEM;
520 res = PWU_NOMEM;
524 res = PWU_NOMEM;
537 res = PWU_OPEN_FAILED;
540 res = PWU_NOT_FOUND;
547 res = PWU_NOT_FOUND;
557 res = PWU_NOMEM;
559 res = PWU_SUCCESS;
610 return (res);