Searched refs:num_categories (Results 1 – 2 of 2) sorted by relevance
176 for (i = 0; i < lc->num_categories; i++) in log_close_debug_channels()250 if (category < 0 || category > lc->num_categories) in log_check()294 if (category < 0 || category > lc->num_categories) in log_vwrite()439 log_new_context(int num_categories, char **category_names, log_context *lc) { in log_new_context() argument447 nlc->num_categories = num_categories; in log_new_context()449 nlc->categories = memget(num_categories * sizeof (log_channel_list)); in log_new_context()456 num_categories * sizeof (log_channel_list)); in log_new_context()471 for (i = 0; i < lc->num_categories; i++) in log_free_context()479 lc->num_categories * sizeof (log_channel_list)); in log_free_context()487 if (lc == NULL || category < 0 || category >= lc->num_categories) { in log_add_channel()[all …]
52 int num_categories; member