Home
last modified time | relevance | path

Searched refs:expire (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/lib/libnisdb/
H A Ddb_table.cc261 if (mapping.expire != 0) in initMappingStruct()
262 free(mapping.expire); in initMappingStruct()
263 m->expire = 0; in initMappingStruct()
299 mapping.expire = 0; in db_table_ldap_init()
362 sfree(mapping.expire); in reset()
363 mapping.expire = NULL; in reset()
382 newExpire = (time_t *)realloc(mapping.expire, in allocateExpire()
383 newSize * sizeof (mapping.expire[0])); in allocateExpire()
388 mapping.expire = newExpire; in allocateExpire()
575 free(mapping.expire); in setEntryExp()
[all …]
H A Dnisdb_ldap.h139 time_t *expire; /* Expire times for entries */ member
/titanic_41/usr/src/cmd/oamuser/lib/
H A Dvexpire.c40 valid_expire( string, expire ) in valid_expire() argument
42 time_t *expire;
59 if( expire ) *expire = now;
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcontext_establish.c178 accept->expire = ctx->expire; in gen_accept_token()
240 if (cred->expire != GSS_C_INDEFINITE && in validate_cred()
241 time(0) > cred->expire) { in validate_cred()
371 OM_uint32 *expire, /* Time left on context */ in __dh_gss_accept_sec_context() argument
400 if (expire) in __dh_gss_accept_sec_context()
401 *expire = 0; in __dh_gss_accept_sec_context()
522 g_cntx->expire = clnt->cntx.expire; in __dh_gss_accept_sec_context()
548 if (expire) in __dh_gss_accept_sec_context()
549 *expire = g_cntx->expire; in __dh_gss_accept_sec_context()
621 remote->cntx.expire = cntx->expire; in gen_init_token()
[all …]
H A DMICwrap.c80 if (cntx->expire != GSS_C_INDEFINITE && cntx->expire < time(0)) in __dh_gss_sign()
147 if (cntx->expire != GSS_C_INDEFINITE && cntx->expire < time(0)) in __dh_gss_verify()
241 if (cntx->expire != GSS_C_INDEFINITE && cntx->expire < time(0)) in __dh_gss_seal()
333 if (cntx->expire != GSS_C_INDEFINITE && cntx->expire < time(0)) in __dh_gss_unseal()
H A Dcontext.c78 if (cntx->expire == (time_t)GSS_C_INDEFINITE) { in __dh_gss_context_time()
84 *time_remaining = (now < cntx->expire) ? cntx->expire - now : 0; in __dh_gss_context_time()
213 if (cntx->expire == GSS_C_INDEFINITE) in __dh_gss_inquire_context()
217 t = now > cntx->expire ? 0 : (OM_uint32)(cntx->expire - now); in __dh_gss_inquire_context()
H A Dcred.c120 dh_cred->expire = expire_req ? time(0) + expire_req : GSS_C_INDEFINITE; in __dh_gss_acquire_cred()
210 if (crid->expire == GSS_C_INDEFINITE) in __dh_gss_inquire_cred()
214 t = crid->expire > now ? crid->expire-now : 0; in __dh_gss_inquire_cred()
H A Ddh_gssapi.h116 time_t expire; /* When this cred expires */ member
169 time_t expire; /* When this context expires */ member
H A Ddhmech_prot.x82 unsigned expire; member
/titanic_41/usr/src/uts/common/fs/dev/
H A Dsdev_comm.c111 clock_t expire; in sdev_wait4lookup() local
121 expire = ddi_get_lbolt() + in sdev_wait4lookup()
126 dv->sdev_name, expire - ddi_get_lbolt(), dv->sdev_state)); in sdev_wait4lookup()
151 (ddi_get_lbolt() >= expire)) { in sdev_wait4lookup()
159 expire - ddi_get_lbolt())); in sdev_wait4lookup()
232 clock_t expire; in sdev_open_upcall_door() local
237 expire = ddi_get_lbolt() + drv_usectohz(dev_devfsadm_startup * 1000000); in sdev_open_upcall_door()
248 expire - ddi_get_lbolt())); in sdev_open_upcall_door()
250 expire); in sdev_open_upcall_door()
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Dttl_utils.c191 datum expire; in update_entry_ttl() local
205 expire.dsize = sizeof (struct timeval); in update_entry_ttl()
206 expire.dptr = (char *)&now; in update_entry_ttl()
210 if (0 > dbm_store(map->ttl, *key, expire, DBM_REPLACE)) { in update_entry_ttl()
/titanic_41/usr/src/cmd/oamuser/user/
H A Dusermod.c101 static char *expire = NULL; /* expiration date from command line */ variable
191 expire = optarg;
543 if (expire) {
544 if (*expire &&
545 valid_expire(expire, (time_t *)0) == INVALID) {
546 errmsg(M_INVALID, expire, "expiration date");
612 if (expire) {
614 nargv[argindex++] = expire;
/titanic_41/usr/src/uts/i86pc/io/
H A Dhpet_acpi.c74 static boolean_t hpet_use_hpet_timer(hrtime_t *expire);
75 static void hpet_use_lapic_timer(hrtime_t expire);
1215 hrtime_t now, expire, dead; in hpet_use_hpet_timer() local
1243 *lapic_expire = expire = now + lapic_count; in hpet_use_hpet_timer()
1261 apic_timer_restart(expire); in hpet_use_hpet_timer()
1278 *lapic_expire = expire = now + lapic_count; in hpet_use_hpet_timer()
1288 apic_timer_restart(expire); in hpet_use_hpet_timer()
1299 apic_timer_restart(expire); in hpet_use_hpet_timer()
1304 hpet_proxy_users[cpu_id] = expire; in hpet_use_hpet_timer()
1312 if ((hpet_proxy_users[id] <= expire) && (id != cpu_id)) { in hpet_use_hpet_timer()
[all …]
/titanic_41/usr/src/lib/nsswitch/ldap/common/
H A Dgetspent.c79 char **warning, **inactive, **expire, **flag; in _nss_ldap_shadow2str() local
181 expire = __ns_ldap_getAttr(result->entry, _S_EXPIRE); in _nss_ldap_shadow2str()
182 if (expire == NULL || expire[0] == NULL) in _nss_ldap_shadow2str()
185 expire_str = expire[0]; in _nss_ldap_shadow2str()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_heartbeat.c247 int64_t expire; in sctp_validate_peer() local
249 expire = sctp->sctp_active + sctp->sctp_autoclose; in sctp_validate_peer()
250 if (earliest_expiry == 0 || expire < earliest_expiry) in sctp_validate_peer()
251 earliest_expiry = expire; in sctp_validate_peer()
H A Dsctp_timer.c568 int64_t expire; in sctp_heartbeat_timer() local
570 expire = sctp->sctp_active + sctp->sctp_autoclose; in sctp_heartbeat_timer()
572 if (expire <= now) { in sctp_heartbeat_timer()
577 if (expire < earliest_expiry || earliest_expiry == 0) in sctp_heartbeat_timer()
578 earliest_expiry = expire; in sctp_heartbeat_timer()
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Drenew.c185 uint32_t expire; in dhcp_rebind() local
187 expire = dsmp->dsm_curstart_monosec + lif->lif_expire.dt_start; in dhcp_rebind()
188 if (expire > expiremax) { in dhcp_rebind()
189 expiremax = expire; in dhcp_rebind()
/titanic_41/usr/src/lib/libcmd/common/
H A Dtail.c140 unsigned long expire; member
623 fp->expire = timeout ? (NOW + timeout + 1) : 0; in b_tail()
652 fp->expire = NOW + timeout; in b_tail()
677 else if (!timeout || fp->expire > NOW) in b_tail()
690 fp->expire = NOW + timeout; in b_tail()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c156 clock_t expire; /* Response Expire: */ member
1222 http->expire = -1; in nl7c_http_request()
1687 http->expire = secs; in nl7c_http_response()
1793 if (http->expire != -1 && http->date != -1) { in nl7c_http_response()
1794 if (http->expire <= http->date) { in nl7c_http_response()
1800 uri->expire = ddi_get_lbolt() + SEC_TO_TICK(http->expire - in nl7c_http_response()
1804 uri->expire = ddi_get_lbolt() + SEC_TO_TICK(nl7c_uri_ttl); in nl7c_http_response()
H A Dnl7curi.h126 clock_t expire; /* URI lbolt expires on (-1 = NEVER) */ member
/titanic_41/usr/src/cmd/vscan/vscand/
H A Dvs_eng.c297 long expire; in vs_eng_housekeeper() local
309 expire = now.tv_sec - vs_inactivity_timeout; in vs_eng_housekeeper()
318 (cxn->vsc_avail_time.tv_sec < expire)) { in vs_eng_housekeeper()
/titanic_41/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c1290 time_t expire = 0; in getldap_get_refresh_stat() local
1333 expire = (time_t)atol((char *)*paramVal); in getldap_get_refresh_stat()
1342 if (expire == -1) in getldap_get_refresh_stat()
1347 &prev_refresh_time, &expire); in getldap_get_refresh_stat()
2537 long expire = 0; in getldap_refresh() local
2573 expire = atol((char *)*paramVal); in getldap_refresh()
2576 if (expire == 0) { in getldap_refresh()
2616 sleeptime = expire - tp.tv_sec; in getldap_refresh()
2619 "time = %ld\n", expire); in getldap_refresh()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dns.c459 uint32_t serial, refresh, retry, expire, minimum; in print_answer() local
665 GETINT32(expire, data_next); in print_answer()
672 refresh, retry, expire, minimum); in print_answer()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DuDNS.c2667 mDNSs32 expire; in SetUpdateExpiration() local
2689 expire = (mDNSPlatformTimeNow(m) + (((mDNSs32)lease * mDNSPlatformOneSecond)) * 3/4); in SetUpdateExpiration()
2692 { if (expire - info->expire < 0) info->expire = expire; } in SetUpdateExpiration()
2693 else info->expire = expire; in SetUpdateExpiration()
2950 qInfo->expire = mDNSPlatformTimeNow(m) + ((mDNSs32)pktData.lease * mDNSPlatformOneSecond); in recvRefreshReply()
2951 qInfo->retry = qInfo->expire - ((mDNSs32)pktData.lease * mDNSPlatformOneSecond/2); in recvRefreshReply()
2968 info->expire - timenow < 0) in sendLLQRefresh()
2995 info->retry = (info->expire - q->LastQTime) / 2; in sendLLQRefresh()
3035 info->expire = mDNSPlatformTimeNow(m) + ((mDNSs32)llq->lease * mDNSPlatformOneSecond); in hndlChallengeResponseAck()
3036 info->retry = info->expire - ((mDNSs32)llq->lease * mDNSPlatformOneSecond / 2); in hndlChallengeResponseAck()
[all …]
/titanic_41/usr/src/cmd/syslogd/
H A Dsyslogd.h230 time_t expire; member

12