/sssd-io/src/providers/data_provider/ |
H A D | dp_iface_failover.c | 37 int count; local 39 count = 0; 41 services[count] = talloc_strdup(services, svc->name); 42 if (services[count] == NULL) { 46 count++; 49 *_count = count; 63 int count; local 71 count = 0; 97 services[count] = talloc_strdup(services, svc->name); 98 if (services[count] 125 int count; local 320 size_t count; local [all...] |
/sssd-io/src/providers/ipa/ |
H A D | ipa_selinux_maps.h | 42 size_t *count,
|
H A D | ipa_hbac_hosts.c | 51 size_t count; local 121 &count, &msgs); 123 if (ret == EOK && count == 0) { 128 if (count > 1) { 158 &count, &msgs); 160 if (ret == EOK && count == 0) { 165 if (count > 1) {
|
H A D | ipa_hbac_users.c | 181 size_t count; local 239 &count, &msgs); 241 if (ret == EOK && count == 0) { 246 if (count > 1) { 280 attrs, &count, &msgs); 282 if (ret == EOK && count == 0) { 287 if (count > 1) {
|
H A D | ipa_selinux_maps.c | 159 size_t count; local 162 ret = sdap_get_generic_recv(subreq, state, &count, &results); 167 if (count > 0) { 169 "Found %zu user maps in current search base\n", count); 171 total_count = count + state->map_count; 210 size_t *count, 218 *count = state->map_count; 208 ipa_selinux_get_maps_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, size_t *count, struct sysdb_attrs ***maps) argument
|
H A D | ipa_hbac_common.c | 29 const char *new_name, const size_t count, 35 for (i = 0; i < count; i++) { 430 if (res->count == 0) { 436 } else if (res->count == 1) { 443 "[%u] groups for [%s]\n", res->count - 1, username); 446 users->groups = talloc_array(users, const char *, res->count); 453 for (size_t i = 1; i < res->count; i++) { 489 if (num_groups < (res->count - 1)) { 515 size_t i, j, count; local 545 &count, 28 replace_attribute_name(const char *old_name, const char *new_name, const size_t count, struct sysdb_attrs **list) argument 617 size_t i, j, count; local [all...] |
/sssd-io/src/responder/ifp/ |
H A D | ifp_iface_nodes.c | 116 size_t count; local 120 count = 0; 123 count++; 126 nodes = talloc_zero_array(mem_ctx, const char *, count + 1); 132 count = 0; 135 nodes[count] = sbus_opath_escape_part(nodes, domain->name); 142 count++;
|
/sssd-io/src/providers/ldap/ |
H A D | sdap_async_groups_ad.c | 40 size_t count; member in struct:sdap_ad_match_rule_state 70 state->count = 0; 178 size_t count, i; local 181 ret = sdap_get_generic_recv(subreq, state, &count, &users); 191 "Search for users returned %zu results\n", count); 194 if (count > 0) { 197 state->count + count + 1); 204 for (i = 0; i < count; i++) { 205 state->users[state->count [all...] |
H A D | sdap_async_netgroups.c | 172 errno_t update_dn_list(struct dn_item *dn_list, const size_t count, argument 188 for(c = 0; c < count; c++) { 223 size_t count; member in struct:netgr_translate_members_state 238 const size_t count, 266 state->count = count; 271 for (c = 0; c < count; c++) { 485 size_t count; local 489 ret = sdap_get_generic_recv(subreq, state, &count, &netgroups); 496 switch (count) { 232 netgr_translate_members_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sss_domain_info *dom, struct sysdb_ctx *sysdb, const size_t count, struct sysdb_attrs **netgroups) argument 544 netgroup_translate_ldap_members_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, size_t *count, struct sysdb_attrs ***netgroups) argument 575 size_t count; member in struct:sdap_get_netgroups_state [all...] |
H A D | sdap_ops.c | 175 size_t count; local 185 ret = sdap_get_generic_recv(subreq, state, &count, &attrs); 193 if (count > 0) { 198 state->reply_count + count); 204 for (i = 0; i < count; i++) { 209 state->reply_count += count; 212 state->reply_count = count; 426 size_t count; local 436 ret = sdap_deref_search_with_filter_recv(subreq, state, &count, &attrs); 444 if (count > [all...] |
H A D | ldap_id_cleanup.c | 185 size_t count; local 223 &count, &msgs); 225 count = 0; 230 DEBUG(SSSDBG_FUNC_DATA, "Found %zu expired user entries!\n", count); 232 if (count == 0) { 246 for (i = 0; i < count; i++) { 376 size_t count; local 399 &count, &msgs); 401 count = 0; 407 DEBUG(SSSDBG_FUNC_DATA, "Found %zu expired group entries!\n", count); [all...] |
H A D | sdap_async_services.c | 43 size_t count; member in struct:sdap_get_services_state 98 state->count = 0; 166 size_t count, i; local 171 &count, &services); 180 count); 182 if (state->enumeration || count == 0) { 188 if (count > 0) { 193 state->count + count + 1); 201 for (i = 0; i < count; [all...] |
H A D | sdap_async_users.c | 763 size_t count; member in struct:sdap_search_user_state 772 size_t count); 800 state->count = 0; 883 size_t count; local 888 &count, &users); 896 "Search for users, returned %zu results.\n", count); 900 count == 0) { 906 if (count > 0) { 911 state->count + count 945 sdap_search_user_copy_batch(struct sdap_search_user_state *state, struct sysdb_attrs **users, size_t count) argument 965 sdap_search_user_recv(TALLOC_CTX *memctx, struct tevent_req *req, char **higher_usn, struct sysdb_attrs ***users, size_t *count) argument 999 size_t count; member in struct:sdap_get_users_state [all...] |
/sssd-io/src/responder/common/cache_req/ |
H A D | cache_req_result.c | 36 size_t count; local 40 count = *_num_results + 1; 43 count + 1); 52 *_num_results = count; 73 result->count = ldb_result != NULL ? ldb_result->count : 0; 109 ldb_result->count, domain->name); 144 ldb_result->count = ldb_msg_count; 178 ldb_result->count = 1; 231 if (start >= result->count) { [all...] |
/sssd-io/src/sbus/ |
H A D | sssd_dbus_common_signals.c | 35 unsigned long count; local 41 hret = hash_keys(table, &count, &keys); 47 for (i = 0; i < count; i++) {
|
/sssd-io/src/sss_client/ |
H A D | nss_mc_common.c | 62 int count; local 67 for (count = 5; count > 0; count--) { 76 if (count == 0) { 130 /* restore count of active threads */ 267 int count; local 271 for (count = 5; count > 0; count [all...] |
/sssd-io/src/db/ |
H A D | sysdb_selinux.h | 49 size_t *count,
|
H A D | sysdb_domain_resolution_order.c | 50 if (res->count > 1) { 52 "Base search returned [%d] results, expected 1.\n", res->count); 55 } else if (res->count == 0) { 59 /* res->count == 1 */
|
H A D | sysdb_search.c | 147 for (size_t c = 0; c < res->count; c++) { 176 res.count = msgs_count; 222 if (res->count > 1) { 228 * propagate based on res->count > 1. */ 291 if (DOM_HAS_VIEWS(domain) && orig_obj->count == 1) { 404 if (DOM_HAS_VIEWS(domain) && orig_obj->count == 1) { 514 if (ts_res->count == 0) { 555 if (ts_res->count == 0) { 573 for (size_t i = 0; i < ts_res->count; i++) { 724 for (c = 0; c < res->count; 2307 size_t i, ii, count, total; local [all...] |
H A D | sysdb_autofs.c | 193 size_t count; local 222 &count, &msgs); 233 if (count != 1) { 363 size_t count; local 388 filter, attrs, &count, &msgs); 399 *_count = count; 403 count, mapname); 448 size_t count; local 467 &count, &msgs); 495 for (i = 0; i < count; [all...] |
/sssd-io/src/tests/cwrap/ |
H A D | test_responder_common.c | 47 size_t count; local 55 ret = csv_string_to_uid_array(tmp_ctx, "1, 2, 3", false, &count, &list); 57 assert_int_equal(count, 3); 71 size_t count; local 79 ret = csv_string_to_uid_array(tmp_ctx, "sssd, foobar", true, &count, &list); 81 assert_int_equal(count, 2); 94 size_t count; local 102 ret = csv_string_to_uid_array(tmp_ctx, "nosuchuser", true, &count, &list);
|
H A D | test_server.c | 52 int count; local 54 count = 0; 58 count++; 59 if (count > 200) {
|
/sssd-io/src/tests/cmocka/ |
H A D | test_sysdb_views.c | 153 size_t count; local 183 LDB_SCOPE_BASE, NULL, NULL, &count, &msgs); 185 assert_int_equal(count, 1); 211 LDB_SCOPE_BASE, NULL, NULL, &count, &msgs); 213 assert_int_equal(count, 1); 384 size_t count; local 427 LDB_SCOPE_SUBTREE, NULL, NULL, &count, &msgs); 429 assert_true(count > 1); 436 LDB_SCOPE_SUBTREE, NULL, NULL, &count, &msgs); 438 assert_int_equal(count, [all...] |
/sssd-io/src/util/ |
H A D | safe-format-string.c | 51 safe_padding (int count, argument 59 while (count > 0) { 60 num = MIN (count, 8); 62 count -= num;
|
/sssd-io/src/sss_client/ssh/ |
H A D | sss_ssh_client.c | 120 uint32_t count, reserved, len, i; local 181 SAFEALIGN_COPY_UINT32(&count, rep+c, &c); 195 if (count > 0) { 196 res->pubkeys = talloc_zero_array(res, struct sss_ssh_pubkey, count); 202 res->num_pubkeys = count; 205 for (i = 0; i < count; i++) {
|