rmalloc_wait
i = (kf == KM_SLEEP ? rmalloc_wait : rmalloc)
extern ulong_t rmalloc_wait(void *, size_t);