Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/md/raid5.c get_free_stripe() -> remove_hash()

Type Parameter Key Value
PARAM_VALUE 0 sh 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
HALF_LOCKED2 &conf->cache_size_mutex
HALF_LOCKED2 &conf->device_lock

drivers/md/raid5.c handle_stripe_clean_event() -> remove_hash()

Type Parameter Key Value
PARAM_VALUE 0 sh 4096-ptr_max
PARAM_VALUE 0 sh->dev 4096-ptr_max
PARAM_VALUE 0 sh->ppl_io->log->io_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sh->ppl_io->log->ppl_conf->no_mem_stripes_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sh->raid_conf->log 0,4096-ptr_max
PARAM_VALUE 0 sh->raid_conf->mddev 4096-ptr_max
DATA_SOURCE 0 sh $1 [m]
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sh unit_jiffy
LOCK2 irq

kernel/trace/ftrace.c add_first_hash() -> remove_hash()

Type Parameter Key Value
PARAM_VALUE 0 sh 4096-ptr_max
BUF_SIZE 1 notrace_hash (-1),48
BUF_SIZE 1 notrace_hash (-1),48
DATA_SOURCE 0 sh r copy_hash
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

kernel/trace/ftrace.c add_next_hash() -> remove_hash()

Type Parameter Key Value
PARAM_VALUE 0 sh 4096-ptr_max
PARAM_VALUE 0 sh->buckets 16,4096-ptr_max
PARAM_VALUE 0 sh->size_bits 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 notrace_hash (-1),48
BUF_SIZE 1 notrace_hash (-1),48
DATA_SOURCE 0 sh r alloc_and_copy_ftrace_hash
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock