/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | docg3.c | 448 * @block1: the second plane block index 456 static int doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, in doc_read_seek() argument 462 block0, block1, page, ofs, wear); in doc_read_seek() 485 sector = (block1 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); in doc_read_seek() 498 * @block1: the second plane block index 505 static int doc_write_seek(struct docg3 *docg3, int block0, int block1, int page, in doc_write_seek() argument 511 block0, block1, page, ofs); in doc_write_seek() 538 sector = (block1 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); in doc_write_seek() 673 * @block1: the second plane block index on flash memory 695 static int doc_read_page_prepare(struct docg3 *docg3, int block0, int block1, in doc_read_page_prepare() argument 832 calc_block_sector(loff_t from, int *block0, int *block1, int *page, int *ofs, int reliable) calc_block_sector() argument 869 int block0, block1, page, ret, skip, ofs = 0; doc_read_oob() local 1008 int block0, block1, page, ofs, is_good; doc_block_isbad() local 1134 doc_erase_block(struct docg3 *docg3, int block0, int block1) doc_erase_block() argument 1180 int block0, block1, page, ret = 0, ofs = 0; doc_erase() local 1226 int block0, block1, page, ret, ofs = 0; doc_write_page() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | docg3.c | 448 * @block1: the second plane block index 456 static int doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, in doc_read_seek() argument 462 block0, block1, page, ofs, wear); in doc_read_seek() 485 sector = (block1 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); in doc_read_seek() 498 * @block1: the second plane block index 505 static int doc_write_seek(struct docg3 *docg3, int block0, int block1, int page, in doc_write_seek() argument 511 block0, block1, page, ofs); in doc_write_seek() 538 sector = (block1 << DOC_ADDR_BLOCK_SHIFT) + (page & DOC_ADDR_PAGE_MASK); in doc_write_seek() 673 * @block1: the second plane block index on flash memory 695 static int doc_read_page_prepare(struct docg3 *docg3, int block0, int block1, in doc_read_page_prepare() argument 832 calc_block_sector(loff_t from, int *block0, int *block1, int *page, int *ofs, int reliable) calc_block_sector() argument 869 int block0, block1, page, ret, skip, ofs = 0; doc_read_oob() local 1016 int block0, block1, page, ofs, is_good; doc_block_isbad() local 1142 doc_erase_block(struct docg3 *docg3, int block0, int block1) doc_erase_block() argument 1188 int block0, block1, page, ret = 0, ofs = 0; doc_erase() local 1234 int block0, block1, page, ret, ofs = 0; doc_write_page() local [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-ebs-target.c | 179 sector_t block1, block2; in __ebs_process_bios() local 193 block1 = __sector_to_block(ec, bio->bi_iter.bi_sector); in __ebs_process_bios() 195 dm_bufio_prefetch(ec->bufio, block1, __nr_blocks(ec, bio)); in __ebs_process_bios() 199 dm_bufio_prefetch(ec->bufio, block1, 1); in __ebs_process_bios() 200 if (__block_mod(bio_end_sector(bio), ec->u_bs) && block2 != block1) in __ebs_process_bios()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-ebs-target.c | 181 sector_t block1, block2; in __ebs_process_bios() local 195 block1 = __sector_to_block(ec, bio->bi_iter.bi_sector); in __ebs_process_bios() 197 dm_bufio_prefetch(ec->bufio, block1, __nr_blocks(ec, bio)); in __ebs_process_bios() 201 dm_bufio_prefetch(ec->bufio, block1, 1); in __ebs_process_bios() 202 if (__block_mod(bio_end_sector(bio), ec->u_bs) && block2 != block1) in __ebs_process_bios()
|
/kernel/linux/linux-5.10/fs/hfs/ |
H A D | extent.c | 53 __be16 block1, block2; in hfs_ext_keycmp() local 62 block1 = key1->ext.FABN; in hfs_ext_keycmp() 64 if (block1 == block2) in hfs_ext_keycmp() 66 return be16_to_cpu(block1) < be16_to_cpu(block2) ? -1 : 1; in hfs_ext_keycmp()
|
/kernel/linux/linux-6.6/fs/hfs/ |
H A D | extent.c | 53 __be16 block1, block2; in hfs_ext_keycmp() local 62 block1 = key1->ext.FABN; in hfs_ext_keycmp() 64 if (block1 == block2) in hfs_ext_keycmp() 66 return be16_to_cpu(block1) < be16_to_cpu(block2) ? -1 : 1; in hfs_ext_keycmp()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | nftlmount.c | 460 unsigned int block = first_block, block1; in format_chain() local 465 block1 = nftl->ReplUnitTable[block]; in format_chain() 476 block = block1; in format_chain()
|
H A D | inftlmount.c | 436 unsigned int block = first_block, block1; in format_chain() local 442 block1 = inftl->PUtable[block]; in format_chain() 455 block = block1; in format_chain()
|
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | inftlmount.c | 429 unsigned int block = first_block, block1; in format_chain() local 435 block1 = inftl->PUtable[block]; in format_chain() 448 block = block1; in format_chain()
|
H A D | nftlmount.c | 457 unsigned int block = first_block, block1; in format_chain() local 462 block1 = nftl->ReplUnitTable[block]; in format_chain() 473 block = block1; in format_chain()
|
/kernel/linux/linux-5.10/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 362 void *block1; member
|
H A D | mtip32xx.c | 2751 if (port->block1) in mtip_dma_free() 2753 port->block1, port->block1_dma); in mtip_dma_free() 2774 port->block1 = in mtip_dma_alloc() 2777 if (!port->block1) in mtip_dma_alloc() 2786 port->block1, port->block1_dma); in mtip_dma_alloc() 2787 port->block1 = NULL; in mtip_dma_alloc() 2793 port->rxfis = port->block1 + AHCI_RX_FIS_OFFSET; in mtip_dma_alloc() 2795 port->identify = port->block1 + AHCI_IDFY_OFFSET; in mtip_dma_alloc() 2797 port->log_buf = port->block1 + AHCI_SECTBUF_OFFSET; in mtip_dma_alloc() 2799 port->smart_buf = port->block1 in mtip_dma_alloc() [all...] |
/kernel/linux/linux-6.6/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 360 void *block1; member
|
H A D | mtip32xx.c | 2595 if (port->block1) in mtip_dma_free() 2597 port->block1, port->block1_dma); in mtip_dma_free() 2618 port->block1 = in mtip_dma_alloc() 2621 if (!port->block1) in mtip_dma_alloc() 2630 port->block1, port->block1_dma); in mtip_dma_alloc() 2631 port->block1 = NULL; in mtip_dma_alloc() 2637 port->rxfis = port->block1 + AHCI_RX_FIS_OFFSET; in mtip_dma_alloc() 2639 port->identify = port->block1 + AHCI_IDFY_OFFSET; in mtip_dma_alloc() 2641 port->log_buf = port->block1 + AHCI_SECTBUF_OFFSET; in mtip_dma_alloc() 2643 port->smart_buf = port->block1 in mtip_dma_alloc() [all...] |
/kernel/linux/linux-5.10/fs/ufs/ |
H A D | inode.c | 894 u64 frag1, frag2, frag3, frag4, block1, block2; in ufs_trunc_direct() local 907 block1 = block2 = 0; in ufs_trunc_direct() 912 block1 = ufs_fragstoblks (frag2); in ufs_trunc_direct() 916 UFSD("ino %lu, frag1 %llu, frag2 %llu, block1 %llu, block2 %llu," in ufs_trunc_direct() 919 (unsigned long long)block1, (unsigned long long)block2, in ufs_trunc_direct() 941 for (i = block1 ; i < block2; i++) { in ufs_trunc_direct()
|
/kernel/linux/linux-6.6/fs/ufs/ |
H A D | inode.c | 898 u64 frag1, frag2, frag3, frag4, block1, block2; in ufs_trunc_direct() local 911 block1 = block2 = 0; in ufs_trunc_direct() 916 block1 = ufs_fragstoblks (frag2); in ufs_trunc_direct() 920 UFSD("ino %lu, frag1 %llu, frag2 %llu, block1 %llu, block2 %llu," in ufs_trunc_direct() 923 (unsigned long long)block1, (unsigned long long)block2, in ufs_trunc_direct() 945 for (i = block1 ; i < block2; i++) { in ufs_trunc_direct()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_flex_keys.c | 268 MLXSW_SP2_AFK_BLOCK_LAYOUT(block1, 0x2C, 4),
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_flex_keys.c | 273 MLXSW_SP2_AFK_BLOCK_LAYOUT(block1, 0x2C, 4),
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | lm93.c | 208 struct block1_t block1; member 994 for (i = 0, ptr = (u8 *)(&data->block1); i < 8; i++) in lm93_update_client_common() 1022 lm93_read_block(client, 1, (u8 *)(&data->block1)); in lm93_update_client_full() 1080 for (i = 0, ptr = (u8 *)(&data->block1); i < 8; i++) { in lm93_update_client_min() 2316 data->block1.host_status_1 & (1 << (nr + 4)) ? 1 : 0); in vrdhot_show() 2335 return sprintf(buf, "%d\n", LM93_ALARMS_FROM_REG(data->block1)); in alarms_show()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm93.c | 208 struct block1_t block1; member 994 for (i = 0, ptr = (u8 *)(&data->block1); i < 8; i++) in lm93_update_client_common() 1022 lm93_read_block(client, 1, (u8 *)(&data->block1)); in lm93_update_client_full() 1080 for (i = 0, ptr = (u8 *)(&data->block1); i < 8; i++) { in lm93_update_client_min() 2316 data->block1.host_status_1 & (1 << (nr + 4)) ? 1 : 0); in vrdhot_show() 2335 return sprintf(buf, "%d\n", LM93_ALARMS_FROM_REG(data->block1)); in alarms_show()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | ctree.c | 2288 u64 block1 = 0; in reada_for_balance() local 2299 block1 = btrfs_node_blockptr(parent, slot - 1); in reada_for_balance() 2301 eb = find_extent_buffer(fs_info, block1); in reada_for_balance() 2308 block1 = 0; in reada_for_balance() 2320 if (block1) in reada_for_balance() 2321 readahead_tree_block(fs_info, block1); in reada_for_balance()
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | fsntfs.c | 851 sector_t block1, block2; in ntfs_update_mftmirr() local 862 block1 = sbi->mft.lbo >> sb->s_blocksize_bits; in ntfs_update_mftmirr() 868 bh1 = sb_bread(sb, block1++); in ntfs_update_mftmirr()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_bpf.c | 822 int dbits, int sbits, int block1, int block2, in __bpf_fill_pattern() 834 count = (dbits - 1) * (sbits - 1) * block1 * block1 * ARRAY_SIZE(sgn); in __bpf_fill_pattern() 853 for (db = -(block1 / 2); in __bpf_fill_pattern() 854 db < (block1 + 1) / 2; db++) in __bpf_fill_pattern() 855 for (sb = -(block1 / 2); in __bpf_fill_pattern() 856 sb < (block1 + 1) / 2; sb++) { in __bpf_fill_pattern() 821 __bpf_fill_pattern(struct bpf_test *self, void *arg, int dbits, int sbits, int block1, int block2, int (*emit)(struct bpf_test*, void*, struct bpf_insn*, s64, s64)) __bpf_fill_pattern() argument
|