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

123456

/sssd/src/providers/data_provider/
H A Ddp_iface_failover.c37 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/src/providers/ipa/
H A Dipa_selinux_maps.h42 size_t *count,
H A Dipa_hbac_users.c182 size_t count; local
249 filter, attrs, &count, &msgs);
251 if (ret == EOK && count == 0) {
256 if (count > 1) {
291 &count, &msgs);
293 if (ret == EOK && count == 0) {
298 if (count > 1) {
H A Dipa_selinux_maps.c159 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 Dipa_hbac_hosts.c50 size_t count; local
120 &count, &msgs);
122 if (ret == EOK && count == 0) {
127 if (count > 1) {
157 &count, &msgs);
159 if (ret == EOK && count == 0) {
164 if (count > 1) {
H A Dipa_hbac_common.c29 const char *naming_attribute, size_t count,
59 for (c = 0; c < count; c++) {
162 const char *new_name, const size_t count,
168 for (i = 0; i < count; i++) {
611 size_t i, j, count; local
641 &count, &msgs);
642 if (ret == ENOENT || count == 0) {
651 } else if (count > 1) {
713 size_t i, j, count; local
751 &count,
27 ipa_hbac_save_list(struct sss_domain_info *domain, bool delete_subdir, const char *subdir, const char *naming_attribute, size_t count, struct sysdb_attrs **list) argument
161 replace_attribute_name(const char *old_name, const char *new_name, const size_t count, struct sysdb_attrs **list) argument
[all...]
/sssd/src/responder/ifp/
H A Difp_iface_nodes.c116 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/src/providers/ldap/
H A Dsdap_async_groups_ad.c40 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 Dsdap_async_netgroups.c172 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 Dsdap_ops.c175 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 Dldap_id_cleanup.c185 size_t count; local
222 ret = sysdb_search_users(tmpctx, dom, subfilter, attrs, &count, &msgs);
224 count = 0;
229 DEBUG(SSSDBG_FUNC_DATA, "Found %zu expired user entries!\n", count);
231 if (count == 0) {
245 for (i = 0; i < count; i++) {
375 size_t count; local
397 ret = sysdb_search_groups(tmpctx, domain, subfilter, attrs, &count, &msgs);
399 count = 0;
405 DEBUG(SSSDBG_FUNC_DATA, "Found %zu expired group entries!\n", count);
[all...]
H A Dsdap_async_services.c43 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 Dsdap_async_users.c636 size_t count; member in struct:sdap_search_user_state
645 size_t count);
673 state->count = 0;
756 size_t count; local
761 &count, &users);
769 "Search for users, returned %zu results.\n", count);
773 count == 0) {
779 if (count > 0) {
784 state->count + count
818 sdap_search_user_copy_batch(struct sdap_search_user_state *state, struct sysdb_attrs **users, size_t count) argument
838 sdap_search_user_recv(TALLOC_CTX *memctx, struct tevent_req *req, char **higher_usn, struct sysdb_attrs ***users, size_t *count) argument
871 size_t count; member in struct:sdap_get_users_state
[all...]
H A Dsdap_async_groups.c120 size_t count; local
135 search_attrs, &count, &msgs);
145 localdn = talloc_array(mem_ctx, char *, count);
151 for (i=0; i < count; i++) {
163 *_ndn = count;
1171 size_t count; member in struct:sdap_process_group_state
1481 state->count = state->check_count;
1514 size_t count; local
1537 attrs, &count, &msgs);
1538 if (ret == EOK && count >
1664 size_t count; local
1797 size_t count; member in struct:sdap_get_groups_state
1990 size_t count; local
2159 sdap_search_group_copy_batch(struct sdap_get_groups_state *state, struct sysdb_attrs **groups, size_t count) argument
2254 size_t count = 0; local
2515 size_t count; local
[all...]
/sssd/src/sbus/
H A Dsssd_dbus_common_signals.c35 unsigned long count; local
41 hret = hash_keys(table, &count, &keys);
47 for (i = 0; i < count; i++) {
/sssd/src/sss_client/
H A Dnss_mc_common.c62 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/src/db/
H A Dsysdb_selinux.h49 size_t *count,
H A Dsysdb_search.c146 for (size_t c = 0; c < res->count; c++) {
175 res.count = msgs_count;
274 if (DOM_HAS_VIEWS(domain) && orig_obj->count == 1) {
386 if (DOM_HAS_VIEWS(domain) && orig_obj->count == 1) {
496 if (ts_res->count == 0) {
519 for (size_t i = 0; i < ts_res->count; i++) {
665 for (c = 0; c < res->count; c++) {
726 for (i = 0; i < res->count; i++) {
774 if (orig_obj->count == 1) {
930 if (orig_obj->count
2236 size_t i, ii, count, total; local
[all...]
H A Dsysdb_autofs.c193 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/src/tests/cwrap/
H A Dtest_responder_common.c47 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 Dtest_server.c52 int count; local
54 count = 0;
58 count++;
59 if (count > 200) {
/sssd/src/util/
H A Dsafe-format-string.c51 safe_padding (int count, argument
59 while (count > 0) {
60 num = MIN (count, 8);
62 count -= num;
/sssd/src/sss_client/ssh/
H A Dsss_ssh_client.c120 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++) {
/sssd/src/tests/cmocka/
H A Dtest_sysdb_views.c152 size_t count; local
182 LDB_SCOPE_BASE, NULL, NULL, &count, &msgs);
184 assert_int_equal(count, 1);
210 LDB_SCOPE_BASE, NULL, NULL, &count, &msgs);
212 assert_int_equal(count, 1);
383 size_t count; local
426 LDB_SCOPE_SUBTREE, NULL, NULL, &count, &msgs);
428 assert_true(count > 1);
435 LDB_SCOPE_SUBTREE, NULL, NULL, &count, &msgs);
437 assert_int_equal(count,
[all...]
/sssd/src/tools/
H A Dsss_groupshow.c212 int count = 0; local
249 count = 0;
251 for (count = 0; gi->user_members[count]; count++) ;
265 i = count;
266 for (count = 0; user_members[count]; count++) ;
269 i + count
427 size_t count; local
[all...]

Completed in 1091 milliseconds

123456