__check_shared_memory
ret = __check_shared_memory(alloc_size);
if (!__check_shared_memory(alloc_size)) {