Searched refs:new_cs (Results 1 – 1 of 1) sorted by relevance
754 critical_section_t *new_cs; in cs_alloc() local756 new_cs= (critical_section_t *)malloc(sizeof(critical_section_t)); in cs_alloc()757 if (new_cs == NULL) in cs_alloc()759 memset(new_cs, 0, sizeof(*new_cs)); in cs_alloc()761 TAILQ_INSERT_TAIL(&cs_tailq, new_cs, links); in cs_alloc()762 return new_cs; in cs_alloc()