Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/raid5-cache.c r5c_do_reclaim() -> r5c_flush_stripe()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->device_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conf->log 4096-ptr_max
PARAM_VALUE 0 conf->log->r5c_journal_mode 1
PARAM_VALUE 1 sh 4096-ptr_max
PARAM_VALUE 1 sh->count.counter 0
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 1 &sh->lru 1
CAPPED_DATA 1 &sh->r5c 1
DATA_SOURCE 0 conf $0
PARAM_COMPARE 1 &sh->lru != $1->lru.next
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &log->stripe_in_journal_lock
LOCK2 flags
LOCK2 0 &conf->device_lock
TYPE_LOCK (struct r5conf)->device_lock
TYPE_LOCK (struct r5l_log)->stripe_in_journal_lock

drivers/md/raid5-cache.c r5c_flush_cache() -> r5c_flush_stripe()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->log 1-u64max
PARAM_VALUE 1 sh 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 &conf->r5c_full_stripe_list 1
CAPPED_DATA 1 &sh->lru 1
DATA_SOURCE 0 conf $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &conf->device_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
HALF_LOCKED2 0 conf->hash_locks
TYPE_LOCK (struct r5conf)->device_lock

drivers/md/raid5-cache.c r5c_flush_cache() -> r5c_flush_stripe()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->log 1-u64max
PARAM_VALUE 1 sh 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 &conf->r5c_full_stripe_list 1
CAPPED_DATA 0 &conf->r5c_partial_stripe_list 1
CAPPED_DATA 1 &sh->lru 1
DATA_SOURCE 0 conf $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &conf->device_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
HALF_LOCKED2 0 conf->hash_locks
TYPE_LOCK (struct r5conf)->device_lock