Searched refs:nmemb (Results 1 – 2 of 2) sorted by relevance
37 xcalloc(size_t nmemb, size_t size) in xcalloc() argument41 if (size == 0 || nmemb == 0) in xcalloc()43 if (SIZE_T_MAX / nmemb < size) in xcalloc()45 ptr = calloc(nmemb, size); in xcalloc()48 (u_long)(size * nmemb)); in xcalloc()
71 drm_calloc(size_t nmemb, size_t size, int area) in drm_calloc() argument73 return (kmem_zalloc(size * nmemb, KM_NOSLEEP)); in drm_calloc()