| /linux/drivers/mtd/ |
| H A D | nftlmount.c | 369 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) in check_sectors_in_chain() argument 378 block = first_block; in check_sectors_in_chain() 423 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) in calc_chain_length() argument 425 unsigned int length = 0, block = first_block; in calc_chain_length() 455 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block) in format_chain() argument 457 unsigned int block = first_block, block1; in format_chain() 459 printk("Formatting chain at block %d\n", first_block); in format_chain() 566 unsigned int block, first_block, is_first_block; in NFTL_mount() local 586 for (first_block = 0; first_block < s->nb_blocks; first_block++) { in NFTL_mount() 588 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) { in NFTL_mount() [all …]
|
| H A D | inftlmount.c | 427 static void format_chain(struct INFTLrecord *inftl, unsigned int first_block) in format_chain() argument 429 unsigned int block = first_block, block1; in format_chain() 432 first_block); in format_chain() 529 unsigned int block, first_block, prev_block, last_block; in INFTL_mount() local 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() [all …]
|
| /linux/fs/ |
| H A D | mpage.c | 161 sector_t first_block; in do_mpage_readpage() local 197 first_block = map_bh->b_blocknr + map_offset; in do_mpage_readpage() 251 first_block = map_bh->b_blocknr; in do_mpage_readpage() 252 else if (first_block + page_block != map_bh->b_blocknr) in do_mpage_readpage() 281 if (args->bio && (args->last_block_in_bio != first_block - 1)) in do_mpage_readpage() 290 args->bio->bi_iter.bi_sector = first_block << (blkbits - 9); in do_mpage_readpage() 305 args->last_block_in_bio = first_block + blocks_per_folio - 1; in do_mpage_readpage() 463 sector_t first_block; in mpage_write_folio() local 501 if (bh->b_blocknr != first_block + page_block) in mpage_write_folio() 504 first_block = bh->b_blocknr; in mpage_write_folio() [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | sh_mmcif.h | 146 unsigned long first_block, in sh_mmcif_boot_do_read() argument 168 ret = sh_mmcif_boot_do_read_single(base, first_block + k, in sh_mmcif_boot_do_read()
|
| /linux/include/uapi/linux/ |
| H A D | efs_fs_sb.h | 53 __u32 first_block; /* first data block in filesystem */ member
|
| /linux/drivers/char/ |
| H A D | random.c | 309 u8 first_block[CHACHA_BLOCK_SIZE]; in crng_fast_key_erasure() local 316 chacha20_block(chacha_state, first_block); in crng_fast_key_erasure() 318 memcpy(key, first_block, CHACHA_KEY_SIZE); in crng_fast_key_erasure() 319 memcpy(random_data, first_block + CHACHA_KEY_SIZE, random_data_len); in crng_fast_key_erasure() 320 memzero_explicit(first_block, sizeof(first_block)); in crng_fast_key_erasure()
|
| /linux/drivers/scsi/ |
| H A D | hpsa.c | 4841 u64 first_block; in set_encrypt_ioaccel2() local 4860 first_block = (((cmd->cmnd[1] & 0x1F) << 16) | in set_encrypt_ioaccel2() 4869 first_block = get_unaligned_be32(&cmd->cmnd[2]); in set_encrypt_ioaccel2() 4873 first_block = get_unaligned_be64(&cmd->cmnd[2]); in set_encrypt_ioaccel2() 4884 first_block = first_block * in set_encrypt_ioaccel2() 4887 cp->tweak_lower = cpu_to_le32(first_block); in set_encrypt_ioaccel2() 4888 cp->tweak_upper = cpu_to_le32(first_block >> 32); in set_encrypt_ioaccel2() 5097 u64 first_block, last_block; in hpsa_scsi_ioaccel_raid_map() local 5135 first_block = (((cmd->cmnd[1] & 0x1F) << 16) | in hpsa_scsi_ioaccel_raid_map() 5146 first_block = in hpsa_scsi_ioaccel_raid_map() [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btmtk.c | 146 u8 flag, first_block, retry; in btmtk_setup_firmware_79xx() local 166 first_block = 1; in btmtk_setup_firmware_79xx() 232 if (first_block == 1) { in btmtk_setup_firmware_79xx() 234 first_block = 0; in btmtk_setup_firmware_79xx()
|
| /linux/fs/efs/ |
| H A D | super.c | 230 sb->first_block = be32_to_cpu(super->fs_firstcg); in efs_validate_super()
|
| /linux/fs/ext4/ |
| H A D | super.c | 3311 ext4_fsblk_t first_block = le32_to_cpu(sbi->s_es->s_first_data_block); in ext4_check_descriptors() local 3331 last_block = first_block + in ext4_check_descriptors() 3354 if (block_bitmap < first_block || block_bitmap > last_block) { in ext4_check_descriptors() 3376 if (inode_bitmap < first_block || inode_bitmap > last_block) { in ext4_check_descriptors() 3398 if (inode_table < first_block || in ext4_check_descriptors() 3418 first_block += EXT4_BLOCKS_PER_GROUP(sb); in ext4_check_descriptors() 4172 ext4_fsblk_t first_block, last_block, b; in count_overhead() local 4182 first_block = le32_to_cpu(sbi->s_es->s_first_data_block) + in count_overhead() 4184 last_block = first_block + EXT4_BLOCKS_PER_GROUP(sb) - 1; in count_overhead() 4188 if (b >= first_block && b <= last_block) { in count_overhead() [all …]
|
| H A D | resize.c | 1173 ext4_fsblk_t first_block = ext4_group_first_block_no(sb, group); in update_backups() local 1183 backup_block = first_block + has_super; in update_backups() 1203 if (has_super && (backup_block == first_block)) in update_backups()
|
| H A D | mballoc.c | 1382 int first_block; in ext4_mb_init_cache() local 1450 first_block = EXT4_PG_TO_LBLK(inode, folio->index); in ext4_mb_init_cache() 1452 group = (first_block + i) >> 1; in ext4_mb_init_cache() 1483 if ((first_block + i) & 1) { in ext4_mb_init_cache()
|
| /linux/drivers/scsi/smartpqi/ |
| H A D | smartpqi.h | 1043 u64 first_block; member
|
| /linux/fs/udf/ |
| H A D | inode.c | 655 sector_t first_block = newsize >> sb->s_blocksize_bits, offset; in udf_extend_file() local 677 err = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset, &etype); in udf_extend_file()
|