Searched refs:new_cs (Results 1 – 1 of 1) sorted by relevance
748 critical_section_t *new_cs; in cs_alloc() local750 new_cs= (critical_section_t *)malloc(sizeof(critical_section_t)); in cs_alloc()751 if (new_cs == NULL) in cs_alloc()753 memset(new_cs, 0, sizeof(*new_cs)); in cs_alloc()755 TAILQ_INSERT_TAIL(&cs_tailq, new_cs, links); in cs_alloc()756 return new_cs; in cs_alloc()