Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/raid56.c recover_vertical() -> verify_one_sector()

Type Parameter Key Value
PARAM_VALUE 0 rbio 4096-ptr_max
PARAM_VALUE 0 rbio->bioc 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->stripe_nsectors 1-255
PARAM_VALUE 1 stripe_nr 0-254
PARAM_VALUE 2 sector_nr 0-254
CAPPED_DATA 0 rbio->nr_sectors 1
CAPPED_DATA 0 rbio->real_stripes 1
CAPPED_DATA 0 rbio->sector_nsteps 1
CAPPED_DATA 2 sector_nr 1
DATA_SOURCE 0 rbio $0
DATA_SOURCE 2 sector_nr $1
PARAM_COMPARE 0 rbio->stripe_nsectors > $2
PARAM_COMPARE 2 sector_nr < $0->stripe_nsectors
NO_OVERFLOW_SIMPLE 0 rbio->real_stripes
NO_OVERFLOW_SIMPLE 1 stripe_nr
UNITS 1 stripe_nr unit_array_size
HALF_LOCKED2 &pool->lock

fs/btrfs/raid56.c recover_vertical() -> verify_one_sector()

Type Parameter Key Value
PARAM_VALUE 0 rbio 4096-ptr_max
PARAM_VALUE 0 rbio->bioc 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->stripe_nsectors 1-255
PARAM_VALUE 1 stripe_nr 0-254
PARAM_VALUE 2 sector_nr 0-254
CAPPED_DATA 0 rbio->nr_sectors 1
CAPPED_DATA 0 rbio->real_stripes 1
CAPPED_DATA 0 rbio->sector_nsteps 1
CAPPED_DATA 0 rbio->stripe_nsectors 1
CAPPED_DATA 2 sector_nr 1
DATA_SOURCE 0 rbio $0
DATA_SOURCE 2 sector_nr $1
PARAM_COMPARE 0 rbio->stripe_nsectors > $2
PARAM_COMPARE 2 sector_nr < $0->stripe_nsectors
NO_OVERFLOW_SIMPLE 0 rbio->real_stripes
NO_OVERFLOW_SIMPLE 1 stripe_nr
HALF_LOCKED2 &pool->lock