Lines Matching refs:list
188 has_list_item(const char* list, const char* item) in has_list_item() argument
190 const char* p = list; in has_list_item()
193 if (list == NULL) in has_list_item()
257 cpulist_init(CpuList* list) { in cpulist_init() argument
258 list->mask = 0; in cpulist_init()
267 cpulist_set(CpuList* list, int index) { in cpulist_set() argument
269 list->mask |= (uint32_t)(1U << index); in cpulist_set()
274 cpulist_count(CpuList* list) { in cpulist_count() argument
275 return __builtin_popcount(list->mask); in cpulist_count()
289 cpulist_parse(CpuList* list, const char* line, int line_len) in cpulist_parse() argument
326 cpulist_set(list, val); in cpulist_parse()
341 cpulist_read_from(CpuList* list, const char* filename) in cpulist_read_from() argument
346 cpulist_init(list); in cpulist_read_from()
354 cpulist_parse(list, file, filelen); in cpulist_read_from()