Lines Matching refs:status

205   enum nss_status status = NSS_STATUS_SUCCESS;  in internal_setpwent()  local
229 status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL; in internal_setpwent()
236 if (needent && status == NSS_STATUS_SUCCESS && setpwent_impl) in internal_setpwent()
239 return status; in internal_setpwent()
322 int status; in getpwent_next_nss_netgr() local
339 status = __internal_getnetgrent_r (&host, &user, &domain, in getpwent_next_nss_netgr()
342 if (status != 1) in getpwent_next_nss_netgr()
403 enum nss_status status; in getpwent_next_nss() local
429 if ((status = getpwent_r_impl (result, buffer, buflen, errnop)) in getpwent_next_nss()
431 return status; in getpwent_next_nss()
462 enum nss_status status = getpwnam_r_impl (name, result, buffer, buflen, in getpwnam_plususer() local
464 if (status != NSS_STATUS_SUCCESS) in getpwnam_plususer()
465 return status; in getpwnam_plususer()
556 enum nss_status status; in getpwent_next_file() local
562 status = getpwent_next_nss_netgr (NULL, result, ent, in getpwent_next_file()
565 if (status == NSS_STATUS_RETURN) in getpwent_next_file()
568 return status; in getpwent_next_file()
585 enum nss_status status; in getpwent_next_file() local
590 status = getpwnam_plususer (&result->pw_name[1], result, ent, in getpwent_next_file()
594 if (status == NSS_STATUS_SUCCESS) /* We found the entry. */ in getpwent_next_file()
596 else if (status == NSS_STATUS_RETURN /* We couldn't parse the entry */ in getpwent_next_file()
597 || status == NSS_STATUS_NOTFOUND) /* entry doesn't exist */ in getpwent_next_file()
601 if (status == NSS_STATUS_TRYAGAIN) in getpwent_next_file()
607 return status; in getpwent_next_file()
632 enum nss_status status; in internal_getpwent_r() local
636 status = getpwent_next_nss_netgr (NULL, pw, ent, NULL, buffer, buflen, in internal_getpwent_r()
638 if (status == NSS_STATUS_RETURN) in internal_getpwent_r()
641 return status; in internal_getpwent_r()
749 enum nss_status status; in internal_getpwnam_r() local
753 status = getpwnam_plususer (name, result, ent, buffer, in internal_getpwnam_r()
756 if (status == NSS_STATUS_RETURN) in internal_getpwnam_r()
759 return status; in internal_getpwnam_r()
780 enum nss_status status; in internal_getpwnam_r() local
782 status = getpwnam_plususer (name, result, ent, buffer, buflen, in internal_getpwnam_r()
784 if (status == NSS_STATUS_RETURN) in internal_getpwnam_r()
788 return status; in internal_getpwnam_r()
795 enum nss_status status; in internal_getpwnam_r() local
797 status = getpwnam_plususer (name, result, ent, in internal_getpwnam_r()
799 if (status == NSS_STATUS_SUCCESS) /* We found the entry. */ in internal_getpwnam_r()
801 else if (status == NSS_STATUS_RETURN) /* We couldn't parse the entry */ in internal_getpwnam_r()
804 return status; in internal_getpwnam_r()
949 enum nss_status status; in internal_getpwuid_r() local
953 status = getpwuid_plususer (uid, result, buffer, buflen, errnop); in internal_getpwuid_r()
954 if (status == NSS_STATUS_SUCCESS in internal_getpwuid_r()
968 enum nss_status status; in internal_getpwuid_r() local
972 status = getpwuid_plususer (uid, result, buffer, buflen, errnop); in internal_getpwuid_r()
974 if (status == NSS_STATUS_RETURN) in internal_getpwuid_r()
977 if (status == NSS_STATUS_SUCCESS) in internal_getpwuid_r()
982 else if (status == NSS_STATUS_RETURN) /* We couldn't parse the entry */ in internal_getpwuid_r()
985 return status; in internal_getpwuid_r()
996 enum nss_status status; in internal_getpwuid_r() local
1000 status = getpwuid_plususer (uid, result, buffer, buflen, errnop); in internal_getpwuid_r()
1001 if (status == NSS_STATUS_SUCCESS in internal_getpwuid_r()
1013 enum nss_status status; in internal_getpwuid_r() local
1017 status = getpwuid_plususer (uid, result, buffer, buflen, errnop); in internal_getpwuid_r()
1019 if (status == NSS_STATUS_RETURN) in internal_getpwuid_r()
1022 if (status == NSS_STATUS_SUCCESS) in internal_getpwuid_r()
1027 else if (status == NSS_STATUS_RETURN) /* We couldn't parse the entry */ in internal_getpwuid_r()
1030 return status; in internal_getpwuid_r()
1038 enum nss_status status; in internal_getpwuid_r() local
1040 status = getpwuid_plususer (uid, result, buffer, buflen, errnop); in internal_getpwuid_r()
1041 if (status == NSS_STATUS_SUCCESS) /* We found the entry. */ in internal_getpwuid_r()
1043 else if (status == NSS_STATUS_RETURN) /* We couldn't parse the entry */ in internal_getpwuid_r()
1046 return status; in internal_getpwuid_r()