Searched refs:tv (Results 1 - 25 of 37) sorted by relevance

12

/sssd/src/tests/cmocka/data_provider/
H A Dtest_dp_request_table.c80 struct dp_table_value *tv; local
103 tv = dp_req_table_lookup(test_ctx->table, key);
104 assert_non_null(tv);
115 talloc_free(tv);
150 struct dp_table_value *tv; local
175 tv = dp_req_table_lookup(table, key);
176 assert_non_null(tv);
177 assert_ptr_equal(tv->req, req);
178 assert_ptr_equal(tv->list->sbus_req, sbus_req);
193 tv
223 struct dp_table_value *tv; local
[all...]
H A Dtest_dp_request.c111 struct timeval tv,
123 struct timeval tv; local
135 tv = tevent_timeval_current_ofs(1, 0);
136 tt = tevent_add_timer(params->ev, req, tv, get_name_by_uid_done, req);
146 struct timeval tv,
144 get_name_by_uid_done(struct tevent_context *ev, struct tevent_timer *tt, struct timeval tv, void *pvt) argument
/sssd/src/responder/pam/
H A Dpam_helpers.c33 struct timeval tv,
46 struct timeval tv; local
81 tv = tevent_timeval_current_ofs(timeout, 0);
82 te = tevent_add_timer(ev, table_ctx, tv,
101 struct timeval tv,
99 pam_initgr_cache_remove(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
H A Dpamsrv_p11.c231 struct timeval tv, void *pvt);
246 struct timeval tv; local
356 tv = tevent_timeval_current_ofs(timeout, 0);
357 state->timeout_handler = tevent_add_timer(ev, req, tv,
475 struct timeval tv, void *pvt)
473 p11_child_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
/sssd/src/sbus/
H A Dsssd_dbus_connection.c37 struct timeval tv, void *data)
54 tv = tevent_timeval_current_ofs(0, 30);
55 new_event = tevent_add_timer(ev, conn, tv, sbus_dispatch, conn);
104 new_event = tevent_add_timer(ev, conn, tv, sbus_dispatch, conn);
124 struct timeval tv; local
129 tv = tevent_timeval_current();
132 te = tevent_add_timer(conn->ev, conn, tv, sbus_dispatch, conn);
381 struct timeval tv, void *data)
437 tv.tv_sec += 3;
441 tv
35 sbus_dispatch(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *data) argument
379 sbus_reconnect(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *data) argument
464 struct timeval tv; local
[all...]
H A Dsssd_dbus_common.c284 struct timeval tv; local
289 tv.tv_sec = interval / 1000 + rightnow.tv_sec;
290 tv.tv_usec = (interval % 1000) * 1000 + rightnow.tv_usec;
291 return tv;
316 struct timeval tv; local
333 tv = _get_interval_tv(dbus_timeout_get_interval(dbus_timeout));
334 timeout->te = tevent_add_timer(conn->ev, timeout, tv,
/sssd/src/providers/
H A Dbe_ptask.c88 struct timeval tv,
104 struct timeval tv,
135 task->last_execution = tv.tv_sec;
151 tv = tevent_timeval_current_ofs(task->timeout, 0);
152 timeout = tevent_add_timer(task->ev, task->req, tv,
200 struct timeval tv = { 0, }; local
232 tv = tevent_timeval_current_ofs(delay, 0);
235 "from now [%lu]\n", task->name, delay, tv.tv_sec);
238 tv = tevent_timeval_set(task->last_execution + delay, 0);
242 task->name, delay, tv
86 be_ptask_timeout(struct tevent_context *ev, struct tevent_timer *tt, struct timeval tv, void *pvt) argument
102 be_ptask_execute(struct tevent_context *ev, struct tevent_timer *tt, struct timeval tv, void *pvt) argument
[all...]
H A Dfail_over.c280 struct timeval tv; local
283 gettimeofday(&tv, NULL);
292 if (STATUS_DIFF(data, tv) > timeout) {
333 struct timeval tv; local
344 gettimeofday(&tv, NULL);
346 if (STATUS_DIFF(server->common, tv) > timeout) {
350 server->common->last_status_change.tv_sec = tv.tv_sec;
354 if (server->common->rhostent && STATUS_DIFF(server->common, tv) >
372 struct timeval tv; local
381 gettimeofday(&tv, NUL
1069 fo_resolve_service_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
1084 struct timeval tv; local
[all...]
H A Dbe_dyndns.c761 struct timeval tv, void *pvt);
780 struct timeval tv; local
800 tv = tevent_timeval_current_ofs(DYNDNS_TIMEOUT, 0);
801 state->timeout_handler = tevent_add_timer(ev, req, tv,
831 struct timeval tv, void *pvt)
1147 struct timeval tv; local
1158 tv = tevent_timeval_current_ofs(refresh, 0);
1159 ctx->refresh_timer = tevent_add_timer(ev, ctx, tv,
829 nsupdate_child_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
H A Ddata_provider_be.c161 struct timeval tv; local
166 tv = tevent_timeval_current_ofs(reset_status_timeout, 0);
181 timeout = tevent_add_timer(be_ctx->ev, be_ctx, tv,
H A Ddata_provider_fo.c393 struct timeval tv, void *pvt)
467 struct timeval tv; local
487 tv = tevent_timeval_current();
488 tv = tevent_timeval_add(&tv, timeout_seconds, 0);
489 fo_ctx->primary_server_handler = tevent_add_timer(ev, bctx, tv,
391 be_primary_server_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
/sssd/src/providers/proxy/
H A Dproxy_client.c131 struct timeval tv; local
155 tv = tevent_timeval_current_ofs(5, 0);
156 proxy_cli->timeout = tevent_add_timer(auth_ctx->be->ev, proxy_cli, tv,
/sssd/src/util/
H A Ddebug.c217 struct timeval tv; local
247 gettimeofday(&tv, NULL);
248 tm = localtime(&tv.tv_sec);
251 memcpy(datetime, ctime(&tv.tv_sec), 19);
255 datetime, tv.tv_usec,
H A Dsss_sockets.c220 struct timeval tv, void *pvt)
246 struct timeval tv; local
292 tv = tevent_timeval_current_ofs(timeout, 0);
294 state->connect_timeout = tevent_add_timer(ev, subreq, tv,
218 sssd_async_connect_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
/sssd/src/providers/data_provider/
H A Ddp_client.c170 struct timeval tv; local
198 tv = tevent_timeval_current_ofs(5, 0);
199 dp_cli->timeout = tevent_add_timer(provider->ev, dp_cli, tv,
/sssd/src/tools/
H A Dfiles.c92 struct timeval tv[2]; local
94 tv[0].tv_sec = statp->st_atime;
95 tv[0].tv_usec = 0;
96 tv[1].tv_sec = statp->st_mtime;
97 tv[1].tv_usec = 0;
99 ret = futimesat(dir_fd, path, tv);
119 struct timeval tv[2]; local
121 tv[0].tv_sec = statp->st_atime;
122 tv[0].tv_usec = 0;
123 tv[
[all...]
/sssd/src/providers/ldap/
H A Dsdap_child_helpers.c441 struct timeval tv, void *pvt)
463 struct timeval tv, void *pvt)
485 tv = tevent_timeval_current_ofs(SIGTERM_TO_SIGKILL_TIME, 0);
487 state->kill_te = tevent_add_timer(ev, req, tv, get_tgt_sigkill_handler, req);
499 struct timeval tv; local
504 tv = tevent_timeval_current_ofs(timeout, 0);
506 te = tevent_add_timer(ev, req, tv, get_tgt_timeout_handler, req);
439 get_tgt_sigkill_handler(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
461 get_tgt_timeout_handler(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
H A Dsdap_id_op.c237 struct timeval tv; local
239 memset(&tv, 0, sizeof(tv));
241 tv.tv_sec = conn_data->sh->expire_time;
242 if (tv.tv_sec <= 0) {
249 tv.tv_sec -= timeout;
252 if (tv.tv_sec <= time(NULL)) {
260 conn_data, tv,
H A Dsdap_async.c133 struct timeval tv, void *pvt);
143 struct timeval tv, void *pvt)
359 struct timeval tv; local
374 tv = tevent_timeval_current();
377 tv.tv_usec += 5;
378 tv.tv_sec += tv.tv_usec / 1000000;
379 tv.tv_usec = tv.tv_usec % 1000000;
381 te = tevent_add_timer(op->ev, op, tv,
141 sdap_ldap_next_result(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
391 sdap_process_next_reply(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
460 struct timeval tv; local
[all...]
/sssd/src/monitor/
H A Dmonitor.c497 struct timeval tv; local
500 tv = tevent_timeval_current_ofs(5, 0);
501 to = tevent_add_timer(ctx->ev, ctx, tv, services_startup_timeout, ctx);
1560 struct timeval tv; local
1575 gettimeofday(&tv, NULL);
1576 tv.tv_sec += 1;
1578 te = tevent_add_timer(ev, ev, tv, process_config_file, file_ctx);
1668 struct timeval tv; local
1670 tv.tv_sec = t.tv_sec+5;
1671 tv
1710 struct timeval tv; local
1782 struct timeval tv; local
1967 struct timeval tv; local
2019 missing_resolv_conf(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *data) argument
2048 struct timeval tv; local
2258 struct timeval tv; local
2297 struct timeval tv; local
2431 struct timeval tv; local
[all...]
/sssd/src/providers/ad/
H A Dad_machine_pw_renewal.c111 struct timeval tv, void *pvt);
125 struct timeval tv; local
210 tv = tevent_timeval_current_ofs(be_ptask_get_timeout(be_ptask), 0);
211 state->timeout_handler = tevent_add_timer(ev, req, tv,
280 struct timeval tv, void *pvt)
278 ad_machine_account_password_renewal_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
/sssd/src/tests/cmocka/
H A Dtest_krb5_wait_queue.c43 struct timeval tv,
55 struct timeval tv; local
69 tv = tevent_timeval_current_ofs(0, state->us_delay);
71 tt = tevent_add_timer(ev, req, tv, krb5_mocked_auth_done, req);
81 struct timeval tv,
79 krb5_mocked_auth_done(struct tevent_context *ev, struct tevent_timer *tt, struct timeval tv, void *pvt) argument
H A Dtest_data_provider_be.c147 struct timeval tv; local
175 tv = tevent_timeval_current_ofs(OFFLINE_TIMEOUT + 1, 0);
177 check_ev = tevent_add_timer(test_ctx->tctx->ev, test_ctx, tv,
H A Dtest_ipa_subdomains_server.c510 struct timeval tv, void *pvt)
524 struct timeval tv; local
531 tv = tevent_timeval_current_ofs(1, 0);
532 timeout_handler = tevent_add_timer(test_ctx->tctx->ev, test_ctx, tv,
865 struct timeval tv; local
872 tv = tevent_timeval_current_ofs(1, 0);
873 timeout_handler = tevent_add_timer(test_ctx->tctx->ev, test_ctx, tv,
508 ipa_server_init_done(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
/sssd/src/resolv/
H A Dasync_resolv.c158 struct timeval tv = { 0, 0 }; local
165 tvp = ares_timeout(ctx->channel, NULL, &tv);
168 tvp = &tv;
173 tv = tevent_timeval_current_ofs(1, 0);
175 tv = tevent_timeval_current_ofs(tvp->tv_sec, tvp->tv_usec);
178 ctx->timeout_watcher = tevent_add_timer(ev, ctx, tv, check_fd_timeouts,
211 struct timeval tv, void *pvt)
240 struct timeval tv; local
244 tv = tevent_timeval_current_ofs(ctx->timeout, 0);
254 rreq->request_timeout = tevent_add_timer(ev, rreq, tv,
209 resolv_request_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
795 struct timeval tv = { 0, 0 }; local
1585 struct timeval tv = { 0, 0 }; local
1924 struct timeval tv = { 0, 0 }; local
[all...]

Completed in 2105 milliseconds

12