Searched refs:smh_size (Results 1 – 1 of 1) sorted by relevance
38 size_t smh_size; member230 smh->smh_size = size; in smb_alloc()262 bzero(ptr, smh->smh_size); in smb_free()265 kmem_free(smh, smh->smh_size + sizeof (smb_mem_header_t)); in smb_free()297 if (smh->smh_size >= size) { in smb_realloc()298 if ((zero) & (smh->smh_size > size)) in smb_realloc()299 bzero((caddr_t)ptr + size, smh->smh_size - size); in smb_realloc()303 bcopy(ptr, new_ptr, smh->smh_size); in smb_realloc()305 bzero((caddr_t)new_ptr + smh->smh_size, size - smh->smh_size); in smb_realloc()