/sssd-io/src/responder/pam/ |
H A D | pam_helpers.c | 39 long timeout) 81 tv = tevent_timeval_current_ofs(timeout, 0); 36 pam_initgr_cache_set(struct tevent_context *ev, hash_table_t *id_table, char *name, long timeout) argument
|
H A D | pamsrv_dp.c | 63 "received and no timeout occurred\n"); 108 int pam_dp_send_req(struct pam_auth_req *preq, int timeout) argument 159 timeout, pam_dp_process_reply,
|
/sssd-io/src/lib/sifp/ |
H A D | sss_sifp_dbus.c | 89 int timeout, 103 timeout, &dbus_error); 87 sss_sifp_send_message_ex(sss_sifp_ctx *ctx, DBusMessage *msg, int timeout, DBusMessage **_reply) argument
|
/sssd-io/src/providers/ |
H A D | be_ptask_private.h | 32 time_t timeout; member in struct:be_ptask
|
H A D | be_ptask.c | 108 struct tevent_timer *timeout = NULL; local 132 DEBUG(SSSDBG_TRACE_FUNC, "Task [%s]: executing task, timeout %lu " 133 "seconds\n", task->name, task->timeout); 149 /* schedule timeout */ 150 if (task->timeout > 0) { 151 tv = tevent_timeval_current_ofs(task->timeout, 0); 152 timeout = tevent_add_timer(task->ev, task->req, tv, 154 if (timeout == NULL) { 155 /* If we can't guarantee a timeout, 159 DEBUG(SSSDBG_OP_FAILURE, "Task [%s]: failed to set timeout, " 263 be_ptask_create(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, time_t period, time_t first_delay, time_t enabled_delay, time_t random_offset, time_t timeout, enum be_ptask_offline offline, time_t max_backoff, be_ptask_send_t send_fn, be_ptask_recv_t recv_fn, void *pvt, const char *name, struct be_ptask **_task) argument 440 be_ptask_create_sync(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, time_t period, time_t first_delay, time_t enabled_delay, time_t random_offset, time_t timeout, enum be_ptask_offline offline, time_t max_backoff, be_ptask_sync_t fn, void *pvt, const char *name, struct be_ptask **_task) argument [all...] |
H A D | data_provider_be.c | 163 struct tevent_timer *timeout = NULL; local 184 timeout = tevent_add_timer(be_ctx->ev, be_ctx, tv, 186 if (timeout == NULL) {
|
/sssd-io/src/providers/data_provider/ |
H A D | dp_client.c | 33 struct tevent_timer *timeout; member in struct:dp_client 113 DEBUG(SSSDBG_CONF_SETTINGS, "Cancel DP ID timeout [%p]\n", dp_cli->timeout); 114 talloc_zfree(dp_cli->timeout); 192 dp_cli->timeout = NULL; 197 /* Setup timeout in case client fails to register himself in time. */ 199 dp_cli->timeout = tevent_add_timer(provider->ev, dp_cli, tv, 201 if (dp_cli->timeout == NULL) { 208 "Set-up Backend ID timeout [%p]\n", dp_cli->timeout); [all...] |
/sssd-io/src/providers/ldap/ |
H A D | sdap_async_groups_ad.c | 35 int timeout; member in struct:sdap_ad_match_rule_state 55 int timeout) 69 state->timeout = timeout; 160 state->timeout, true); 50 sdap_get_ad_match_rule_members_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sysdb_attrs *group, int timeout) argument
|
H A D | ldap_id_netgroup.c | 43 int timeout; member in struct:ldap_netgroup_get_state 93 state->timeout = dp_opt_get_int(ctx->opts->basic, SDAP_SEARCH_TIMEOUT); 168 state->timeout);
|
H A D | sdap_async_netgroups.c | 571 int timeout; member in struct:sdap_get_netgroups_state 594 int timeout) 612 state->timeout = timeout; 659 state->timeout, 585 sdap_get_netgroups_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sss_domain_info *dom, struct sysdb_ctx *sysdb, struct sdap_options *opts, struct sdap_search_base **search_bases, struct sdap_handle *sh, const char **attrs, const char *filter, int timeout) argument
|
H A D | sdap_async_services.c | 38 int timeout; member in struct:sdap_get_services_state 80 int timeout, 99 state->timeout = timeout; 148 state->timeout, 71 sdap_get_services_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sss_domain_info *dom, struct sysdb_ctx *sysdb, struct sdap_options *opts, struct sdap_search_base **search_bases, struct sdap_handle *sh, const char **attrs, const char *filter, int timeout, bool enumeration) argument
|
H A D | sdap_child_helpers.c | 79 "LDAP child was terminated due to timeout\n"); 279 int timeout); 289 int timeout) 333 ret = set_tgt_child_timeout(req, ev, timeout); 450 "timeout for sending SIGKILL to TGT child [%d] reached.\n", 472 "timeout for sending SIGTERM to TGT child [%d] reached.\n", 483 "Setting %d seconds timeout for sending SIGKILL to TGT child\n", 497 int timeout) 503 "Setting %d seconds timeout for TGT child\n", timeout); 283 sdap_get_tgt_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *realm_str, const char *princ_str, const char *keytab_name, int32_t lifetime, int timeout) argument 495 set_tgt_child_timeout(struct tevent_req *req, struct tevent_context *ev, int timeout) argument [all...] |
H A D | sdap_ops.c | 37 int timeout; member in struct:sdap_search_bases_ex_state 61 int timeout, 90 state->timeout = timeout == 0 92 : timeout; 158 state->map_num_attrs, state->timeout, 254 int timeout, 259 allow_paging, false, timeout, 279 int timeout, 284 allow_paging, true, timeout, 53 sdap_search_bases_ex_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map *map, bool allow_paging, bool return_first_reply, int timeout, const char *filter, const char **attrs) argument 247 sdap_search_bases_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map *map, bool allow_paging, int timeout, const char *filter, const char **attrs) argument 272 sdap_search_bases_return_first_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map *map, bool allow_paging, int timeout, const char *filter, const char **attrs) argument 307 int timeout; member in struct:sdap_deref_bases_ex_state 321 sdap_deref_bases_ex_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, bool return_first_reply, int timeout) argument 498 sdap_deref_bases_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, int timeout) argument 524 sdap_deref_bases_return_first_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sdap_search_base **bases, struct sdap_attr_map_info *maps, const char *filter, const char **attrs, const char *deref_attr, unsigned int flags, int timeout) argument [all...] |
/sssd-io/src/providers/proxy/ |
H A D | proxy_client.c | 32 struct tevent_timer *timeout; member in struct:proxy_client 56 /* First thing, cancel the timeout */ 58 "Cancel proxy client ID timeout [%p]\n", proxy_cli->timeout); 59 talloc_zfree(proxy_cli->timeout); 154 /* Setup timeout in case client fails to register himself in time. */ 156 proxy_cli->timeout = tevent_add_timer(auth_ctx->be->ev, proxy_cli, tv, 158 if (proxy_cli->timeout == NULL) { 165 "Set-up proxy client ID timeout [%p]\n", proxy_cli->timeout); [all...] |
H A D | proxy.h | 136 struct tevent_timer *timeout; member in struct:pc_init_ctx
|
/sssd-io/src/responder/nss/ |
H A D | nss_enum.c | 164 /* Expire the result object after its timeout is reached. */ 282 uint32_t timeout; local 285 timeout = enum_ctx->result[0]->domain->netgroup_timeout * 288 timeout = enum_ctx->result[0]->domain->netgroup_timeout; 292 * calls with too low timeout values, we only allow 10 seconds as 293 * the minimal timeout 295 if (timeout < 10) timeout = 10; 297 tv = tevent_timeval_current_ofs(timeout, 0);
|
/sssd-io/src/sbus/ |
H A D | sssd_dbus_common.c | 302 struct sbus_timeout_ctx *timeout; local 303 timeout = talloc_get_type(data, struct sbus_timeout_ctx); 305 dbus_timeout_handle(timeout->dbus_timeout); 315 struct sbus_timeout_ctx *timeout; local 326 timeout = talloc_zero(conn, struct sbus_timeout_ctx); 327 if (!timeout) { 331 timeout->dbus_timeout = dbus_timeout; 334 timeout->te = tevent_add_timer(conn->ev, timeout, tv, 335 sbus_timeout_handler, timeout); 369 void *timeout; local [all...] |
/sssd-io/src/tests/cmocka/ |
H A D | common_mock_sdap.c | 94 int timeout, 122 int timeout) 84 sdap_get_generic_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *search_base, int scope, const char *filter, const char **attrs, struct sdap_attr_map *map, int map_num_attrs, int timeout, bool allow_paging) argument 113 sdap_deref_search_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout) argument
|
H A D | sss_nss_idmap-tests.c | 66 int timeout, 64 sss_nss_make_request_timeout(enum sss_cli_command cmd, struct sss_cli_req_data *rd, int timeout, uint8_t **repbuf, size_t *replen, int *errnop) argument
|
H A D | test_kcm_queue.c | 88 struct tevent_timer *timeout = NULL; local 103 timeout = tevent_add_timer(state->ev, state, tv, timed_request_done, req); 104 if (timeout == NULL) {
|
/sssd-io/src/util/ |
H A D | sss_sockets.c | 242 socklen_t addr_len, int timeout) 291 "Setting %d seconds timeout for connecting\n", timeout); 292 tv = tevent_timeval_current_ofs(timeout, 0); 320 /* kill the timeout handler now that we got a reply */ 239 sssd_async_socket_init_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sockaddr_storage *addr, socklen_t addr_len, int timeout) argument
|
H A D | sss_ldap.c | 145 int addr_len, int timeout) 166 subreq = sssd_async_socket_init_send(state, ev, addr, addr_len, timeout); 141 sss_ldap_init_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *uri, struct sockaddr_storage *addr, int addr_len, int timeout) argument
|
/sssd-io/src/providers/ipa/ |
H A D | ipa_auth.c | 328 int timeout; local 361 timeout = dp_opt_get_int(state->auth_ctx->sdap_auth_ctx->opts->basic, 365 state->pd->authtok, timeout);
|
/sssd-io/src/sss_client/idmap/ |
H A D | sss_nss_ex.c | 169 int sss_get_ex(struct nss_input *inp, uint32_t flags, unsigned int timeout) argument 207 ret = sss_nss_timedlock(timeout, &time_left); 360 uint32_t flags, unsigned int timeout) 375 ret = sss_get_ex(&inp, flags, timeout); 392 uint32_t flags, unsigned int timeout) 408 ret = sss_get_ex(&inp, flags, timeout); 423 uint32_t flags, unsigned int timeout) 438 ret = sss_get_ex(&inp, flags, timeout); 454 uint32_t flags, unsigned int timeout) 470 ret = sss_get_ex(&inp, flags, timeout); 357 sss_nss_getpwnam_timeout(const char *name, struct passwd *pwd, char *buffer, size_t buflen, struct passwd **result, uint32_t flags, unsigned int timeout) argument 389 sss_nss_getpwuid_timeout(uid_t uid, struct passwd *pwd, char *buffer, size_t buflen, struct passwd **result, uint32_t flags, unsigned int timeout) argument 421 sss_nss_getgrnam_timeout(const char *name, struct group *grp, char *buffer, size_t buflen, struct group **result, uint32_t flags, unsigned int timeout) argument 452 sss_nss_getgrgid_timeout(gid_t gid, struct group *grp, char *buffer, size_t buflen, struct group **result, uint32_t flags, unsigned int timeout) argument 483 sss_nss_getgrouplist_timeout(const char *name, gid_t group, gid_t *groups, int *ngroups, uint32_t flags, unsigned int timeout) argument [all...] |
H A D | sss_nss_idmap.c | 205 unsigned int timeout, struct output *out) 257 if (timeout == NO_TIMEOUT) { 260 ret = sss_nss_timedlock(timeout, &time_left); 362 int sss_nss_getsidbyname_timeout(const char *fq_name, unsigned int timeout, argument 375 ret = sss_nss_getyyybyxxx(inp, SSS_NSS_GETSIDBYNAME, timeout, &out); 390 int sss_nss_getsidbyid_timeout(uint32_t id, unsigned int timeout, argument 403 ret = sss_nss_getyyybyxxx(inp, SSS_NSS_GETSIDBYID, timeout, &out); 417 int sss_nss_getnamebysid_timeout(const char *sid, unsigned int timeout, argument 430 ret = sss_nss_getyyybyxxx(inp, SSS_NSS_GETNAMEBYSID, timeout, &out); 445 int sss_nss_getidbysid_timeout(const char *sid, unsigned int timeout, argument 204 sss_nss_getyyybyxxx(union input inp, enum sss_cli_command cmd, unsigned int timeout, struct output *out) argument 472 sss_nss_getorigbyname_timeout(const char *fq_name, unsigned int timeout, struct sss_nss_kv **kv_list, enum sss_id_type *type) argument 501 sss_nss_getnamebycert_timeout(const char *cert, unsigned int timeout, char **fq_name, enum sss_id_type *type) argument 529 sss_nss_getlistbycert_timeout(const char *cert, unsigned int timeout, char ***fq_name, enum sss_id_type **type) argument [all...] |