Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

kernel/fork.c get_random_canary() -> get_random_long()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/gfs2/glock.c gfs2_glock_async_wait() -> get_random_long()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/gfs2/glock.c gfs2_glock_async_wait() -> get_random_long()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/gfs2/glock.c gfs2_queue_verify_delete() -> get_random_long()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_lock

mm/slub.c do_kmem_cache_create() -> get_random_long()

Type Parameter Key Value
HALF_LOCKED2 global &slab_mutex
HALF_LOCKED2 irq

arch/x86/kernel/espfix_64.c init_espfix_random() -> get_random_long()

Type Parameter Key Value
LOCK2 irq

mm/util.c randomize_page() -> get_random_long()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/util.c randomize_stack_top() -> get_random_long()

Type Parameter Key Value
LOCK2 &tsk->signal->exec_update_lock

init/main.c get_random_canary() -> get_random_long()

Type Parameter Key Value

mm/debug_vm_pgtable.c get_random_vaddr() -> get_random_long()

Type Parameter Key Value

arch/x86/mm/mmap.c arch_rnd() -> get_random_long()

Type Parameter Key Value
RX_PATH
HALF_LOCKED2 &tsk->signal->exec_update_lock

mm/shuffle.c __shuffle_zone() -> get_random_long()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &z->lock
LOCK2 flags
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct zone)->lock