Lines Matching refs:size
40 fmd_alloc(size_t size, int flags) in fmd_alloc() argument
42 void *data = umem_alloc(size, UMEM_DEFAULT); in fmd_alloc()
45 if (data != NULL || size == 0 || !(flags & FMD_SLEEP)) in fmd_alloc()
54 data = umem_alloc(size, UMEM_DEFAULT); in fmd_alloc()
60 data = umem_alloc(size, UMEM_DEFAULT); in fmd_alloc()
64 fmd_panic("insufficient memory (%u bytes needed)\n", size); in fmd_alloc()
70 fmd_zalloc(size_t size, int flags) in fmd_zalloc() argument
72 void *data = fmd_alloc(size, flags); in fmd_zalloc()
75 bzero(data, size); in fmd_zalloc()
81 fmd_free(void *data, size_t size) in fmd_free() argument
83 umem_free(data, size); in fmd_free()