/kernel/linux/linux-5.10/drivers/mtd/maps/ |
D | vmu-flash.c | 40 u32 blocklen; member 69 if (src_ofs >= card->parts[partition].numblocks * card->blocklen) in ofs_to_block() 72 num = src_ofs / card->blocklen; in ofs_to_block() 81 vblock->ofs = src_ofs % card->blocklen; in ofs_to_block() 102 card->blocklen/card->readcnt); in vmu_blockread() 129 pcache->buffer = kmalloc(card->blocklen, GFP_KERNEL); in maple_vmu_read_block() 159 blockread = kmalloc(card->blocklen/card->readcnt, GFP_KERNEL); in maple_vmu_read_block() 205 memcpy(buf + (card->blocklen/card->readcnt) * x, blockread, in maple_vmu_read_block() 206 card->blocklen/card->readcnt); in maple_vmu_read_block() 208 memcpy(pcache->buffer + (card->blocklen/card->readcnt) * x, in maple_vmu_read_block() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_bmap_btree.c | 584 int blocklen, in xfs_bmbt_maxrecs() argument 587 blocklen -= XFS_BMBT_BLOCK_LEN(mp); in xfs_bmbt_maxrecs() 590 return blocklen / sizeof(xfs_bmbt_rec_t); in xfs_bmbt_maxrecs() 591 return blocklen / (sizeof(xfs_bmbt_key_t) + sizeof(xfs_bmbt_ptr_t)); in xfs_bmbt_maxrecs() 599 int blocklen, in xfs_bmdr_maxrecs() argument 602 blocklen -= sizeof(xfs_bmdr_block_t); in xfs_bmdr_maxrecs() 605 return blocklen / sizeof(xfs_bmdr_rec_t); in xfs_bmdr_maxrecs() 606 return blocklen / (sizeof(xfs_bmdr_key_t) + sizeof(xfs_bmdr_ptr_t)); in xfs_bmdr_maxrecs()
|
D | xfs_bmap_btree.h | 99 extern int xfs_bmdr_maxrecs(int blocklen, int leaf); 100 extern int xfs_bmbt_maxrecs(struct xfs_mount *, int blocklen, int leaf);
|
D | xfs_refcount_btree.c | 402 int blocklen, in xfs_refcountbt_maxrecs() argument 405 blocklen -= XFS_REFCOUNT_BLOCK_LEN; in xfs_refcountbt_maxrecs() 408 return blocklen / sizeof(struct xfs_refcount_rec); in xfs_refcountbt_maxrecs() 409 return blocklen / (sizeof(struct xfs_refcount_key) + in xfs_refcountbt_maxrecs()
|
D | xfs_alloc_btree.c | 581 int blocklen, in xfs_allocbt_maxrecs() argument 584 blocklen -= XFS_ALLOC_BLOCK_LEN(mp); in xfs_allocbt_maxrecs() 587 return blocklen / sizeof(xfs_alloc_rec_t); in xfs_allocbt_maxrecs() 588 return blocklen / (sizeof(xfs_alloc_key_t) + sizeof(xfs_alloc_ptr_t)); in xfs_allocbt_maxrecs()
|
D | xfs_rmap_btree.c | 532 int blocklen, in xfs_rmapbt_maxrecs() argument 535 blocklen -= XFS_RMAP_BLOCK_LEN; in xfs_rmapbt_maxrecs() 538 return blocklen / sizeof(struct xfs_rmap_rec); in xfs_rmapbt_maxrecs() 539 return blocklen / in xfs_rmapbt_maxrecs()
|
D | xfs_refcount_btree.h | 52 extern int xfs_refcountbt_maxrecs(int blocklen, bool leaf);
|
D | xfs_rmap_btree.h | 51 int xfs_rmapbt_maxrecs(int blocklen, int leaf);
|
D | xfs_ialloc_btree.c | 537 int blocklen, in xfs_inobt_maxrecs() argument 540 blocklen -= XFS_INOBT_BLOCK_LEN(mp); in xfs_inobt_maxrecs() 543 return blocklen / sizeof(xfs_inobt_rec_t); in xfs_inobt_maxrecs() 544 return blocklen / (sizeof(xfs_inobt_key_t) + sizeof(xfs_inobt_ptr_t)); in xfs_inobt_maxrecs()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-cd.c | 989 __be32 blocklen; in cdrom_read_capacity() member 995 u32 blocklen; in cdrom_read_capacity() local 1012 blocklen = be32_to_cpu(capbuf.blocklen); in cdrom_read_capacity() 1013 blocklen = (blocklen >> SECTOR_SHIFT) << SECTOR_SHIFT; in cdrom_read_capacity() 1014 switch (blocklen) { in cdrom_read_capacity() 1023 drive->name, blocklen); in cdrom_read_capacity() 1024 blocklen = 2048; in cdrom_read_capacity() 1029 *sectors_per_frame = blocklen >> SECTOR_SHIFT; in cdrom_read_capacity()
|
/kernel/linux/linux-5.10/crypto/ |
D | drbg.c | 488 short blocklen = 0; in drbg_ctr_df() local 497 blocklen = (drbg_blocklen(drbg) < in drbg_ctr_df() 502 memcpy(df_data + generated_len, X, blocklen); in drbg_ctr_df() 503 generated_len += blocklen; in drbg_ctr_df() 840 short blocklen = 0; in drbg_hash_df() local 847 blocklen = (drbg_blocklen(drbg) < (outlen - len)) ? in drbg_hash_df() 849 memcpy(outval + len, tmp, blocklen); in drbg_hash_df() 850 len += blocklen; in drbg_hash_df()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-imx-lpi2c.c | 376 unsigned int blocklen, remaining; in lpi2c_imx_read_rxfifo() local 392 blocklen = lpi2c_imx->rx_buf[0]; in lpi2c_imx_read_rxfifo() 393 lpi2c_imx->msglen += blocklen; in lpi2c_imx_read_rxfifo()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | core.h | 114 int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen);
|
D | core.c | 2056 int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen) in mmc_set_blocklen() argument 2065 cmd.arg = blocklen; in mmc_set_blocklen()
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
D | sddr09.c | 964 unsigned int pagelen, blocklen; in sddr09_write_data() local 989 blocklen = (pagelen << info->blockshift); in sddr09_write_data() 990 blockbuffer = kmalloc(blocklen, GFP_NOIO); in sddr09_write_data()
|