Searched refs:oldest (Results 1 - 25 of 38) sorted by relevance

12

/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dntp_monitor.c319 mon_entry * oldest; local
445 oldest = TAIL_DLIST(mon_mru_list, mru);
447 if (oldest != NULL) {
449 L_SUB(&interval_fp, &oldest->last);
455 if (oldest != NULL && mru_maxage < oldest_age) {
456 mon_reclaim_entry(oldest);
457 mon = oldest;
468 mon_reclaim_entry(oldest);
469 mon = oldest;
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Ddcache.c107 struct dcache_block *oldest; /* least-recently-allocated list. */ member in struct:dcache_struct
141 BLIST points to the oldest block.
155 least-recently-allocated list *BLIST points to the oldest block. */
180 *BLIST points to the oldest block. */
223 for_each_block (&dcache->oldest, free_block, NULL);
230 This doesn't remove the block from the oldest list on purpose.
247 for_each_block (&dcache->oldest, invalidate_block, dcache);
249 dcache->oldest = NULL;
274 remove_block (&dcache->oldest, db);
359 db = dcache->oldest;
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Ddcache.c107 struct dcache_block *oldest; /* least-recently-allocated list. */ member in struct:dcache_struct
145 BLIST points to the oldest block.
159 least-recently-allocated list *BLIST points to the oldest block. */
184 *BLIST points to the oldest block. */
227 for_each_block (&dcache->oldest, free_block, NULL);
234 This doesn't remove the block from the oldest list on purpose.
251 for_each_block (&dcache->oldest, invalidate_block, dcache);
253 dcache->oldest = NULL;
279 remove_block (&dcache->oldest, db);
364 db = dcache->oldest;
[all...]
/netbsd-current/sys/arch/vax/include/
H A Dqduser.h302 int oldest; /* index to oldest queue'd request */ member in struct:DMAreq_header
335 * or oldest (GET) request */
338 #define DMA_GETBEGIN(header) (&(header)->DMAreq[(header)->oldest])
342 #define DMA_GETEND(header) (++(header)->oldest >= (header)->size \
343 ? (header)->oldest = 0 : 0); \
/netbsd-current/sys/dev/qbus/
H A Dqduser.h295 int oldest; /* index to oldest queue'd request */ member in struct:DMAreq_header
328 * or oldest (GET) request */
331 #define DMA_GETBEGIN(header) (&(header)->DMAreq[(header)->oldest])
335 #define DMA_GETEND(header) (++(header)->oldest >= (header)->size \
336 ? (header)->oldest = 0 : 0); \
H A Dqd.c1104 * extract the oldest event from the event queue
2087 header->DMAreq[header->oldest].DMAdone |= HARD_ERROR;
2088 header->newest = header->oldest;
2109 header->DMAreq[header->oldest].DMAdone |= REQUEST_DONE;
2110 QDlast_DMAtype = header->DMAreq[header->oldest].DMAtype;
3327 DMAheader[unit]->oldest = 0;
/netbsd-current/sys/dev/wscons/
H A Dwsdisplay_glyphcache.c285 int i, oldest = 1; local
289 oldest = i;
295 b = &gc->gc_buckets[oldest];
299 gc->gc_attrmap[idx] = oldest;
/netbsd-current/usr.bin/systat/
H A Dbufcache.c380 size_t i, oldest; local
383 oldest = 0;
388 if (vcache[i].vc_age < vcache[oldest].vc_age)
389 oldest = i;
402 i = oldest;
/netbsd-current/usr.bin/netstat/
H A Dvtw.c321 if (vtw_tcpv4[i].oldest.v4)
322 vtw_tcpv4[i].oldest.v4 += delta;
428 if (vtw_tcpv6[i].oldest.v6)
429 vtw_tcpv6[i].oldest.v6 += delta;
/netbsd-current/bin/ksh/
H A Djobs.c1049 Job *jl, *oldest; local
1060 oldest = (Job *) 0;
1063 && (!oldest || jl->age < oldest->age))
1064 oldest = jl;
1065 if (!oldest) {
1073 remove_job(oldest, "zombie");
/netbsd-current/external/bsd/unbound/dist/services/cache/
H A Dinfra.c905 * oldest to accommodate. Else return none. */
909 int i, oldest; local
915 /* remove oldest timestamp, and insert it at t with 0 qps */
916 oldest = 0;
918 if(d->timestamp[i] < d->timestamp[oldest])
919 oldest = i;
921 d->timestamp[oldest] = t;
922 d->qps[oldest] = 0;
923 return &(d->qps[oldest]);
926 /** find the second and return its rate counter, if none, remove oldest t
[all...]
/netbsd-current/sys/netatalk/
H A Daarp.c542 int oldest = -1; local
557 if ((int) aat->aat_timer > oldest) {
558 oldest = aat->aat_timer;
/netbsd-current/sys/netinet/
H A Dtcp_vtw.h258 /**/ oldest; /* ^ to oldest */ member in struct:vtw_ctl
H A Dtcp_vtw.c64 * runs out, VTW makes room by discarding old vestigial PCBs, oldest first.
682 /* We only delete the oldest entry.
684 if (vtw != ctl->oldest.v)
694 ctl->oldest.v = 0;
696 ctl->oldest.v = vtw_next(ctl, vtw);
1473 if (!ctl->oldest.v)
1474 ctl->oldest.v = vtw;
1488 if (!ctl->oldest.v) {
1493 for (vtw = ctl->oldest.v; vtw && ctl->nalloc; ) {
1505 ctl->oldest
[all...]
/netbsd-current/external/bsd/ntp/dist/lib/isc/
H A Dlog.c1237 * though the file names are 0 based, so an oldest log of log.1
1553 isc_time_t oldest; local
1560 * 'oldest' is the age of the oldest messages
1564 TIME_NOW(&oldest);
1565 if (isc_time_subtract(&oldest, &interval, &oldest)
1577 &oldest) < 0) {
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/gcn/
H A Dgcn.c4640 int oldest = 0; local
4666 for (int i = oldest; i < oldest + max_waits; i++)
4744 for (int i = oldest + max_waits - 1; i > oldest; i--)
4759 back[oldest].insn = insn;
4760 back[oldest].unit = iunit;
4761 back[oldest].delayeduse = idelayeduse;
4762 back[oldest].writes = iwrites;
4763 back[oldest]
[all...]
/netbsd-current/sys/dev/wsfb/
H A Dgenfb.c1143 int oldest = 1; local
1147 oldest = i;
1153 b = &scp->sc_buckets[oldest];
1157 scp->sc_attrmap[idx] = oldest;
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/
H A Dlog.c1350 * First find all the logfiles and remove the oldest ones
1656 isc_time_t oldest; local
1664 * 'oldest' is the age of the oldest
1668 TIME_NOW(&oldest);
1669 if (isc_time_subtract(&oldest, &interval,
1670 &oldest) != ISC_R_SUCCESS)
1684 &oldest) < 0)
/netbsd-current/external/mpl/bind/dist/lib/isc/
H A Dlog.c1351 * First find all the logfiles and remove the oldest ones
1664 isc_time_t oldest; local
1672 * 'oldest' is the age of the oldest
1676 TIME_NOW(&oldest);
1677 if (isc_time_subtract(&oldest, &interval,
1678 &oldest) != ISC_R_SUCCESS)
1692 &oldest) < 0)
H A Dtls.c1355 /* Cache entries within the bucket (from the oldest to the newest). */
1389 * LRU-manner, so that the oldest entry might be efficiently
1584 * Cache overrun. We need to remove the oldest entry from the
1587 client_session_cache_entry_t *restrict oldest; local
1590 oldest = ISC_LIST_HEAD(cache->lru_entries);
1591 client_cache_entry_delete(cache, oldest);
/netbsd-current/external/gpl3/gcc/dist/gcc/config/gcn/
H A Dgcn.cc4893 int oldest = 0; local
4919 for (int i = oldest; i < oldest + max_waits; i++)
4997 for (int i = oldest + max_waits - 1; i > oldest; i--)
5012 back[oldest].insn = insn;
5013 back[oldest].unit = iunit;
5014 back[oldest].delayeduse = idelayeduse;
5015 back[oldest].writes = iwrites;
5016 back[oldest]
[all...]
/netbsd-current/external/bsd/nsd/dist/
H A Dixfr.c505 /* iterator over ixfr data. find first element, eg. oldest zone version
1559 /* remove the oldest data entry from the ixfr versions */
1563 struct ixfr_data* oldest = ixfr_data_first(ixfr); local
1564 if(ixfr->oldest_serial == oldest->oldserial) {
1566 struct ixfr_data* next = ixfr_data_next(ixfr, oldest);
1570 else ixfr->oldest_serial = oldest->newserial;
1575 if(ixfr->newest_serial == oldest->oldserial) {
1578 zone_ixfr_remove(ixfr, oldest);
1606 * this zone, and if so, delete the oldest IXFR to make space */
1613 /* if deleting the oldest element
[all...]
/netbsd-current/external/mpl/bind/dist/lib/ns/
H A Dclient.c152 ns_client_t *oldest; local
156 oldest = ISC_LIST_HEAD(client->manager->recursing);
157 if (oldest != NULL) {
158 ISC_LIST_UNLINK(client->manager->recursing, oldest, rlink);
159 ns_query_cancel(oldest);
/netbsd-current/external/bsd/openldap/dist/libraries/liblmdb/
H A Dmdb.c647 * A writer thread will scan every slot in the table to determine the oldest
652 * operation - all we need is to know the upper bound on the oldest reader,
1293 txnid_t me_pgoldest; /**< ID of oldest reader last time we looked */
2098 /** Find oldest txnid still referenced. Expects txn->mt_txnid > 0. */
2103 txnid_t mr, oldest = txn->mt_txnid - 1; local
2109 if (oldest > mr)
2110 oldest = mr;
2114 return oldest;
2171 txnid_t oldest = 0, last; local
2217 oldest
[all...]
/netbsd-current/external/bsd/wpa/dist/src/p2p/
H A Dp2p.c417 struct p2p_device *dev, *oldest = NULL; local
426 if (oldest == NULL ||
427 os_reltime_before(&dev->last_seen, &oldest->last_seen))
428 oldest = dev;
430 if (count + 1 > p2p->cfg->max_peers && oldest) {
431 p2p_dbg(p2p, "Remove oldest peer entry to make room for a new peer");
432 dl_list_del(&oldest->list);
433 p2p_device_free(p2p, oldest);

Completed in 710 milliseconds

12