Lines Matching refs:log_nentries
205 int log_nentries;
468 for (lindex = 0; lindex < log_control.log_nentries; lindex++) {
542 * log_nentries - Number of log entries, both valid and invalid.
543 * log_control - List of entries (log_nentries long) which contains
579 log_control.log_nentries = 0;
589 for (log_control.log_nentries = 0;
590 logging_specs[log_control.log_nentries];
591 log_control.log_nentries++);
597 malloc(log_control.log_nentries * sizeof(struct log_entry));
602 for (i=0; i<log_control.log_nentries; i++) {
879 for (i=0; i<log_control.log_nentries; i++)
897 log_control.log_nentries = 1;
899 if (log_control.log_nentries) {
918 return((log_control.log_nentries) ? 0 : ENOENT);
929 for (lindex = 0; lindex < log_control.log_nentries; lindex++) {
961 log_control.log_nentries = 0;
1100 if (log_control.log_nentries == 0) {
1110 for (lindex = 0; lindex < log_control.log_nentries; lindex++) {
1190 for (lindex = 0; lindex < log_control.log_nentries; lindex++) {
1267 for (lindex = 0; lindex < log_control.log_nentries; lindex++) {
1309 (log_control.log_nentries + 1) * sizeof(struct log_entry));
1324 i = log_control.log_nentries;
1330 log_control.log_nentries++;
1336 (log_control.log_nentries) * sizeof(struct log_entry));
1355 for (i = 0; i < log_control.log_nentries; i++) {
1361 if ( i < log_control.log_nentries) {
1362 for (; i < log_control.log_nentries - 1; i++)
1366 if (log_control.log_nentries > 1) {
1369 (log_control.log_nentries + 1) *
1372 log_control.log_nentries--;
1387 for (i = 0; i < log_control.log_nentries; i++) {