Searched refs:expire (Results 1 - 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvexpire.c40 valid_expire( string, expire )
42 time_t *expire;
59 if( expire ) *expire = now;
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcontext_establish.c177 /* When we will expire */
178 accept->expire = ctx->expire;
240 if (cred->expire != GSS_C_INDEFINITE &&
241 time(0) > cred->expire) {
371 OM_uint32 *expire, /* Time left on context */
400 if (expire)
401 *expire = 0;
520 /* Set the flags and expire time */
522 g_cntx->expire
360 __dh_gss_accept_sec_context(void *ctx, OM_uint32 *minor, gss_ctx_id_t *gss_ctx, gss_cred_id_t cred, gss_buffer_t input, gss_channel_bindings_t channel, gss_name_t *principal, gss_OID* mech, gss_buffer_t output, OM_uint32 *flags, OM_uint32 *expire, gss_cred_id_t *del_cred ) argument
677 OM_uint32 expire; /* Time left on the context */ local
[all...]
H A DMICwrap.c80 if (cntx->expire != GSS_C_INDEFINITE && cntx->expire < time(0))
147 if (cntx->expire != GSS_C_INDEFINITE && cntx->expire < time(0))
241 if (cntx->expire != GSS_C_INDEFINITE && cntx->expire < time(0))
333 if (cntx->expire != GSS_C_INDEFINITE && cntx->expire < time(0))
H A Dcred.c43 * with the requested expire time and usage. Return the credential with
62 OM_uint32 *expire_rec /* The expire time received*/)
120 dh_cred->expire = expire_req ? time(0) + expire_req : GSS_C_INDEFINITE;
210 if (crid->expire == GSS_C_INDEFINITE)
214 t = crid->expire > now ? crid->expire-now : 0;
H A Dcontext.c79 if (cntx->expire == (time_t)GSS_C_INDEFINITE) {
85 *time_remaining = (now < cntx->expire) ? cntx->expire - now : 0;
214 if (cntx->expire == GSS_C_INDEFINITE)
218 t = now > cntx->expire ? 0 : (OM_uint32)(cntx->expire - now);
H A Ddhmech_prot.x82 unsigned expire;
H A Ddh_gssapi.h116 time_t expire; /* When this cred expires */ member in struct:dh_cred_id_desc
169 time_t expire; /* When this context expires */ member in struct:dh_gss_context_desc
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_table.cc264 if (mapping.expire != 0)
265 free(mapping.expire);
266 m->expire = 0;
302 mapping.expire = 0;
365 sfree(mapping.expire);
366 mapping.expire = NULL;
385 newExpire = (time_t *)realloc(mapping.expire,
386 newSize * sizeof (mapping.expire[0]));
391 mapping.expire = newExpire;
460 * For directories, we may need the expire tim
[all...]
H A Dnisdb_ldap.h139 time_t *expire; /* Expire times for entries */ member in struct:__anon3691
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_comm.c111 clock_t expire; local
121 expire = ddi_get_lbolt() +
126 dv->sdev_name, expire - ddi_get_lbolt(), dv->sdev_state));
151 (ddi_get_lbolt() >= expire)) {
157 "rv %ld state 0x%x expire %ld\n",
159 expire - ddi_get_lbolt()));
232 clock_t expire; local
237 expire = ddi_get_lbolt() + drv_usectohz(dev_devfsadm_startup * 1000000);
248 expire - ddi_get_lbolt()));
250 expire);
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dttl_utils.c152 * DESCRIPTION: Determines if an entire map has expire
190 datum expire; local
204 expire.dsize = sizeof (struct timeval);
205 expire.dptr = (char *)&now;
209 if (0 > dbm_store(map->ttl, *key, expire, DBM_REPLACE)) {
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetspent.c79 char **warning, **inactive, **expire, **flag; local
181 expire = __ns_ldap_getAttr(result->entry, _S_EXPIRE);
182 if (expire == NULL || expire[0] == NULL)
185 expire_str = expire[0];
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dusermod.c56 * | -f inactive | -e expire ]
75 * expire - date when a login is no longer valid
102 static char *expire = NULL; /* expiration date from command line */ variable
192 expire = optarg;
568 if (expire) {
569 if (*expire &&
570 valid_expire(expire, (time_t *)0) == INVALID) {
571 errmsg(M_INVALID, expire, "expiration date");
637 if (expire) {
639 nargv[argindex++] = expire;
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_heartbeat.c232 * all the unsent probes are set to expire at
247 int64_t expire; local
249 expire = sctp->sctp_active + sctp->sctp_autoclose;
250 if (earliest_expiry == 0 || expire < earliest_expiry)
251 earliest_expiry = expire;
H A Dsctp_timer.c568 int64_t expire; local
570 expire = sctp->sctp_active + sctp->sctp_autoclose;
572 if (expire <= now) {
577 if (expire < earliest_expiry || earliest_expiry == 0)
578 earliest_expiry = expire;
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhpet_acpi.c73 static boolean_t hpet_use_hpet_timer(hrtime_t *expire);
74 static void hpet_use_lapic_timer(hrtime_t expire);
1088 * was successfully programmed to the next expire time or there are no waiting
1212 hrtime_t now, expire, dead; local
1240 *lapic_expire = expire = now + lapic_count;
1258 apic_timer_restart(expire);
1275 *lapic_expire = expire = now + lapic_count;
1285 apic_timer_restart(expire);
1296 apic_timer_restart(expire);
1301 hpet_proxy_users[cpu_id] = expire;
1343 hpet_use_lapic_timer(hrtime_t expire) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Drenew.c186 uint32_t expire; local
188 expire = dsmp->dsm_curstart_monosec + lif->lif_expire.dt_start;
189 if (expire > expiremax) {
190 expiremax = expire;
234 "%s; lease may expire", dsmp->dsm_name);
238 "will expire", dsmp->dsm_name);
376 * If it doesn't, then this is an "expire" event. Otherwise, if some
556 /* Otherwise, w stop only when the next timer (rebind, expire) fires */
/illumos-gate/usr/src/lib/libcmd/common/
H A Dtail.c140 unsigned long expire; member in struct:Tail_s
623 fp->expire = timeout ? (NOW + timeout + 1) : 0;
652 fp->expire = NOW + timeout;
677 else if (!timeout || fp->expire > NOW)
690 fp->expire = NOW + timeout;
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_eng.c296 long expire; local
308 expire = now.tv_sec - vs_inactivity_timeout;
317 (cxn->vsc_avail_time.tv_sec < expire)) {
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.h126 clock_t expire; /* URI lbolt expires on (-1 = NEVER) */ member in struct:uri_desc_s
H A Dnl7chttp.c156 clock_t expire; /* Response Expire: */ member in struct:http_s
1222 http->expire = -1;
1687 http->expire = secs;
1793 if (http->expire != -1 && http->date != -1) {
1794 if (http->expire <= http->date) {
1799 /* Have a valid expire and date so calc an lbolt expire */
1800 uri->expire = ddi_get_lbolt() + SEC_TO_TICK(http->expire -
1803 /* No valid expire spece
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dns.c459 uint32_t serial, refresh, retry, expire, minimum; local
665 GETINT32(expire, data_next);
672 refresh, retry, expire, minimum);
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.h221 time_t expire; member in struct:hostname_cache
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c1292 time_t expire = 0; local
1335 expire = (time_t)atol((char *)*paramVal);
1344 if (expire == -1)
1349 &prev_refresh_time, &expire);
2330 logit("update_from_profile: expire time %ld "
2541 long expire = 0; local
2579 expire = atol((char *)*paramVal);
2582 if (expire == 0) {
2622 sleeptime = expire - tp.tv_sec;
2624 logit("getldap_refresh: expire "
[all...]
/illumos-gate/usr/src/cmd/logadm/
H A Dtester1959 -A age expire logs older than age
1960 -C count expire old logs until count remain
1961 -E cmd run cmd on file to expire
1962 -S size expire until space used is below size

Completed in 96 milliseconds

12