Defined in 2 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/raid1.c handle_read_error() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->array_frozen 0
PARAM_VALUE 0 conf->device_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conf->mddev 4096-ptr_max
PARAM_VALUE 0 conf->mddev->private 4096-ptr_max
PARAM_VALUE 0 conf->mddev->private->resync_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conf->mirrors 4096-ptr_max
PARAM_VALUE 0 conf->pending_bio_list.head 0
PARAM_VALUE 0 conf->resync_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
DATA_SOURCE 0 conf $0
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sector_nr unit_byte

drivers/md/raid1.c raid1_write_request() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->array_frozen 0
PARAM_VALUE 0 conf->resync_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
NOSPEC 1 sector_nr
NOSPEC 1 sector_nr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sector_nr 0-u64max
USER_DATA 1 sector_nr 0-u64max
UNITS 1 sector_nr unit_byte
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid1.c raid_end_bio_io() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
NOSPEC 1 sector_nr
NOSPEC 1 sector_nr
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sector_nr 0-u64max
USER_DATA 1 sector_nr 0-u64max
UNITS 1 sector_nr unit_byte

drivers/md/raid10.c close_sync() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->cluster_sync_high 0
PARAM_VALUE 0 conf->cluster_sync_low 0
PARAM_VALUE 0 conf->r10buf_pool.elements 1-u64max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
DATA_SOURCE 0 conf $0
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 conf->mddev->gendisk->queue->limits.max_hw_discard_sectors

drivers/md/raid10.c handle_read_error() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/raid10.c raid10_handle_discard() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->bio_split.bio_slab 4096-ptr_max
PARAM_VALUE 0 conf->bio_split.rescue_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 &conf->bio_split 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid10.c raid10_handle_discard() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->bio_split.bio_slab 4096-ptr_max
PARAM_VALUE 0 conf->bio_split.rescue_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 &conf->bio_split 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid10.c raid10_handle_discard() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->bio_split.bio_slab 4096-ptr_max
PARAM_VALUE 0 conf->bio_split.rescue_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 &conf->bio_split 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid10.c raid10_handle_discard() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->bio_split.bio_slab 4096-ptr_max
PARAM_VALUE 0 conf->bio_split.rescue_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 &conf->bio_split 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid10.c raid10_handle_discard() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid10.c raid10_read_request() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->mddev 4096-ptr_max
PARAM_VALUE 0 conf->mddev->cluster_info->suspend_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conf->resync_lock.seqcount.seqcount.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 conf->copies 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/raid10.c raid10_write_request() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->resync_lock.seqcount.seqcount.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 conf->reshape_progress 1
CAPPED_DATA 0 conf->reshape_safe 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid10.c raid10_write_request() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->resync_lock.seqcount.seqcount.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 conf->copies 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid10.c raid_end_bio_io() -> allow_barrier()

Type Parameter Key Value
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/raid10.c raid_end_discard_bio() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/raid10.c regular_request_wait() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->reshape_progress 1-18446744073709551614
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
CAPPED_DATA 0 conf->reshape_progress 1
DATA_SOURCE 0 conf $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock

drivers/md/raid10.c reshape_request() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
NOCHECK_CALL

drivers/md/raid10.c reshape_request() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
NOCHECK_CALL

drivers/md/raid10.c wait_blocked_dev() -> allow_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->copies 1-s32max
PARAM_VALUE 0 conf->mirrors 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier