Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/maps/
Dvmu-flash.c40 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/
Dxfs_bmap_btree.c584 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()
Dxfs_bmap_btree.h99 extern int xfs_bmdr_maxrecs(int blocklen, int leaf);
100 extern int xfs_bmbt_maxrecs(struct xfs_mount *, int blocklen, int leaf);
Dxfs_refcount_btree.c402 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()
Dxfs_alloc_btree.c581 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()
Dxfs_rmap_btree.c532 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()
Dxfs_refcount_btree.h52 extern int xfs_refcountbt_maxrecs(int blocklen, bool leaf);
Dxfs_rmap_btree.h51 int xfs_rmapbt_maxrecs(int blocklen, int leaf);
Dxfs_ialloc_btree.c537 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/
Dide-cd.c989 __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/
Ddrbg.c488 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/
Di2c-imx-lpi2c.c376 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/
Dcore.h114 int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen);
Dcore.c2056 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/
Dsddr09.c964 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()