Lines Matching defs:lcl
177 log_channel_list lcl;
181 for (lcl = lc->categories[i]; lcl != NULL; lcl = lcl->next)
182 if (lcl->channel->type == log_file &&
183 lcl->channel->out.file.stream != NULL &&
184 lcl->channel->flags & LOG_REQUIRE_DEBUG)
185 (void)log_close_stream(lcl->channel);
241 log_channel_list lcl;
256 lcl = lc->categories[category];
257 if (lcl == NULL) {
259 lcl = lc->categories[0];
262 for ( /* nothing */; lcl != NULL; lcl = lcl->next) {
263 if (log_check_channel(lc, level, lcl->channel))
272 log_channel_list lcl;
301 lcl = lc->categories[category];
302 if (lcl == NULL) {
304 lcl = lc->categories[0];
353 for ( /* nothing */; lcl != NULL; lcl = lcl->next) {
354 chan = lcl->channel;
469 log_channel_list lcl, lcl_next;
476 for (lcl = lc->categories[i]; lcl != NULL; lcl = lcl_next) {
477 lcl_next = lcl->next;
478 chan = lcl->channel;
480 memput(lcl, sizeof (struct log_channel_list));
489 log_channel_list lcl;
496 lcl = memget(sizeof (struct log_channel_list));
497 if (lcl == NULL) {
501 lcl->channel = chan;
502 lcl->next = lc->categories[category];
503 lc->categories[category] = lcl;
510 log_channel_list lcl, prev_lcl, next_lcl;
518 for (prev_lcl = NULL, lcl = lc->categories[category];
519 lcl != NULL;
520 lcl = next_lcl) {
521 next_lcl = lcl->next;
522 if (lcl->channel == chan) {
528 memput(lcl, sizeof (struct log_channel_list));
535 prev_lcl = lcl;