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

123

/sssd-io/src/sss_client/idmap/
H A Dsss_nss_idmap.h194 * @param[in] timeout timeout in milliseconds
206 uint32_t flags, unsigned int timeout);
218 * @param[in] timeout timeout in milliseconds
230 uint32_t flags, unsigned int timeout);
242 * @param[in] timeout timeout in milliseconds
253 uint32_t flags, unsigned int timeout);
265 * @param[in] timeout timeou
[all...]
H A Dsss_nss_idmap.c205 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...]
H A Dsss_nss_ex.c169 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...]
/sssd-io/src/responder/pam/
H A Dpam_helpers.h31 long timeout);
H A Dpamsrv.h85 int pam_dp_send_req(struct pam_auth_req *preq, int timeout);
108 time_t timeout,
H A Dpam_helpers.c39 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 Dpamsrv_dp.c63 "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/providers/ldap/
H A Dsdap_ops.h35 int timeout,
52 int timeout,
72 int timeout);
90 int timeout);
H A Dsdap_async.h76 int timeout,
92 int timeout,
105 int timeout,
120 int timeout);
172 int timeout);
221 int timeout,
238 int timeout,
261 int timeout,
278 int timeout);
293 int timeout);
[all...]
H A Dsdap_ops.c37 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...]
H A Dsdap_async_groups_ad.c35 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
/sssd-io/src/sbus/
H A Dsssd_dbus_common.c302 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/util/
H A Dsss_sockets.h36 socklen_t addr_len, int timeout);
H A Dtev_curl.h61 * @param[in] timeout The request timeout in seconds. Use 0 if you want
62 * to use the default libcurl timeout.
77 long int timeout);
157 * @param[in] timeout The request timeout in seconds. Use 0 if you want
158 * to use the default libcurl timeout.
175 int timeout);
/sssd-io/src/providers/proxy/
H A Dproxy_client.c32 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...]
/sssd-io/src/providers/
H A Dbe_ptask_private.h32 time_t timeout; member in struct:be_ptask
H A Dbe_ptask.h78 * If request does not complete in timeout seconds, it will be
101 time_t timeout,
116 time_t timeout,
H A Dbe_ptask.c108 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...]
/sssd-io/src/providers/data_provider/
H A Ddp_client.c33 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/sss_client/
H A Dcommon.c91 int timeout,
115 res = poll(&pfd, 1, timeout);
193 int timeout,
224 res = poll(&pfd, 1, timeout);
350 int timeout,
359 ret = sss_cli_send_req(cmd, rd, timeout, errnop);
365 ret = sss_cli_recv_rep(cmd, timeout, &buf, &len, errnop);
391 static bool sss_cli_check_version(const char *socket_name, int timeout) argument
421 nret = sss_cli_make_request_nochecks(SSS_GET_VERSION, &req, timeout,
531 static int sss_cli_open_socket(int *errnop, const char *socket_name, int timeout) argument
89 sss_cli_send_req(enum sss_cli_command cmd, struct sss_cli_req_data *rd, int timeout, int *errnop) argument
192 sss_cli_recv_rep(enum sss_cli_command cmd, int timeout, uint8_t **_buf, int *_len, int *errnop) argument
347 sss_cli_make_request_nochecks( enum sss_cli_command cmd, struct sss_cli_req_data *rd, int timeout, uint8_t **repbuf, size_t *replen, int *errnop) argument
635 sss_cli_check_socket(int *errnop, const char *socket_name, int timeout) argument
721 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
813 int timeout = SSS_CLI_SOCKET_TIMEOUT; local
901 int timeout = SSS_CLI_SOCKET_TIMEOUT; local
998 sss_cli_make_request_with_checks(enum sss_cli_command cmd, struct sss_cli_req_data *rd, int timeout, uint8_t **repbuf, size_t *replen, int *errnop, const char *socket_name) argument
[all...]
/sssd-io/src/lib/sifp/
H A Dsss_sifp_dbus.h58 * @brief Send D-Bus message to SSSD InfoPipe bus with 5 seconds timeout.
76 * @param[in] timeout Timeout
84 int timeout,
/sssd-io/src/tests/intg/
H A Dsecrets.py29 def __init__(self, host, timeout=60, **kwargs):
32 self.timeout = timeout
36 sock.settimeout(self.timeout)
/sssd-io/src/tests/cmocka/
H A Dcommon_mock_sdap.c94 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
/sssd-io/src/responder/nss/
H A Dnss_enum.c164 /* 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);
H A Dnsssrv_mmap_cache.h74 time_t timeout, struct sss_mc_ctx **mc_ctx);

Completed in 30 milliseconds

123