Lines Matching defs:lcl
179 log_channel_list lcl;
183 for (lcl = lc->categories[i]; lcl != NULL; lcl = lcl->next)
184 if (lcl->channel->type == log_file &&
185 lcl->channel->out.file.stream != NULL &&
186 lcl->channel->flags & LOG_REQUIRE_DEBUG)
187 (void)log_close_stream(lcl->channel);
243 log_channel_list lcl;
258 lcl = lc->categories[category];
259 if (lcl == NULL) {
261 lcl = lc->categories[0];
264 for ( /* nothing */; lcl != NULL; lcl = lcl->next) {
265 if (log_check_channel(lc, level, lcl->channel))
274 log_channel_list lcl;
303 lcl = lc->categories[category];
304 if (lcl == NULL) {
306 lcl = lc->categories[0];
355 for ( /* nothing */; lcl != NULL; lcl = lcl->next) {
356 chan = lcl->channel;
471 log_channel_list lcl, lcl_next;
478 for (lcl = lc->categories[i]; lcl != NULL; lcl = lcl_next) {
479 lcl_next = lcl->next;
480 chan = lcl->channel;
482 memput(lcl, sizeof (struct log_channel_list));
491 log_channel_list lcl;
498 lcl = memget(sizeof (struct log_channel_list));
499 if (lcl == NULL) {
503 lcl->channel = chan;
504 lcl->next = lc->categories[category];
505 lc->categories[category] = lcl;
512 log_channel_list lcl, prev_lcl, next_lcl;
520 for (prev_lcl = NULL, lcl = lc->categories[category];
521 lcl != NULL;
522 lcl = next_lcl) {
523 next_lcl = lcl->next;
524 if (lcl->channel == chan) {
530 memput(lcl, sizeof (struct log_channel_list));
537 prev_lcl = lcl;