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