Defined in 2 files as a prototype:

Defined in 2 files as a function:

Referenced in 28 files:

Smatch caller information:

mm/percpu.c pcpu_mem_zalloc() -> slab_is_available()

Type Parameter Key Value
LOCK2 global &pcpu_alloc_mutex
HALF_LOCKED2 &pool->lock

mm/sparse.c sparse_index_alloc() -> slab_is_available()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

mm/kasan/init.c kasan_populate_early_shadow() -> slab_is_available()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

mm/kasan/init.c zero_p4d_populate() -> slab_is_available()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

mm/kasan/init.c zero_pmd_populate() -> slab_is_available()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

mm/kasan/init.c zero_pud_populate() -> slab_is_available()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

arch/x86/platform/efi/memmap.c efi_memmap_alloc() -> slab_is_available()

Type Parameter Key Value

arch/x86/xen/p2m.c alloc_p2m_page() -> slab_is_available()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

arch/x86/xen/p2m.c free_p2m_page() -> slab_is_available()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &balloon_mutex
HALF_LOCKED2 global &list_lock

arch/x86/realmode/init.c reserve_real_mode() -> slab_is_available()

Type Parameter Key Value
LOCK2 irq

mm/memblock.c memblock_alloc_range_nid() -> slab_is_available()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

mm/memblock.c memblock_double_array() -> slab_is_available()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

mm/memblock.c memblock_phys_free() -> slab_is_available()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

mm/memblock.c memblock_phys_free() -> slab_is_available()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

kernel/liveupdate/kexec_handover.c kho_radix_alloc_node() -> slab_is_available()

Type Parameter Key Value
RX_PATH
HALF_LOCKED2 _T->lock

kernel/liveupdate/kexec_handover.c kho_radix_free_node() -> slab_is_available()

Type Parameter Key Value
RX_PATH
HALF_LOCKED2 _T->lock

mm/sparse-vmemmap.c vmemmap_alloc_block() -> slab_is_available()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

kernel/params.c param_set_charp() -> slab_is_available()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &zswap_init_lock