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