Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/raid56.c rbio_pstripe_paddr() -> rbio_stripe_paddr()

Type Parameter Key Value
PARAM_VALUE 0 rbio 4096-ptr_max
PARAM_VALUE 0 rbio->bio_list_bytes 0-16711680
PARAM_VALUE 0 rbio->bio_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rbio->bioc 4096-ptr_max
PARAM_VALUE 0 rbio->bioc->fs_info 4096-ptr_max
PARAM_VALUE 0 rbio->sector_nsteps 1-255
PARAM_VALUE 0 rbio->stripe_nsectors 1-255
PARAM_VALUE 2 sector_nr 0-254
PARAM_VALUE 3 step_nr 0-254
CAPPED_DATA 0 rbio->bio_list_bytes 1
CAPPED_DATA 0 rbio->nr_data 1
CAPPED_DATA 1 stripe_nr 1
CAPPED_DATA 2 sector_nr 1
CAPPED_DATA 3 step_nr 1
DATA_SOURCE 0 rbio $0
DATA_SOURCE 2 sector_nr $1
DATA_SOURCE 3 step_nr $2
NO_OVERFLOW_SIMPLE 0 rbio->real_stripes
UNITS 1 stripe_nr unit_array_size
LOCK2 &pool->lock

fs/btrfs/raid56.c rbio_qstripe_paddr() -> rbio_stripe_paddr()

Type Parameter Key Value
PARAM_VALUE 0 rbio 4096-ptr_max
PARAM_VALUE 0 rbio->bio_list_bytes 0-16711680
PARAM_VALUE 0 rbio->bio_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rbio->bio_paddrs 4096-ptr_max
PARAM_VALUE 0 rbio->bioc 4096-ptr_max
PARAM_VALUE 0 rbio->bioc->fs_info 4096-ptr_max
PARAM_VALUE 0 rbio->nr_data 0-254
PARAM_VALUE 0 rbio->nr_sectors 1-u16max
PARAM_VALUE 0 rbio->real_stripes 1-255
PARAM_VALUE 0 rbio->sector_nsteps 1-255
PARAM_VALUE 0 rbio->stripe_nsectors 1-255
PARAM_VALUE 0 rbio->stripe_paddrs 4096-ptr_max
PARAM_VALUE 1 stripe_nr 1-255
PARAM_VALUE 2 sector_nr 0-254
PARAM_VALUE 3 step_nr 0-254
CAPPED_DATA 0 rbio->bio_list_bytes 1
CAPPED_DATA 0 rbio->nr_data 1
CAPPED_DATA 0 rbio->nr_sectors 1
CAPPED_DATA 0 rbio->real_stripes 1
CAPPED_DATA 1 stripe_nr 1
CAPPED_DATA 2 sector_nr 1
CAPPED_DATA 3 step_nr 1
DATA_SOURCE 0 rbio $0
DATA_SOURCE 2 sector_nr $1
DATA_SOURCE 3 step_nr $2
FUZZY_MAX 0 rbio->nr_data 1
NO_OVERFLOW_SIMPLE 0 rbio->real_stripes
LOCK2 &pool->lock

fs/btrfs/raid56.c recover_vertical_step() -> rbio_stripe_paddr()

Type Parameter Key Value
PARAM_VALUE 0 rbio 4096-ptr_max
PARAM_VALUE 0 rbio->bioc 4096-ptr_max
PARAM_VALUE 0 rbio->bioc->fs_info 4096-ptr_max
PARAM_VALUE 0 rbio->bioc->max_errors 1-u16max
PARAM_VALUE 0 rbio->io_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 rbio->io_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 rbio->operation 0,2-u32max
PARAM_VALUE 0 rbio->real_stripes 1-255
PARAM_VALUE 0 rbio->sector_nsteps 1-255
PARAM_VALUE 0 rbio->stripe_nsectors 1-255
PARAM_VALUE 1 stripe_nr 0-254
PARAM_VALUE 2 sector_nr 0-254
PARAM_VALUE 3 step_nr 0-254
CAPPED_DATA 0 rbio->nr_sectors 1
CAPPED_DATA 0 rbio->real_stripes 1
CAPPED_DATA 1 stripe_nr 1
CAPPED_DATA 2 sector_nr 1
CAPPED_DATA 3 step_nr 1
DATA_SOURCE 0 rbio $0
DATA_SOURCE 2 sector_nr $1
DATA_SOURCE 3 step_nr $2
PARAM_COMPARE 0 rbio->real_stripes > $1
PARAM_COMPARE 0 rbio->sector_nsteps > $3
PARAM_COMPARE 0 rbio->stripe_nsectors > $2
PARAM_COMPARE 1 stripe_nr < $0->real_stripes
PARAM_COMPARE 2 sector_nr < $0->stripe_nsectors
PARAM_COMPARE 3 step_nr < $0->sector_nsteps
NO_OVERFLOW_SIMPLE 0 rbio->real_stripes
NO_OVERFLOW_SIMPLE 1 stripe_nr
UNITS 1 stripe_nr unit_array_size
LOCK2 &pool->lock

fs/btrfs/raid56.c verify_one_parity_step() -> rbio_stripe_paddr()

Type Parameter Key Value
PARAM_VALUE 0 rbio 4096-ptr_max
PARAM_VALUE 0 rbio->bioc 4096-ptr_max
PARAM_VALUE 0 rbio->bioc->fs_info 4096-ptr_max
PARAM_VALUE 0 rbio->finish_pointers 4096-ptr_max
PARAM_VALUE 0 rbio->io_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 rbio->io_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 rbio->sector_nsteps 1-255
PARAM_VALUE 0 rbio->stripe_nsectors 1-255
PARAM_VALUE 0 *rbio->stripe_pages 4096-ptr_max
PARAM_VALUE 2 sector_nr 0-64
PARAM_VALUE 3 step_nr 0-254
CAPPED_DATA 0 rbio->nr_sectors 1
CAPPED_DATA 0 rbio->stripe_nsectors 1
CAPPED_DATA 2 sector_nr 1
CAPPED_DATA 3 step_nr 1
DATA_SOURCE 0 rbio $0
DATA_SOURCE 2 sector_nr $2
DATA_SOURCE 3 step_nr $3
PARAM_COMPARE 0 rbio->sector_nsteps > $3
PARAM_COMPARE 0 rbio->stripe_nsectors > $2
PARAM_COMPARE 2 sector_nr < $0->stripe_nsectors
PARAM_COMPARE 3 step_nr < $0->sector_nsteps
NO_OVERFLOW_SIMPLE 0 rbio->nr_data
NO_OVERFLOW_SIMPLE 0 rbio->real_stripes
UNITS 1 stripe_nr unit_array_size
LOCK2 &pool->lock