Home
last modified time | relevance | path

Searched refs:first_block (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.3-rc2/drivers/mtd/
A Dnftlmount.c378 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 Dinftlmount.c429 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 …]
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/
A Dfw.c107 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()
A Dhermes_dld.h32 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);
A Dhermes_dld.c254 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()
/linux-6.3-rc2/mm/
A Dpage_io.c110 sector_t first_block; in generic_swapfile_activate() local
114 first_block = probe_block; in generic_swapfile_activate()
115 ret = bmap(inode, &first_block); in generic_swapfile_activate()
116 if (ret || !first_block) in generic_swapfile_activate()
122 if (first_block & (blocks_per_page - 1)) { in generic_swapfile_activate()
136 if (block != first_block + block_in_page) { in generic_swapfile_activate()
143 first_block >>= (PAGE_SHIFT - blkbits); in generic_swapfile_activate()
145 if (first_block < lowest_block) in generic_swapfile_activate()
146 lowest_block = first_block; in generic_swapfile_activate()
147 if (first_block > highest_block) in generic_swapfile_activate()
[all …]
/linux-6.3-rc2/fs/udf/
A Dtruncate.c36 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()
A Dballoc.c196 uint16_t partition, uint32_t first_block, in udf_bitmap_prealloc_blocks() argument
208 if (first_block >= part_len) in udf_bitmap_prealloc_blocks()
211 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks()
212 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks()
523 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument
550 while (first_block != eloc.logicalBlockNum && in udf_table_prealloc_blocks()
553 eloc.logicalBlockNum, elen, first_block); in udf_table_prealloc_blocks()
557 if (first_block == eloc.logicalBlockNum) { in udf_table_prealloc_blocks()
697 uint16_t partition, uint32_t first_block, in udf_prealloc_blocks() argument
706 partition, first_block, in udf_prealloc_blocks()
[all …]
/linux-6.3-rc2/crypto/
A Dhctr2.c60 u8 first_block[BLOCKCIPHER_BLOCK_SIZE]; member
247 crypto_xor(rctx->first_block, digest, BLOCKCIPHER_BLOCK_SIZE); in hctr2_finish()
250 scatterwalk_map_and_copy(rctx->first_block, req->dst, in hctr2_finish()
279 scatterwalk_map_and_copy(rctx->first_block, req->src, in hctr2_crypt()
296 crypto_xor(digest, rctx->first_block, BLOCKCIPHER_BLOCK_SIZE); in hctr2_crypt()
301 crypto_cipher_encrypt_one(tctx->blockcipher, rctx->first_block, in hctr2_crypt()
304 crypto_cipher_decrypt_one(tctx->blockcipher, rctx->first_block, in hctr2_crypt()
308 crypto_xor(digest, rctx->first_block, BLOCKCIPHER_BLOCK_SIZE); in hctr2_crypt()
/linux-6.3-rc2/drivers/bluetooth/
A Dbtmtk.c66 u8 flag, first_block, retry; in btmtk_setup_firmware_79xx() local
82 first_block = 1; in btmtk_setup_firmware_79xx()
135 if (first_block == 1) { in btmtk_setup_firmware_79xx()
137 first_block = 0; in btmtk_setup_firmware_79xx()
/linux-6.3-rc2/block/partitions/
A Dsgi.c29 __be32 first_block; /* First logical block */ member
76 start = be32_to_cpu(p->first_block); in sgi_partition()
/linux-6.3-rc2/fs/ext4/
A Dmigrate.c17 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()
84 lb->first_block = lb->last_block = lb->curr_block; in update_extent_range()
A Dindirect.c543 ext4_fsblk_t first_block = 0; in ext4_ind_map_blocks() local
558 first_block = le32_to_cpu(chain[depth - 1].key); in ext4_ind_map_blocks()
566 if (blk == first_block + count) in ext4_ind_map_blocks()
/linux-6.3-rc2/include/linux/platform_data/
A Dsh_mmcif.h146 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-6.3-rc2/include/uapi/linux/
A Defs_fs_sb.h53 __u32 first_block; /* first data block in filesystem */ member
/linux-6.3-rc2/fs/nilfs2/
A Dpage.c33 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()
A Dmdt.c362 unsigned long first_block; in nilfs_mdt_forget_block() local
372 first_block = (unsigned long)index << in nilfs_mdt_forget_block()
377 bh = nilfs_page_get_nth_block(page, block - first_block); in nilfs_mdt_forget_block()
/linux-6.3-rc2/fs/jbd2/
A Dcommit.c375 unsigned long first_block; in jbd2_journal_commit_transaction() local
763 jbd2_journal_get_log_tail(journal, &first_tid, &first_block); in jbd2_journal_commit_transaction()
767 long freed = first_block - journal->j_tail; in jbd2_journal_commit_transaction()
769 if (first_block < journal->j_tail) in jbd2_journal_commit_transaction()
909 jbd2_update_log_tail(journal, first_tid, first_block); in jbd2_journal_commit_transaction()
/linux-6.3-rc2/drivers/char/
A Drandom.c298 u8 first_block[CHACHA_BLOCK_SIZE]; in crng_fast_key_erasure() local
305 chacha20_block(chacha_state, first_block); in crng_fast_key_erasure()
307 memcpy(key, first_block, CHACHA_KEY_SIZE); in crng_fast_key_erasure()
308 memcpy(random_data, first_block + CHACHA_KEY_SIZE, random_data_len); in crng_fast_key_erasure()
309 memzero_explicit(first_block, sizeof(first_block)); in crng_fast_key_erasure()
/linux-6.3-rc2/arch/x86/kernel/cpu/mce/
A Damd.c868 struct threshold_block *first_block = NULL, *block = NULL, *tmp = NULL; in amd_threshold_interrupt() local
884 first_block = bp[bank]->blocks; in amd_threshold_interrupt()
885 if (!first_block) in amd_threshold_interrupt()
892 log_and_reset_block(first_block); in amd_threshold_interrupt()
893 list_for_each_entry_safe(block, tmp, &first_block->miscj, miscj) in amd_threshold_interrupt()
/linux-6.3-rc2/fs/ext2/
A Dinode.c635 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()
806 unsigned long first_block = offset >> blkbits; in ext2_iomap_begin() local
813 ret = ext2_get_blocks(inode, first_block, max_blocks, in ext2_iomap_begin()
819 iomap->offset = (u64)first_block << blkbits; in ext2_iomap_begin()
/linux-6.3-rc2/drivers/scsi/smartpqi/
A Dsmartpqi_init.c2616 struct raid_map *raid_map, u64 first_block) in pqi_set_encryption_info() argument
2627 first_block = (first_block * volume_blk_size) / 512; in pqi_set_encryption_info()
2735 rmd->last_block < rmd->first_block) in pci_get_aio_common_raid_map_values()
2748 tmpdiv = rmd->first_block; in pci_get_aio_common_raid_map_values()
2804 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6()
2823 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6()
2832 rmd->first_block / rmd->stripesize; in pqi_calc_aio_r5_or_r6()
2840 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6()
2857 (u32)((rmd->first_block % rmd->stripesize) % in pqi_calc_aio_r5_or_r6()
2904 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6()
[all …]
/linux-6.3-rc2/drivers/scsi/
A Dhpsa.c4855 u64 first_block; in set_encrypt_ioaccel2() local
4898 first_block = first_block * in set_encrypt_ioaccel2()
5111 u64 first_block, last_block; in hpsa_scsi_ioaccel_raid_map() local
5160 first_block = in hpsa_scsi_ioaccel_raid_map()
5173 first_block = in hpsa_scsi_ioaccel_raid_map()
5188 first_block = in hpsa_scsi_ioaccel_raid_map()
5214 last_block < first_block) in hpsa_scsi_ioaccel_raid_map()
5222 tmpdiv = first_block; in hpsa_scsi_ioaccel_raid_map()
5313 tmpdiv = first_block; in hpsa_scsi_ioaccel_raid_map()
5332 tmpdiv = first_block; in hpsa_scsi_ioaccel_raid_map()
[all …]
/linux-6.3-rc2/fs/efs/
A Dsuper.c241 sb->first_block = be32_to_cpu(super->fs_firstcg); in efs_validate_super()
A Dinode.c85 block = sb->fs_start + sb->first_block + in efs_iget()

Completed in 83 milliseconds

12