Searched refs:hret (Results 1 - 25 of 25) sorted by relevance

/sssd/src/responder/pam/
H A Dpam_helpers.c44 int hret; local
67 hret = hash_enter(id_table, &key, &val);
68 if (hret != HASH_SUCCESS) {
71 name, hash_error_string(hret));
104 int hret; local
113 hret = hash_delete(table_ctx->id_table, &key);
114 if (hret != HASH_SUCCESS
115 && hret != HASH_ERROR_KEY_NOT_FOUND) {
119 hash_error_string(hret));
134 int hret; local
[all...]
/sssd/src/sbus/
H A Dsssd_dbus_common_signals.c37 int hret; local
41 hret = hash_keys(table, &count, &keys);
42 if (hret != HASH_SUCCESS) {
48 hret = hash_delete(table, &keys[i]);
49 if (hret != HASH_SUCCESS) {
H A Dsssd_dbus_signals.c83 int hret; local
115 hret = hash_enter(table, &key, &value);
116 if (hret != HASH_SUCCESS) {
139 int hret; local
147 hret = hash_lookup(table, &key, &value);
148 if (hret == HASH_ERROR_KEY_NOT_FOUND) {
151 } else if (hret != HASH_SUCCESS) {
153 "Unable to search hash table: hret=%d\n", hret);
H A Dsssd_dbus_interface.c518 int hret; local
546 hret = hash_lookup(table, &key, &value);
547 if (hret == HASH_SUCCESS) {
565 } else if (hret != HASH_ERROR_KEY_NOT_FOUND) {
578 hret = hash_enter(table, &key, &value);
579 if (hret != HASH_SUCCESS) {
626 int hret; local
642 hret = hash_lookup(table, &key, &value);
643 if (hret == HASH_SUCCESS) {
649 } else if (hret !
683 int hret; local
761 int hret; local
816 int hret; local
1013 int hret; local
[all...]
/sssd/src/providers/data_provider/
H A Ddp_request_table.c103 int hret; local
108 hret = hash_lookup(table, &hkey, &hvalue);
109 if (hret == HASH_ERROR_KEY_NOT_FOUND) {
111 } else if (hret != HASH_SUCCESS) {
112 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to search hash table [%d]\n", hret);
128 int hret; local
158 hret = hash_enter(table, &hkey, &hvalue);
159 if (hret != HASH_SUCCESS) {
161 "[%d]\n", hret);
221 int hret; local
[all...]
/sssd/src/providers/proxy/
H A Dproxy_client.c42 int hret; local
75 hret = hash_lookup(proxy_cli->proxy_auth_ctx->request_table, &key, &value);
76 if (hret != HASH_SUCCESS) {
78 "Hash error [%d]: %s\n", hret, hash_error_string(hret));
H A Dproxy_auth.c35 int hret; local
41 hret = hash_delete(child_ctx->auth_ctx->request_table, &key);
42 if (!(hret == HASH_SUCCESS ||
43 hret == HASH_ERROR_KEY_NOT_FOUND)) {
45 "Hash error [%d][%s]\n", hret, hash_error_string(hret));
62 int hret; local
104 hret = hash_enter(auth_ctx->request_table,
106 if (hret != HASH_SUCCESS) {
H A Dproxy_init.c224 int hret; local
265 hret = hash_create(auth_ctx->max_children * 2, &auth_ctx->request_table,
267 if (hret != HASH_SUCCESS) {
/sssd/src/responder/common/
H A Dresponder_dp.c71 int hret; local
116 hret = hash_delete(sdp_req->rctx->dp_request_table, sdp_req->key);
117 if (hret != HASH_SUCCESS) {
122 hash_error_string(hret));
259 int hret; local
292 hret = hash_lookup(rctx->dp_request_table, key, &value);
293 switch (hret) {
336 hret = hash_lookup(rctx->dp_request_table, key, &value);
337 if (hret != HASH_SUCCESS) {
348 hash_error_string(hret));
658 int hret; local
[all...]
/sssd/src/responder/nss/
H A Dnsssrv_netgroup.c40 int hret; local
45 hret = hash_lookup(nctx->netgroups, &key, &value);
46 if (hret == HASH_SUCCESS) {
49 } else if (hret == HASH_ERROR_KEY_NOT_FOUND) {
55 hret, hash_error_string(hret));
65 int hret; local
76 hret = hash_enter(nctx->netgroups, &key, &value);
77 if (hret != EOK) {
81 "Hash error [%d][%s]\n", hret, hash_error_strin
148 int hret; local
1155 int hret; local
[all...]
H A Dnsssrv.c385 int hret; local
447 hret = sss_hash_create_ex(nctx, 10, &nctx->netgroups, 0, 0, 0, 0,
449 if (hret != HASH_SUCCESS) {
/sssd/src/responder/autofs/
H A Dautofssrv.c108 int hret; local
161 hret = sss_hash_create_ex(autofs_ctx, 10, &autofs_ctx->maps, 0, 0, 0, 0,
163 if (hret != HASH_SUCCESS) {
H A Dautofssrv_cmd.c96 int hret; local
105 hret = hash_keys(actx->maps, &mcount, &maps);
106 if (hret != HASH_SUCCESS) {
111 hret = hash_delete(actx->maps, &maps[i]);
112 if (hret != HASH_SUCCESS) {
128 int hret; local
133 hret = hash_lookup(actx->maps, &key, &value);
134 if (hret == HASH_SUCCESS) {
137 } else if (hret == HASH_ERROR_KEY_NOT_FOUND) {
143 hret, hash_error_strin
176 int hret; local
205 int hret; local
[all...]
/sssd/src/providers/ipa/
H A Dipa_sudo_conversion.c106 int hret; local
123 hret = hash_enter(table, &hkey, &hvalue);
124 if (hret != HASH_SUCCESS) {
141 int hret; local
146 hret = hash_lookup(table, &hkey, &hvalue);
147 if (hret == HASH_ERROR_KEY_NOT_FOUND) {
150 } else if (hret != HASH_SUCCESS) {
151 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to lookup value [%d]\n", hret);
658 int hret; local
665 hret
1216 int hret; local
[all...]
/sssd/src/lib/sifp/
H A Dsss_sifp_parser.c142 int hret; local
225 hret = hash_enter(table, &table_key, &table_value);
226 if (hret == HASH_ERROR_NO_MEMORY) {
228 } else if (hret != HASH_SUCCESS) {
325 int hret; local
402 hret = hash_create_ex(10, &(attr->data.str_dict), 0, 0, 0, 0,
405 if (hret != HASH_SUCCESS) {
/sssd/src/providers/ldap/
H A Dsdap_async_autofs.c119 int hret; local
131 hret = hash_lookup(entry_hash, &key, &value);
132 if (hret != HASH_SUCCESS) {
786 int hret; local
835 hret = hash_enter(entry_hash, &hkey, &value);
836 if (hret != HASH_SUCCESS) {
H A Dsdap_async_groups.c251 errno_t hret; local
276 hret = HASH_ERROR_KEY_NOT_FOUND;
280 hret = hash_lookup(ghosts, &key, &value);
283 if (hret == HASH_ERROR_KEY_NOT_FOUND) {
320 } else if (hret != HASH_SUCCESS) {
322 "hash_lookup failed: [%d]: %s\n", hret, strerror(hret));
391 int hret; local
470 hret = hash_lookup(ghosts, &key, &value);
471 if (hret
[all...]
H A Dsdap_async_nested_groups.c156 bool hret; local
159 hret = hash_values(table, &num_entries, &values);
160 if (hret != HASH_SUCCESS) {
206 int hret; local
225 hret = hash_enter(table, &key, &value);
226 if (hret != HASH_SUCCESS) {
327 int hret; local
338 hret = hash_lookup(table, &key, &value);
339 switch (hret) {
H A Dsdap_async_initgroups.c1896 int hret, i; local
1904 hret = hash_values(state->group_hash, &count, &values);
1905 if (hret != HASH_SUCCESS) {
1943 int hret; local
1970 hret = hash_iterate(state->group_hash,
1973 if (hret != HASH_SUCCESS) {
2516 int hret; local
2592 hret = hash_enter(state->group_hash, &key, &value);
2593 if (hret != HASH_SUCCESS) {
H A Dsdap_async_initgroups_ad.c1737 int hret; local
1754 hret = hash_values(state->group_hash, &count, &values);
1755 if (hret != HASH_SUCCESS) {
/sssd/src/util/
H A Dutil.c483 int hret; local
491 hret = hash_create_ex(count, &table, directory_bits, segment_bits,
495 switch (hret) {
516 hret, hash_error_string(hret));
/sssd/src/responder/ifp/
H A Difp_users.c885 int hret; local
969 hret = hash_enter(table, &key, &value);
970 if (hret != HASH_SUCCESS) {
972 "into hash table: %d\n", hret);
/sssd/src/providers/ad/
H A Dad_gpo.c281 int hret; local
284 hret = hash_lookup(options_table, &key, &val);
285 if (hret != HASH_SUCCESS && hret != HASH_ERROR_KEY_NOT_FOUND) {
287 hash_error_string(hret));
290 } else if (hret == HASH_SUCCESS) {
311 hret = hash_enter(options_table, &key, &val);
312 if (hret != HASH_SUCCESS) {
314 hash_error_string(hret));
1594 int hret; local
[all...]
/sssd/src/tests/cmocka/
H A Dtest_sss_sifp.c622 int hret; local
682 hret = hash_lookup(out, &key, &value);
683 assert_int_equal(hret, HASH_SUCCESS);
1422 int hret; local
1494 hret = hash_lookup(out, &key, &value);
1495 assert_int_equal(hret, HASH_SUCCESS);
/sssd/src/tests/
H A Dsbus_codegen_tests.c549 int hret; local
571 hret = hash_enter(table, &key, &value);
572 ck_assert_int_eq(hret, HASH_SUCCESS);
591 ck_assert_int_eq(hret, HASH_SUCCESS);

Completed in 2000 milliseconds