1 // SPDX-License-Identifier: GPL-2.0 2 #include <linux/slab.h> 3 4 enum slab_state slab_state; 5 slab_is_available(void)6bool slab_is_available(void) 7 { 8 return slab_state >= UP; 9 } 10
1 // SPDX-License-Identifier: GPL-2.0 2 #include <linux/slab.h> 3 4 enum slab_state slab_state; 5 slab_is_available(void)6bool slab_is_available(void) 7 { 8 return slab_state >= UP; 9 } 10