| /sssd-io/src/tests/cmocka/data_provider/ |
| H A D | test_dp_request_table.c | 80 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 D | test_dp_request.c | 111 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-io/src/tests/cmocka/ |
| H A D | test_inotify.c | 60 struct timeval tv; local 73 gettimeofday(&tv, NULL); 74 tv.tv_sec += 5; 76 tv, test_timeout, ctx); 245 struct timeval tv; local 257 gettimeofday(&tv, NULL); 258 tv.tv_usec += 500; 260 tv, file_mod_op, test_ctx); 266 gettimeofday(&tv, NULL); 267 tv 329 struct timeval tv; local 390 struct timeval tv; local 421 struct timeval tv; local 491 struct timeval tv; local [all...] |
| H A D | test_krb5_wait_queue.c | 43 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 D | test_data_provider_be.c | 147 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 D | test_kcm_queue.c | 87 struct timeval tv; local 102 tv = tevent_timeval_current_ofs(state->delay, 0); 103 timeout = tevent_add_timer(state->ev, state, tv, timed_request_done, req);
|
| H A D | test_ipa_subdomains_server.c | 521 struct timeval tv, void *pvt) 535 struct timeval tv; local 544 tv = tevent_timeval_current_ofs(1, 0); 545 timeout_handler = tevent_add_timer(test_ctx->tctx->ev, test_ctx, tv, 894 struct timeval tv; local 901 tv = tevent_timeval_current_ofs(1, 0); 902 timeout_handler = tevent_add_timer(test_ctx->tctx->ev, test_ctx, tv, 519 ipa_server_init_done(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
|
| /sssd-io/src/responder/pam/ |
| H A D | pam_helpers.c | 33 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
|
| /sssd-io/src/sbus/ |
| H A D | sssd_dbus_connection.c | 34 struct timeval tv, void *data) 51 tv = tevent_timeval_current_ofs(0, 30); 52 new_event = tevent_add_timer(ev, conn, tv, sbus_dispatch, conn); 101 new_event = tevent_add_timer(ev, conn, tv, sbus_dispatch, conn); 121 struct timeval tv; local 126 tv = tevent_timeval_current(); 129 te = tevent_add_timer(conn->ev, conn, tv, sbus_dispatch, conn); 384 struct timeval tv, void *data) 440 tv.tv_sec += 3; 444 tv 32 sbus_dispatch(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *data) argument 382 sbus_reconnect(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *data) argument 467 struct timeval tv; local [all...] |
| H A D | sssd_dbus_common.c | 284 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-io/src/providers/ |
| H A D | be_ptask.c | 88 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 D | fail_over.c | 280 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 387 gettimeofday(&tv, NUL 1075 fo_resolve_service_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument 1090 struct timeval tv; local [all...] |
| H A D | be_dyndns.c | 765 struct timeval tv, void *pvt); 784 struct timeval tv; local 804 tv = tevent_timeval_current_ofs(DYNDNS_TIMEOUT, 0); 805 state->timeout_handler = tevent_add_timer(ev, req, tv, 835 struct timeval tv, void *pvt) 1151 struct timeval tv; local 1162 tv = tevent_timeval_current_ofs(refresh, 0); 1163 ctx->refresh_timer = tevent_add_timer(ev, ctx, tv, 833 nsupdate_child_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
|
| /sssd-io/src/providers/proxy/ |
| H A D | proxy_client.c | 131 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-io/src/providers/data_provider/ |
| H A D | dp_client.c | 170 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-io/src/util/ |
| H A D | files.c | 91 struct timeval tv[2]; local 93 tv[0].tv_sec = statp->st_atime; 94 tv[0].tv_usec = 0; 95 tv[1].tv_sec = statp->st_mtime; 96 tv[1].tv_usec = 0; 98 ret = futimesat(dir_fd, path, tv); 118 struct timeval tv[2]; local 120 tv[0].tv_sec = statp->st_atime; 121 tv[0].tv_usec = 0; 122 tv[ [all...] |
| H A D | sss_sockets.c | 220 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
|
| H A D | debug.c | 271 struct timeval tv; local 301 gettimeofday(&tv, NULL); 302 tm = localtime(&tv.tv_sec); 305 memcpy(datetime, ctime(&tv.tv_sec), 19); 309 datetime, tv.tv_usec,
|
| H A D | inotify.c | 170 struct timeval tv; local 177 gettimeofday(&tv, NULL); 178 tv.tv_sec += snctx->delay.tv_sec; 179 tv.tv_usec += snctx->delay.tv_usec; 186 disp->te = tevent_add_timer(snctx->ev, disp, tv,
|
| /sssd-io/src/responder/nss/ |
| H A D | nss_enum.c | 223 struct timeval tv; local 225 tv = tevent_timeval_current_ofs(nss_ctx->enum_cache_timeout, 0); 226 te = tevent_add_timer(ev, nss_ctx, tv, nss_setent_timeout, enum_ctx); 281 struct timeval tv; local 297 tv = tevent_timeval_current_ofs(timeout, 0); 298 te = tevent_add_timer(ev, enum_ctx, tv, nss_setnetgrent_timeout, enum_ctx);
|
| /sssd-io/src/providers/ldap/ |
| H A D | sdap_child_helpers.c | 442 struct timeval tv, void *pvt) 464 struct timeval tv, void *pvt) 486 tv = tevent_timeval_current_ofs(SIGTERM_TO_SIGKILL_TIME, 0); 488 state->kill_te = tevent_add_timer(ev, req, tv, get_tgt_sigkill_handler, req); 500 struct timeval tv; local 505 tv = tevent_timeval_current_ofs(timeout, 0); 507 te = tevent_add_timer(ev, req, tv, get_tgt_timeout_handler, req); 440 get_tgt_sigkill_handler(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument 462 get_tgt_timeout_handler(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument
|
| H A D | sdap_id_op.c | 237 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,
|
| /sssd-io/src/providers/ad/ |
| H A D | ad_machine_pw_renewal.c | 111 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-io/src/monitor/ |
| H A D | monitor.c | 649 struct timeval tv; local 652 tv = tevent_timeval_current_ofs(5, 0); 653 to = tevent_add_timer(ctx->ev, ctx, tv, services_startup_timeout, ctx); 1735 struct timeval tv; local 1737 gettimeofday(&tv, NULL); 1738 tv.tv_sec += CONFIG_FILE_POLL_INTERVAL; 1739 tv.tv_usec = 0; 1743 tv, 1937 struct timeval tv, void *data) 1946 tv 1935 missing_resolv_conf(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *data) argument 1963 struct timeval tv; local 2168 struct timeval tv; local 2244 struct timeval tv; local 2378 struct timeval tv; local [all...] |
| /sssd-io/src/resolv/ |
| H A D | async_resolv.c | 156 struct timeval tv = { 0, 0 }; local 163 tvp = ares_timeout(ctx->channel, NULL, &tv); 166 tvp = &tv; 171 tv = tevent_timeval_current_ofs(1, 0); 173 tv = tevent_timeval_current_ofs(tvp->tv_sec, tvp->tv_usec); 176 ctx->timeout_watcher = tevent_add_timer(ev, ctx, tv, check_fd_timeouts, 209 struct timeval tv, void *pvt) 238 struct timeval tv; local 242 tv = tevent_timeval_current_ofs(ctx->timeout, 0); 252 rreq->request_timeout = tevent_add_timer(ev, rreq, tv, 207 resolv_request_timeout(struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt) argument 793 struct timeval tv = { 0, 0 }; local 1583 struct timeval tv = { 0, 0 }; local 1922 struct timeval tv = { 0, 0 }; local [all...] |