Lines Matching refs:logcnt
1550 int dir_fd, i, logcnt, max_logcnt;
1558 logcnt = 0;
1590 if ((oldlogs[logcnt].t = timegm(&tm)) == -1)
1592 if ((oldlogs[logcnt].fname = strdup(dp->d_name)) == NULL)
1594 logcnt++;
1601 if (logcnt >= max_logcnt) {
1604 if (max_logcnt < logcnt)
1614 if (logcnt > 0 && logcnt >= ent->numlogs && ent->numlogs > 1) {
1615 oldlogs = realloc(oldlogs, logcnt *
1625 qsort(oldlogs, logcnt, sizeof(struct oldlog_entry),
1627 for (i = ent->numlogs - 1; i < logcnt; i++) {
1643 for (i = 0; i < logcnt; i++) {