/sssd/src/responder/pam/ |
H A D | pam_helpers.c | 44 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 D | sssd_dbus_common_signals.c | 37 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 D | sssd_dbus_signals.c | 83 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 D | sssd_dbus_interface.c | 518 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 D | dp_request_table.c | 103 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 D | proxy_client.c | 42 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 D | proxy_auth.c | 35 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 D | proxy_init.c | 224 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 D | responder_dp.c | 71 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 D | nsssrv_netgroup.c | 40 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 D | nsssrv.c | 385 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 D | autofssrv.c | 108 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 D | autofssrv_cmd.c | 96 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 D | ipa_sudo_conversion.c | 106 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 D | sss_sifp_parser.c | 142 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 D | sdap_async_autofs.c | 119 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 D | sdap_async_groups.c | 251 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 D | sdap_async_nested_groups.c | 156 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 D | sdap_async_initgroups.c | 1896 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 D | sdap_async_initgroups_ad.c | 1737 int hret; local 1754 hret = hash_values(state->group_hash, &count, &values); 1755 if (hret != HASH_SUCCESS) {
|
/sssd/src/util/ |
H A D | util.c | 483 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 D | ifp_users.c | 885 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 D | ad_gpo.c | 281 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 D | test_sss_sifp.c | 622 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 D | sbus_codegen_tests.c | 549 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);
|