Lines Matching refs:size
42 fmd_alloc(size_t size, int flags)
44 void *data = umem_alloc(size, UMEM_DEFAULT);
47 if (data != NULL || size == 0 || !(flags & FMD_SLEEP))
56 data = umem_alloc(size, UMEM_DEFAULT);
62 data = umem_alloc(size, UMEM_DEFAULT);
66 fmd_panic("insufficient memory (%u bytes needed)\n", size);
72 fmd_zalloc(size_t size, int flags)
74 void *data = fmd_alloc(size, flags);
77 bzero(data, size);
83 fmd_free(void *data, size_t size)
85 umem_free(data, size);