Lines Matching refs:fcb
715 audit_fcb_t *fcb; in process_fileopt() local
725 fcb = (audit_fcb_t *)a_calloc(1, sizeof (*fcb) + strlen(std)); in process_fileopt()
726 (void) strcpy(fcb->fcb_file, std); in process_fileopt()
727 fcb->fcb_suffix = fcb->fcb_name = fcb->fcb_file; in process_fileopt()
728 fcb->fcb_next = NULL; in process_fileopt()
729 fcb->fcb_start = 0; in process_fileopt()
730 fcb->fcb_end = MAXLONG; /* forever */ in process_fileopt()
733 pcb->pcb_suffix = fcb->fcb_file; in process_fileopt()
734 pcb->pcb_dfirst = pcb->pcb_first = fcb; /* one-item list */ in process_fileopt()
735 pcb->pcb_dlast = pcb->pcb_last = fcb; in process_fileopt()
736 pcb->pcb_cur = fcb; in process_fileopt()
870 audit_fcb_t *fcb, *fcbp, *fcbprev; in proc_file() local
886 fcb = (audit_fcb_t *)a_calloc(1, len); in proc_file()
887 (void) strcpy(fcb->fcb_file, fname); in proc_file()
888 if (check_file(fcb, mode)) { /* check file name */ in proc_file()
902 if (f_complete && (fcb->fcb_flags & FF_NOTTERM) && !f_cmdline) in proc_file()
904 if (!f_all && (fcb->fcb_end < m_after)) in proc_file()
907 if (strlen(fcb->fcb_suffix) != strlen(f_machine) || in proc_file()
908 (strcmp(fcb->fcb_suffix, f_machine) != 0)) { in proc_file()
915 fcb->fcb_next = NULL; in proc_file()
916 if ((pcb = get_next_pcb(fcb->fcb_suffix)) == NULL) { in proc_file()
923 if (fcb->fcb_start < fcbp->fcb_start) { in proc_file()
925 fcbprev->fcb_next = fcb; in proc_file()
927 pcb->pcb_dfirst = pcb->pcb_first = fcb; in proc_file()
928 fcb->fcb_next = fcbp; in proc_file()
935 if (!fcb->fcb_next) { in proc_file()
937 pcb->pcb_dfirst = pcb->pcb_first = fcb; in proc_file()
938 pcb->pcb_dlast = pcb->pcb_last = fcb; in proc_file()
940 fcbprev->fcb_next = fcb; in proc_file()
943 free((char *)fcb); /* rejected */ in proc_file()
966 check_file(audit_fcb_t *fcb, int do_check) in check_file() argument
975 for (slp = namep = fcb->fcb_file; *namep; namep++) { in check_file()
980 fcb->fcb_end = MAXLONG; /* forever */ in check_file()
981 fcb->fcb_suffix = NULL; in check_file()
982 fcb->fcb_name = slp; in check_file()
1021 fcb->fcb_start = tm_to_secs(&tme); in check_file()
1024 fcb->fcb_end = MAXLONG; /* forever */ in check_file()
1030 fcb->fcb_flags |= FF_NOTTERM; in check_file()
1039 fcb->fcb_end = tm_to_secs(&tme); in check_file()
1041 fcb->fcb_name = slp; in check_file()
1042 fcb->fcb_suffix = &slp[30]; in check_file()