Lines Matching refs:status
96 static errno_t handle_error(enum nss_status status,
101 switch (status) {
136 enum nss_status status;
143 status = ctx->ops.setnetgrent(name, &result);
144 if (status != NSS_STATUS_SUCCESS) {
147 ret = handle_error(status, dom, name);
166 status = ctx->ops.getnetgrent_r(&result, buffer, BUFLEN, &ret);
167 if (status != NSS_STATUS_SUCCESS &&
168 status != NSS_STATUS_RETURN &&
169 status != NSS_STATUS_NOTFOUND) {
170 ret = handle_error(status, dom, name);
177 if (status == NSS_STATUS_SUCCESS) {
184 } while (status != NSS_STATUS_RETURN && status != NSS_STATUS_NOTFOUND);
186 status = ctx->ops.endnetgrent(&result);
187 if (status != NSS_STATUS_SUCCESS) {
189 ret = handle_error(status, dom, name);