Lines Matching refs:nextfnp
454 struct fn *nextfnp;
546 while ((nextfnp = fn_list_next(logfiles)) != NULL)
547 buf = fn_s(nextfnp);
558 while ((nextfnp = fn_list_next(globbedfiles)) != NULL)
559 if (rotatelog(nextfnp, allopts))
560 expirefiles(nextfnp, allopts);
863 struct fn *nextfnp;
904 while ((nextfnp = fn_list_next(files)) != NULL)
905 buf = fn_s(nextfnp);
919 ((nextfnp = fn_list_popoldest(files)) != NULL)) {
920 dorm(opts, "expire by count rule", nextfnp);
921 fn_free(nextfnp);
929 ((nextfnp = fn_list_popoldest(files)) != NULL)) {
930 dorm(opts, "expire by size rule", nextfnp);
931 fn_free(nextfnp);
939 while ((nextfnp = fn_list_popoldest(files)) != NULL) {
940 if (fn_getstat(nextfnp)->st_mtime < mtime) {
941 dorm(opts, "expire by age rule", nextfnp);
942 fn_free(nextfnp);
944 fn_list_addfn(files, nextfnp);
956 (nextfnp = fn_list_popoldest(files)) != NULL) {
957 if (!fn_isgz(nextfnp)) {
966 fn_s(nextfnp), fcount);
969 fn_s(nextfnp), "1");
971 fn_free(nextfnp);