Lines Matching defs:lindex
368 int lindex;
467 for (lindex = 0; lindex < log_control.log_nentries; lindex++) {
468 switch (log_control.log_entries[lindex].log_type) {
471 klog_rotate(&log_control.log_entries[lindex]);
477 if (fprintf(log_control.log_entries[lindex].lfu_filep, "%s\n",
481 log_control.log_entries[lindex].lfu_fname);
484 fflush(log_control.log_entries[lindex].lfu_filep);
492 if (DEVICE_PRINT(log_control.log_entries[lindex].ldu_filep,
496 log_control.log_entries[lindex].ldu_devname);
509 log_pri |= log_control.log_entries[lindex].lsu_facility;
511 log_pri = log_control.log_entries[lindex].lsu_facility |
512 log_control.log_entries[lindex].lsu_severity;
929 int lindex;
931 for (lindex = 0; lindex < log_control.log_nentries; lindex++) {
932 switch (log_control.log_entries[lindex].log_type) {
938 fclose(log_control.log_entries[lindex].lfu_filep);
945 DEVICE_CLOSE(log_control.log_entries[lindex].ldu_filep);
957 if (log_control.log_entries[lindex].log_2free)
958 free(log_control.log_entries[lindex].log_2free);
1039 int lindex;
1112 for (lindex = 0; lindex < log_control.log_nentries; lindex++) {
1113 switch (log_control.log_entries[lindex].log_type) {
1116 klog_rotate(&log_control.log_entries[lindex]);
1122 if (fprintf(log_control.log_entries[lindex].lfu_filep, "%s\n",
1127 log_control.log_entries[lindex].lfu_fname);
1130 fflush(log_control.log_entries[lindex].lfu_filep);
1138 if (DEVICE_PRINT(log_control.log_entries[lindex].ldu_filep,
1143 log_control.log_entries[lindex].ldu_devname);