/kernel/linux/linux-5.10/drivers/mtd/ |
D | nftlmount.c | 372 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block) in check_sectors_in_chain() argument 381 block = first_block; in check_sectors_in_chain() 426 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) in calc_chain_length() argument 428 unsigned int length = 0, block = first_block; in calc_chain_length() 458 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block) in format_chain() argument 460 unsigned int block = first_block, block1; in format_chain() 462 printk("Formatting chain at block %d\n", first_block); in format_chain() 569 unsigned int block, first_block, is_first_block; in NFTL_mount() local 589 for (first_block = 0; first_block < s->nb_blocks; first_block++) { in NFTL_mount() 591 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) { in NFTL_mount() [all …]
|
D | inftlmount.c | 434 static void format_chain(struct INFTLrecord *inftl, unsigned int first_block) in format_chain() argument 436 unsigned int block = first_block, block1; in format_chain() 439 first_block); in format_chain() 536 unsigned int block, first_block, prev_block, last_block; in INFTL_mount() local 576 for (first_block = s->firstEUN; first_block <= s->lastEUN; first_block++) { in INFTL_mount() 577 if (s->PUtable[first_block] != BLOCK_NOTEXPLORED) in INFTL_mount() 583 block = first_block; in INFTL_mount() 626 "mark 0x%x?\n", block, first_block, in INFTL_mount() 651 block, first_block); in INFTL_mount() 686 first_block); in INFTL_mount() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | page_io.c | 126 sector_t first_block; in generic_swapfile_activate() local 130 first_block = probe_block; in generic_swapfile_activate() 131 ret = bmap(inode, &first_block); in generic_swapfile_activate() 132 if (ret || !first_block) in generic_swapfile_activate() 138 if (first_block & (blocks_per_page - 1)) { in generic_swapfile_activate() 152 if (block != first_block + block_in_page) { in generic_swapfile_activate() 159 first_block >>= (PAGE_SHIFT - blkbits); in generic_swapfile_activate() 161 if (first_block < lowest_block) in generic_swapfile_activate() 162 lowest_block = first_block; in generic_swapfile_activate() 163 if (first_block > highest_block) in generic_swapfile_activate() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
D | fw.c | 107 const unsigned char *first_block; in orinoco_dl_firmware() local 159 first_block = (fw_entry->data + in orinoco_dl_firmware() 164 err = hermes_program(hw, first_block, end); in orinoco_dl_firmware() 170 first_block = (fw_entry->data + in orinoco_dl_firmware() 174 err = hermes_apply_pda_with_defaults(hw, first_block, end, pda, in orinoco_dl_firmware() 212 const unsigned char *first_block; in symbol_dl_image() local 220 first_block = ptr; in symbol_dl_image() 241 ret = hermes_program(hw, first_block, end); in symbol_dl_image() 247 size_t len = hermes_blocks_length(first_block, end); in symbol_dl_image() 248 ptr = first_block + len; in symbol_dl_image()
|
D | hermes_dld.h | 32 int hermes_program(struct hermes *hw, const char *first_block, const void *end); 50 size_t hermes_blocks_length(const char *first_block, const void *end);
|
D | hermes_dld.c | 254 hermes_blocks_length(const char *first_block, const void *end) in hermes_blocks_length() argument 256 const struct dblock *blk = (const struct dblock *) first_block; in hermes_blocks_length() 277 int hermes_program(struct hermes *hw, const char *first_block, const void *end) in hermes_program() argument 284 blk = (const struct dblock *) first_block; in hermes_program()
|
/kernel/linux/linux-5.10/fs/udf/ |
D | balloc.c | 173 uint16_t partition, uint32_t first_block, in udf_bitmap_prealloc_blocks() argument 185 if (first_block >= part_len) in udf_bitmap_prealloc_blocks() 188 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks() 189 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks() 192 block = first_block + (sizeof(struct spaceBitmapDesc) << 3); in udf_bitmap_prealloc_blocks() 500 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument 510 if (first_block >= sbi->s_partmaps[partition].s_partition_len) in udf_table_prealloc_blocks() 527 while (first_block != eloc.logicalBlockNum && in udf_table_prealloc_blocks() 530 eloc.logicalBlockNum, elen, first_block); in udf_table_prealloc_blocks() 534 if (first_block == eloc.logicalBlockNum) { in udf_table_prealloc_blocks() [all …]
|
D | truncate.c | 36 int first_block = (nelen + inode->i_sb->s_blocksize - 1) >> in extent_trunc() local 51 if (last_block > first_block) { in extent_trunc() 57 first_block, in extent_trunc() 58 last_block - first_block); in extent_trunc() 191 sector_t first_block = inode->i_size >> sb->s_blocksize_bits, offset; in udf_truncate_extents() local 203 etype = inode_bmap(inode, first_block, &epos, &eloc, &elen, &offset); in udf_truncate_extents()
|
/kernel/linux/linux-5.10/block/partitions/ |
D | sgi.c | 29 __be32 first_block; /* First logical block */ member 77 start = be32_to_cpu(p->first_block); in sgi_partition()
|
/kernel/linux/linux-5.10/include/linux/mmc/ |
D | sh_mmcif.h | 148 unsigned long first_block, in sh_mmcif_boot_do_read() argument 170 ret = sh_mmcif_boot_do_read_single(base, first_block + k, in sh_mmcif_boot_do_read()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | migrate.c | 17 ext4_lblk_t first_block, last_block, curr_block; member 32 newext.ee_block = cpu_to_le32(lb->first_block); in finish_range() 33 newext.ee_len = cpu_to_le16(lb->last_block - lb->first_block + 1); in finish_range() 37 path = ext4_find_extent(inode, lb->first_block, NULL, 0); in finish_range() 51 lb->last_block - lb->first_block + 1, path); in finish_range() 85 lb->first_block = lb->last_block = lb->curr_block; in update_extent_range()
|
D | indirect.c | 541 ext4_fsblk_t first_block = 0; in ext4_ind_map_blocks() local 556 first_block = le32_to_cpu(chain[depth - 1].key); in ext4_ind_map_blocks() 564 if (blk == first_block + count) in ext4_ind_map_blocks()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | efs_fs_sb.h | 40 __u32 first_block; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | efs_fs_sb.h | 53 __u32 first_block; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | efs_fs_sb.h | 53 __u32 first_block; /* first data block in filesystem */ member
|
/kernel/linux/linux-5.10/drivers/char/ |
D | random.c | 289 u8 first_block[CHACHA_BLOCK_SIZE]; in crng_fast_key_erasure() local 296 chacha20_block(chacha_state, first_block); in crng_fast_key_erasure() 298 memcpy(key, first_block, CHACHA_KEY_SIZE); in crng_fast_key_erasure() 299 memcpy(random_data, first_block + CHACHA_KEY_SIZE, random_data_len); in crng_fast_key_erasure() 300 memzero_explicit(first_block, sizeof(first_block)); in crng_fast_key_erasure()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | mdt.c | 361 unsigned long first_block; in nilfs_mdt_forget_block() local 371 first_block = (unsigned long)index << in nilfs_mdt_forget_block() 376 bh = nilfs_page_get_nth_block(page, block - first_block); in nilfs_mdt_forget_block()
|
D | page.c | 33 unsigned long first_block; in __nilfs_get_page_block() local 39 first_block = (unsigned long)index << (PAGE_SHIFT - blkbits); in __nilfs_get_page_block() 40 bh = nilfs_page_get_nth_block(page, block - first_block); in __nilfs_get_page_block()
|
/kernel/linux/linux-5.10/fs/jbd2/ |
D | commit.c | 405 unsigned long first_block; in jbd2_journal_commit_transaction() local 806 jbd2_journal_get_log_tail(journal, &first_tid, &first_block); in jbd2_journal_commit_transaction() 810 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction() 812 if (first_block < journal->j_tail) in jbd2_journal_commit_transaction() 952 jbd2_update_log_tail(journal, first_tid, first_block); in jbd2_journal_commit_transaction()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | amd.c | 1038 struct threshold_block *first_block = NULL, *block = NULL, *tmp = NULL; in amd_threshold_interrupt() local 1054 first_block = bp[bank]->blocks; in amd_threshold_interrupt() 1055 if (!first_block) in amd_threshold_interrupt() 1062 log_and_reset_block(first_block); in amd_threshold_interrupt() 1063 list_for_each_entry_safe(block, tmp, &first_block->miscj, miscj) in amd_threshold_interrupt()
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | inode.c | 635 ext2_fsblk_t first_block = 0; in ext2_get_blocks() local 647 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks() 666 if (blk == first_block + count) in ext2_get_blocks() 807 unsigned long first_block = offset >> blkbits; in ext2_iomap_begin() local 814 ret = ext2_get_blocks(inode, first_block, max_blocks, in ext2_iomap_begin() 821 iomap->offset = (u64)first_block << blkbits; in ext2_iomap_begin()
|
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 2219 u64 first_block) in pqi_set_encryption_info() argument 2230 first_block = (first_block * volume_blk_size) / 512; in pqi_set_encryption_info() 2234 encryption_info->encrypt_tweak_lower = lower_32_bits(first_block); in pqi_set_encryption_info() 2235 encryption_info->encrypt_tweak_upper = upper_32_bits(first_block); in pqi_set_encryption_info() 2251 u64 first_block; in pqi_raid_bypass_submit_scsi_cmd() local 2297 first_block = (u64)(((scmd->cmnd[1] & 0x1f) << 16) | in pqi_raid_bypass_submit_scsi_cmd() 2307 first_block = (u64)get_unaligned_be32(&scmd->cmnd[2]); in pqi_raid_bypass_submit_scsi_cmd() 2314 first_block = (u64)get_unaligned_be32(&scmd->cmnd[2]); in pqi_raid_bypass_submit_scsi_cmd() 2321 first_block = get_unaligned_be64(&scmd->cmnd[2]); in pqi_raid_bypass_submit_scsi_cmd() 2336 last_block = first_block + block_cnt - 1; in pqi_raid_bypass_submit_scsi_cmd() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | hpsa.c | 4859 u64 first_block; in set_encrypt_ioaccel2() local 4878 first_block = (((cmd->cmnd[1] & 0x1F) << 16) | in set_encrypt_ioaccel2() 4887 first_block = get_unaligned_be32(&cmd->cmnd[2]); in set_encrypt_ioaccel2() 4891 first_block = get_unaligned_be64(&cmd->cmnd[2]); in set_encrypt_ioaccel2() 4902 first_block = first_block * in set_encrypt_ioaccel2() 4905 cp->tweak_lower = cpu_to_le32(first_block); in set_encrypt_ioaccel2() 4906 cp->tweak_upper = cpu_to_le32(first_block >> 32); in set_encrypt_ioaccel2() 5115 u64 first_block, last_block; in hpsa_scsi_ioaccel_raid_map() local 5153 first_block = (((cmd->cmnd[1] & 0x1F) << 16) | in hpsa_scsi_ioaccel_raid_map() 5164 first_block = in hpsa_scsi_ioaccel_raid_map() [all …]
|
/kernel/linux/linux-5.10/fs/efs/ |
D | super.c | 241 sb->first_block = be32_to_cpu(super->fs_firstcg); in efs_validate_super()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | data.c | 4060 sector_t first_block; in check_swap_activate() local 4070 first_block = block; in check_swap_activate() 4075 if (first_block & (blocks_per_page - 1)) { in check_swap_activate() 4089 if (block != first_block + block_in_page) { in check_swap_activate() 4096 first_block >>= (PAGE_SHIFT - blkbits); in check_swap_activate() 4098 if (first_block < lowest_block) in check_swap_activate() 4099 lowest_block = first_block; in check_swap_activate() 4100 if (first_block > highest_block) in check_swap_activate() 4101 highest_block = first_block; in check_swap_activate() 4107 ret = add_swap_extent(sis, page_no, 1, first_block); in check_swap_activate()
|