| /drivers/mtd/ |
| A D | nftlmount.c | 378 block = first_block; in check_sectors_in_chain() 425 unsigned int length = 0, block = first_block; in calc_chain_length() 457 unsigned int block = first_block, block1; in format_chain() 586 for (first_block = 0; first_block < s->nb_blocks; first_block++) { in NFTL_mount() 589 block = first_block; in NFTL_mount() 637 block, first_block); in NFTL_mount() 721 format_chain(s, first_block); in NFTL_mount() 727 fold_mark = get_fold_mark(s, first_block); in NFTL_mount() 731 format_chain(s, first_block); in NFTL_mount() 734 check_sectors_in_chain(s, first_block); in NFTL_mount() [all …]
|
| A D | inftlmount.c | 429 unsigned int block = first_block, block1; in format_chain() 432 first_block); in format_chain() 565 for (first_block = s->firstEUN; first_block <= s->lastEUN; first_block++) { in INFTL_mount() 566 if (s->PUtable[first_block] != BLOCK_NOTEXPLORED) in INFTL_mount() 572 block = first_block; in INFTL_mount() 615 "mark 0x%x?\n", block, first_block, in INFTL_mount() 640 block, first_block); in INFTL_mount() 675 first_block); in INFTL_mount() 682 format_chain(s, first_block); in INFTL_mount() 692 s->VUtable[first_logical_block] = first_block; in INFTL_mount() [all …]
|
| /drivers/char/ |
| A D | random.c | 319 u8 first_block[CHACHA_BLOCK_SIZE]; in crng_fast_key_erasure() local 326 chacha20_block(chacha_state, first_block); in crng_fast_key_erasure() 328 memcpy(key, first_block, CHACHA_KEY_SIZE); in crng_fast_key_erasure() 329 memcpy(random_data, first_block + CHACHA_KEY_SIZE, random_data_len); in crng_fast_key_erasure() 330 memzero_explicit(first_block, sizeof(first_block)); in crng_fast_key_erasure()
|
| /drivers/md/dm-vdo/ |
| A D | slab-depot.h | 192 struct reference_block *first_block; member 468 physical_block_number_t first_block; member
|
| A D | encodings.c | 563 encode_u64_le(buffer, offset, state.first_block); in encode_slab_depot_state_2_0() 584 physical_block_number_t first_block, last_block; in decode_slab_depot_state_2_0() local 615 decode_u64_le(buffer, offset, &first_block); in decode_slab_depot_state_2_0() 626 .first_block = first_block, in decode_slab_depot_state_2_0() 675 .first_block = partition->offset, in vdo_configure_slab_depot()
|
| A D | slab-depot.c | 1893 cursor->block = cursor->first_block; in reset_search_cursor() 2462 slab->search_cursor.first_block = slab->reference_blocks; in allocate_slab_counters() 3861 slab_origin = depot->first_block + (depot->slab_count * slab_size); in allocate_slabs() 4160 depot->origin = depot->first_block; in allocate_components() 4189 slab_count = vdo_compute_slab_count(depot->first_block, depot->last_block, in allocate_components() 4265 depot->first_block = state.first_block; in vdo_decode_slab_depot() 4354 .first_block = depot->first_block, in vdo_record_slab_depot() 4398 if (pbn < depot->first_block) in get_slab_number() 4401 slab_number = (pbn - depot->first_block) >> depot->slab_size_shift; in get_slab_number() 4749 VDO_ASSERT_LOG_ONLY(depot->first_block == partition->offset, in vdo_prepare_to_grow_slab_depot() [all …]
|
| A D | encodings.h | 434 physical_block_number_t first_block; member 1065 static inline slab_count_t vdo_compute_slab_count(physical_block_number_t first_block, in vdo_compute_slab_count() argument 1069 return (slab_count_t) ((last_block - first_block) >> slab_size_shift); in vdo_compute_slab_count()
|
| /drivers/md/dm-vdo/indexer/ |
| A D | index-layout.c | 1309 struct region_table *table, u64 first_block) in reconstitute_layout() argument 1312 u64 next_block = first_block; in reconstitute_layout() 1345 if (++next_block != (first_block + layout->total_blocks)) { in reconstitute_layout() 1354 u64 first_block, struct buffered_reader *reader) in load_super_block() argument 1383 first_block -= (super->volume_offset - super->start_offset); in load_super_block() 1384 result = reconstitute_layout(layout, table, first_block); in load_super_block()
|
| /drivers/scsi/smartpqi/ |
| A D | smartpqi_init.c | 2645 struct raid_map *raid_map, u64 first_block) in pqi_set_encryption_info() argument 2656 first_block = (first_block * volume_blk_size) / 512; in pqi_set_encryption_info() 2764 rmd->last_block < rmd->first_block) in pci_get_aio_common_raid_map_values() 2777 tmpdiv = rmd->first_block; in pci_get_aio_common_raid_map_values() 2833 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6() 2852 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6() 2861 rmd->first_block / rmd->stripesize; in pqi_calc_aio_r5_or_r6() 2869 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6() 2886 (u32)((rmd->first_block % rmd->stripesize) % in pqi_calc_aio_r5_or_r6() 2933 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6() [all …]
|
| A D | smartpqi.h | 1043 u64 first_block; member
|
| /drivers/scsi/ |
| A D | hpsa.c | 4849 u64 first_block; in set_encrypt_ioaccel2() local 4892 first_block = first_block * in set_encrypt_ioaccel2() 5105 u64 first_block, last_block; in hpsa_scsi_ioaccel_raid_map() local 5154 first_block = in hpsa_scsi_ioaccel_raid_map() 5167 first_block = in hpsa_scsi_ioaccel_raid_map() 5182 first_block = in hpsa_scsi_ioaccel_raid_map() 5208 last_block < first_block) in hpsa_scsi_ioaccel_raid_map() 5216 tmpdiv = first_block; in hpsa_scsi_ioaccel_raid_map() 5307 tmpdiv = first_block; in hpsa_scsi_ioaccel_raid_map() 5326 tmpdiv = first_block; in hpsa_scsi_ioaccel_raid_map() [all …]
|
| /drivers/bluetooth/ |
| A D | btmtk.c | 141 u8 flag, first_block, retry; in btmtk_setup_firmware_79xx() local 161 first_block = 1; in btmtk_setup_firmware_79xx() 214 if (first_block == 1) { in btmtk_setup_firmware_79xx() 216 first_block = 0; in btmtk_setup_firmware_79xx()
|