Documented in 2 files:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

block/partitions/efi.c alloc_read_gpt_entries() -> read_lba()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->disk 4096-ptr_max
PARAM_VALUE 0 state->disk->open_partitions 0
PARAM_VALUE 0 state->disk->part0 4096-ptr_max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 state->disk->queue 4096-ptr_max
PARAM_VALUE 0 state->limit 256
PARAM_VALUE 0 state->name 4096-ptr_max
PARAM_VALUE 0 state->parts 1-u64max
PARAM_VALUE 0 state->pp_buf.buffer 4096-ptr_max
PARAM_VALUE 0 state->pp_buf.size 4096
PARAM_VALUE 2 buffer 4096-ptr_max
PARAM_VALUE 3 count 1-4000000
BUF_SIZE 2 buffer 1-18446744065119617025
BUF_SIZE 2 buffer 1-18446744065119617025
DATA_SOURCE 0 state $0
DATA_SOURCE 2 buffer r _kmalloc_noprof
TERMINATED 0 state->pp_buf.buffer 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->limit
NO_OVERFLOW_SIMPLE 0 state->next
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &hd->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gendisk)->open_mutex

block/partitions/efi.c alloc_read_gpt_header() -> read_lba()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->disk 4096-ptr_max
PARAM_VALUE 0 state->disk->open_partitions 0
PARAM_VALUE 0 state->disk->part0 4096-ptr_max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 state->disk->queue 4096-ptr_max
PARAM_VALUE 0 state->limit 256
PARAM_VALUE 0 state->name 4096-ptr_max
PARAM_VALUE 0 state->parts 1-u64max
PARAM_VALUE 0 state->pp_buf.buffer 4096-ptr_max
PARAM_VALUE 0 state->pp_buf.size 4096
PARAM_VALUE 2 buffer 16,4096-ptr_max
PARAM_VALUE 3 count 0-4000000
BUF_SIZE 2 buffer 0-u32max
BUF_SIZE 2 buffer 0-u32max
DATA_SOURCE 0 state $0
DATA_SOURCE 1 lba $1
DATA_SOURCE 2 buffer r _kmalloc_noprof
PARAM_COMPARE 3 count == $0->disk->queue->limits.logical_block_size
TERMINATED 0 state->pp_buf.buffer 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->limit
NO_OVERFLOW_SIMPLE 0 state->next
UNITS 3 count unit_byte
BYTE_COUNT 2 ==buffer3 8050
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &hd->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gendisk)->open_mutex

block/partitions/efi.c find_valid_gpt() -> read_lba()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->disk 4096-ptr_max
PARAM_VALUE 0 state->disk->open_partitions 0
PARAM_VALUE 0 state->disk->part0 4096-ptr_max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 state->disk->queue 4096-ptr_max
PARAM_VALUE 0 state->limit 256
PARAM_VALUE 0 state->name 4096-ptr_max
PARAM_VALUE 0 state->parts 1-u64max
PARAM_VALUE 0 state->pp_buf.buffer 4096-ptr_max
PARAM_VALUE 0 state->pp_buf.size 4096
PARAM_VALUE 1 lba 0
PARAM_VALUE 2 buffer 4096-ptr_max
PARAM_VALUE 3 count 512
BUF_SIZE 0 state 88
BUF_SIZE 2 buffer 512
BUF_SIZE 2 buffer 512
DATA_SOURCE 0 state $0
DATA_SOURCE 2 buffer r _kzalloc_noprof
TERMINATED 0 state->pp_buf.buffer 1
MEM_ZERO 0 state->parts
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 state->limit
UNITS 3 count unit_byte
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &hd->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gendisk)->open_mutex

block/partitions/aix.c alloc_lvn() -> read_lba()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->disk 4096-ptr_max
PARAM_VALUE 0 state->disk->open_partitions 0
PARAM_VALUE 0 state->disk->part0 4096-ptr_max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 state->disk->part0->bd_nr_sectors 1-u64max
PARAM_VALUE 0 state->disk->queue 4096-ptr_max
PARAM_VALUE 0 state->limit 256
PARAM_VALUE 0 state->name 4096-ptr_max
PARAM_VALUE 0 state->parts 1-u64max
PARAM_VALUE 0 state->pp_buf.buffer 4096-ptr_max
PARAM_VALUE 0 state->pp_buf.size 4096
PARAM_VALUE 2 buffer 4096-ptr_max
PARAM_VALUE 3 count 16384
BUF_SIZE 2 buffer 16384
BUF_SIZE 2 buffer 16384
DATA_SOURCE 0 state $0
DATA_SOURCE 1 lba $1
DATA_SOURCE 2 buffer r _kmalloc_noprof
TERMINATED 0 state->pp_buf.buffer 1
MEM_ZERO 0 state->parts
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->limit
NO_OVERFLOW_SIMPLE 0 state->next
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &hd->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gendisk)->open_mutex

block/partitions/aix.c alloc_pvd() -> read_lba()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->disk 4096-ptr_max
PARAM_VALUE 0 state->disk->open_partitions 0
PARAM_VALUE 0 state->disk->part0 4096-ptr_max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096
PARAM_VALUE 0 state->disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 state->disk->part0->bd_nr_sectors 1-u64max
PARAM_VALUE 0 state->disk->queue 4096-ptr_max
PARAM_VALUE 0 state->limit 256
PARAM_VALUE 0 state->name 4096-ptr_max
PARAM_VALUE 0 state->parts 1-u64max
PARAM_VALUE 0 state->pp_buf.buffer 4096-ptr_max
PARAM_VALUE 0 state->pp_buf.size 4096
PARAM_VALUE 2 buffer 4096-ptr_max
PARAM_VALUE 3 count 32544
BUF_SIZE 2 buffer 32544
BUF_SIZE 2 buffer 32544
CAPPED_DATA 1 lba 1
DATA_SOURCE 0 state $0
DATA_SOURCE 1 lba $1
DATA_SOURCE 2 buffer r _kmalloc_noprof
TERMINATED 0 state->pp_buf.buffer 1
MEM_ZERO 0 state->parts
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 state->limit
NO_OVERFLOW_SIMPLE 0 state->next
UNITS 3 count unit_byte
BYTE_COUNT 2 ==buffer3 8050
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &hd->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gendisk)->open_mutex