Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/raid1.c _allow_barrier() -> wake_up_barrier()

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

drivers/md/raid1.c _wait_barrier() -> wake_up_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->barrier 4096-ptr_max
PARAM_VALUE 0 conf->nr_pending 4096-ptr_max
PARAM_VALUE 0 conf->nr_waiting 4096-ptr_max
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
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &conf->resync_lock
TYPE_LOCK (struct r1conf)->resync_lock

drivers/md/raid1.c flush_bio_list() -> wake_up_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->bitmap->events_cleared 0-s64max
PARAM_VALUE 0 conf->mddev->bitmap->pending_writes.counter s32min-s32max
PARAM_VALUE 0 conf->mddev->bitmap_ops 4096-ptr_max
PARAM_VALUE 0 conf->mddev->bitmap_ops->unplug 4096-ptr_max
BUF_SIZE 0 conf 1216,1600,2704,2712
BUF_SIZE 0 conf 1216,1600,2704,2712
DATA_SOURCE 0 conf $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/raid1.c raid1_unplug() -> wake_up_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->device_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/raid1.c raid1_write_request() -> wake_up_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 0 conf->pending_bio_list.head->bi_iter.bi_size
NOSPEC 0 conf->pending_bio_list.tail->bi_iter.bi_size
NOSPEC 0 conf->pending_bio_list.tail->bi_next->bi_iter.bi_size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 conf->pending_bio_list.head->bi_iter.bi_size 0[c]
HOST_DATA 0 conf->pending_bio_list.head->bi_max_vecs 0-4,16,64,128,256[c]
HOST_DATA 0 conf->pending_bio_list.tail->bi_iter.bi_size 0[c]
HOST_DATA 0 conf->pending_bio_list.tail->bi_max_vecs 0-4,16,64,128,256[c]
HOST_DATA 0 conf->pending_bio_list.tail->bi_next->bi_iter.bi_size 0[c]
HOST_DATA 0 conf->pending_bio_list.tail->bi_next->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 0 conf->pending_bio_list.head->bi_ioprio 0-u16max
USER_DATA 0 conf->pending_bio_list.head->bi_iter.bi_size 0
USER_DATA 0 conf->pending_bio_list.head->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 0 conf->pending_bio_list.tail->bi_ioprio 0-u16max
USER_DATA 0 conf->pending_bio_list.tail->bi_iter.bi_size 0
USER_DATA 0 conf->pending_bio_list.tail->bi_max_vecs 0-4,16,64,128,256[c]
USER_DATA 0 conf->pending_bio_list.tail->bi_next->bi_ioprio 0-u16max
USER_DATA 0 conf->pending_bio_list.tail->bi_next->bi_iter.bi_size 0
USER_DATA 0 conf->pending_bio_list.tail->bi_next->bi_max_vecs 0-4,16,64,128,256[c]
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &md->io_barrier

drivers/md/raid1.c wait_read_barrier() -> wake_up_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->array_frozen s32min-(-1),1-s32max
PARAM_VALUE 0 conf->nr_pending 4096-ptr_max
PARAM_VALUE 0 conf->nr_waiting 4096-ptr_max
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
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &conf->resync_lock
TYPE_LOCK (struct r1conf)->resync_lock

drivers/md/raid10.c allow_barrier() -> wake_up_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
DATA_SOURCE 0 conf $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/raid10.c raid10_make_request() -> wake_up_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_unplug() -> wake_up_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->device_lock.rlock.dep_map->name 0-255
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 raid10_unplug() -> wake_up_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 wait_barrier_nolock() -> wake_up_barrier()

Type Parameter Key Value
PARAM_VALUE 0 conf 4096-ptr_max
PARAM_VALUE 0 conf->barrier 0
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
DATA_SOURCE 0 conf $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 conf->r10buf_pool.min_nr