Home
last modified time | relevance | path

Searched refs:block1 (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/mtd/devices/
Ddocg3.c456 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()
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()
695 static int doc_read_page_prepare(struct docg3 *docg3, int block0, int block1, in doc_read_page_prepare() argument
701 block0, block1, page, offset); in doc_read_page_prepare()
713 ret = doc_read_seek(docg3, block0, block1, page, wear_area, offset); in doc_read_page_prepare()
832 static void calc_block_sector(loff_t from, int *block0, int *block1, int *page, in calc_block_sector() argument
[all …]
/linux-6.12.1/drivers/md/
Ddm-ebs-target.c181 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()
/linux-6.12.1/fs/hfs/
Dextent.c53 __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()
/linux-6.12.1/drivers/mtd/
Dnftlmount.c457 unsigned int block = first_block, block1; in format_chain() local
462 block1 = nftl->ReplUnitTable[block]; in format_chain()
473 block = block1; in format_chain()
Dinftlmount.c429 unsigned int block = first_block, block1; in format_chain() local
435 block1 = inftl->PUtable[block]; in format_chain()
448 block = block1; in format_chain()
/linux-6.12.1/fs/ufs/
Dinode.c907 u64 frag1, frag2, frag3, frag4, block1, block2; in ufs_trunc_direct() local
920 block1 = block2 = 0; in ufs_trunc_direct()
925 block1 = ufs_fragstoblks (frag2); in ufs_trunc_direct()
932 (unsigned long long)block1, (unsigned long long)block2, in ufs_trunc_direct()
954 for (i = block1 ; i < block2; i++) { in ufs_trunc_direct()
/linux-6.12.1/drivers/block/mtip32xx/
Dmtip32xx.h360 void *block1; member
Dmtip32xx.c2580 if (port->block1) in mtip_dma_free()
2582 port->block1, port->block1_dma); in mtip_dma_free()
2603 port->block1 = in mtip_dma_alloc()
2606 if (!port->block1) in mtip_dma_alloc()
2615 port->block1, port->block1_dma); in mtip_dma_alloc()
2616 port->block1 = NULL; in mtip_dma_alloc()
2622 port->rxfis = port->block1 + AHCI_RX_FIS_OFFSET; in mtip_dma_alloc()
2624 port->identify = port->block1 + AHCI_IDFY_OFFSET; in mtip_dma_alloc()
2626 port->log_buf = port->block1 + AHCI_SECTBUF_OFFSET; in mtip_dma_alloc()
2628 port->smart_buf = port->block1 + AHCI_SMARTBUF_OFFSET; in mtip_dma_alloc()
/linux-6.12.1/Documentation/devicetree/bindings/powerpc/fsl/
Dmpic-msgr.txt44 mpic-msgr-block1 = &mpic_msgr_block1;
/linux-6.12.1/drivers/mtd/nand/onenand/
DKconfig64 while Plane2 has only odd blocks such as block1, block3, block5.
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_flex_keys.c275 MLXSW_SP2_AFK_BLOCK_LAYOUT(block1, 0x2C, 4),
/linux-6.12.1/drivers/hwmon/
Dlm93.c208 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()
/linux-6.12.1/fs/ntfs3/
Dfsntfs.c851 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()
/linux-6.12.1/drivers/md/dm-vdo/
Ddedupe.c1122 static bool blocks_equal(char *block1, char *block2) in blocks_equal() argument
1127 if (*((u64 *) &block1[i]) != *((u64 *) &block2[i])) in blocks_equal()
/linux-6.12.1/lib/
Dtest_bpf.c822 int dbits, int sbits, int block1, int block2, in __bpf_fill_pattern() argument
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()