Searched refs:num_categories (Results 1 – 2 of 2) sorted by relevance
180 for (i = 0; i < lc->num_categories; i++) in log_close_debug_channels()254 if (category < 0 || category > lc->num_categories) in log_check()298 if (category < 0 || category > lc->num_categories) in log_vwrite()443 log_new_context(int num_categories, char **category_names, log_context *lc) { in log_new_context() argument451 nlc->num_categories = num_categories; in log_new_context()453 nlc->categories = memget(num_categories * sizeof (log_channel_list)); in log_new_context()460 num_categories * sizeof (log_channel_list)); in log_new_context()475 for (i = 0; i < lc->num_categories; i++) in log_free_context()483 lc->num_categories * sizeof (log_channel_list)); in log_free_context()491 if (lc == NULL || category < 0 || category >= lc->num_categories) { in log_add_channel()[all …]
52 int num_categories; member