Searched refs:blocksize (Results 76 - 100 of 154) sorted by relevance

1234567

/linux-master/include/linux/
H A Dbuffer_head.h205 unsigned long blocksize, unsigned long b_state);
243 sector_t bblock, unsigned blocksize);
/linux-master/fs/gfs2/
H A Dbmap.c186 * filesystem with a blocksize of 4096.
1364 unsigned int blocksize = i_blocksize(inode); local
1365 unsigned int offs = newsize & (blocksize - 1);
1368 blocksize - offs);
2400 unsigned int blocksize = i_blocksize(inode); local
2407 start_off = offset & (blocksize - 1);
2408 end_len = (offset + length) & (blocksize - 1);
2411 if (length > blocksize - start_off)
2412 len = blocksize - start_off;
2416 if (start_off + length < blocksize)
[all...]
/linux-master/fs/ocfs2/
H A Dxattr.c452 int blocksize = src->bu_inode->i_sb->s_blocksize; local
459 blocksize); local
651 * when blocksize = 512, may reserve one more cluser for
1103 size_t cplen, blocksize; local
1110 blocksize = inode->i_sb->s_blocksize;
1131 cplen = len >= blocksize ? blocksize : len;
1348 u16 blocksize = inode->i_sb->s_blocksize; local
1389 cp_len = value_len > blocksize ? blocksize
4182 int i, blocksize = inode->i_sb->s_blocksize; local
4199 memset(bucket_block(bucket, i), 0, blocksize); local
4389 size_t blocksize = inode->i_sb->s_blocksize; local
4476 memcpy(bucket_block(bucket, i), buf, blocksize); local
4631 int blocksize = inode->i_sb->s_blocksize; local
4694 memset(bucket_block(t_bucket, i), 0, blocksize); local
5358 size_t blocksize = inode->i_sb->s_blocksize; local
[all...]
/linux-master/fs/ext4/
H A Dinode.c956 unsigned blocksize = head->b_size; local
964 block_end = block_start + blocksize;
1025 unsigned blocksize = inode->i_sb->s_blocksize; local
1038 head = create_empty_buffers(folio, blocksize, 0);
1039 bbits = ilog2(blocksize);
1044 block_end = block_start + blocksize;
1054 WARN_ON(bh->b_size != blocksize);
1098 blocksize, bh_offset(wait[i]));
2359 * unnecessary complication, it is actually inevitable in blocksize < pagesize
2654 * blocksize < pagesiz
3613 unsigned blocksize, pos; local
3713 unsigned blocksize = inode->i_sb->s_blocksize; local
3741 unsigned blocksize; local
[all...]
/linux-master/tools/cgroup/
H A Diocost_coef_gen.py89 def run_fio(testfile, duration, iotype, iodepth, blocksize, jobs):
96 f'--readwrite={iotype} --iodepth={iodepth} --blocksize={blocksize} '
/linux-master/drivers/crypto/bcm/
H A Dspu2.h177 unsigned int blocksize);
H A Dspu.c322 * @blocksize: The size of a block of data for this algo
324 * The max payload must be a multiple of the blocksize so that if a request is
326 * max_payload sized chunks. Each chunk must be a multiple of blocksize.
332 unsigned int blocksize)
341 excess = max_payload % blocksize;
351 * @blocksize: The size of a block of data for this algo
353 * The max payload must be a multiple of the blocksize so that if a request is
355 * max_payload sized chunks. Each chunk must be a multiple of blocksize.
361 unsigned int blocksize)
370 excess = max_payload % blocksize;
330 spum_ns2_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
359 spum_nsp_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
[all...]
H A Dcipher.h360 unsigned int blocksize);
/linux-master/fs/hfsplus/
H A Dhfsplus_raw.h119 __be32 blocksize; member in struct:hfsplus_vh
/linux-master/include/crypto/internal/
H A Dskcipher.h87 unsigned int blocksize; member in struct:skcipher_walk
/linux-master/drivers/target/
H A Dtarget_core_pscsi.c322 * For TYPE_TAPE, attempt to determine blocksize with MODE_SENSE.
636 * Hack to correctly obtain the initiator requested blocksize for
647 u32 blocksize; local
664 blocksize = get_unaligned_be24(&buf[9]);
666 blocksize = get_unaligned_be24(&buf[13]);
668 sd->sector_size = blocksize;
/linux-master/drivers/mtd/devices/
H A Dmtd_dataflash.c160 unsigned blocksize = priv->page_size << 3; local
190 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize;
216 instr->addr += blocksize;
217 instr->len -= blocksize;
/linux-master/fs/bcachefs/
H A Dec.h197 unsigned blocksize; member in struct:ec_stripe_head
/linux-master/fs/iomap/
H A Dbuffered-io.c1276 unsigned int blocksize = i_blocksize(inode); local
1291 start_byte = round_down(pos, blocksize);
1293 start_byte = round_up(pos + written, blocksize);
1294 end_byte = round_up(pos + length, blocksize);
1436 unsigned int blocksize = i_blocksize(inode); local
1437 unsigned int off = pos & (blocksize - 1);
1442 return iomap_zero_range(inode, pos, blocksize - off, did_zero, ops);
/linux-master/fs/reiserfs/
H A Dinode.c1168 loff_t blocksize = inode->i_sb->s_blocksize; local
1184 (blocksize - 1)) >> inode->i_sb->s_blocksize_bits) * UNFM_P_SIZE +
2177 unsigned long blocksize = inode->i_sb->s_blocksize; local
2187 * If i_size % blocksize == 0, our file is currently block aligned
2190 if ((offset & (blocksize - 1)) == 0) {
2199 start = (offset / blocksize) * blocksize;
2213 pos += blocksize;
2251 unsigned blocksize = inode->i_sb->s_blocksize; local
2320 length = offset & (blocksize
[all...]
/linux-master/sound/isa/wavefront/
H A Dwavefront_synth.c885 unsigned int blocksize;
1081 blocksize = max_blksize;
1084 blocksize = ALIGN(length - written, 8);
1093 for (i = 0; i < blocksize; i++) {
1136 if (i < blocksize - 1) {
883 unsigned int blocksize; local
/linux-master/crypto/
H A Dskcipher.c371 bsize = min(walk->stride, max(n, walk->blocksize));
376 if (unlikely(walk->total < walk->blocksize))
487 walk->blocksize = crypto_skcipher_blocksize(tfm);
556 walk->blocksize = crypto_aead_blocksize(tfm);
820 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
840 rblkcipher.blocksize = alg->cra_blocksize;
1092 * that for the underlying cipher. The {min,max}_keysize, ivsize, blocksize,
/linux-master/fs/ext2/
H A Dinode.c483 int blocksize = inode->i_sb->s_blocksize; local
513 memset(bh->b_data, 0, blocksize);
1174 unsigned blocksize; local
1175 blocksize = inode->i_sb->s_blocksize;
1176 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb);
/linux-master/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c1046 unsigned int blocksize, const u8 *key,
1054 if (keylen <= blocksize) {
1078 memset(ipad + keylen, 0, blocksize - keylen);
1079 memcpy(opad, ipad, blocksize);
1081 for (i = 0; i < blocksize; i++) {
1090 unsigned int blocksize, u8 *pad, void *state)
1099 sg_init_one(&sg, pad, blocksize);
1100 ahash_request_set_crypt(areq, &sg, pad, blocksize);
1122 unsigned int blocksize; local
1137 blocksize
1045 safexcel_hmac_init_pad(struct ahash_request *areq, unsigned int blocksize, const u8 *key, unsigned int keylen, u8 *ipad, u8 *opad) argument
1089 safexcel_hmac_init_iv(struct ahash_request *areq, unsigned int blocksize, u8 *pad, void *state) argument
[all...]
/linux-master/drivers/crypto/axis/
H A Dartpec6_crypto.c1314 size_t blocksize = crypto_tfm_alg_blocksize( local
1340 blocksize - ctx->hmac_key_length);
1349 req_ctx->key_buffer, blocksize,
1402 size_t ready_bytes = round_down(total_bytes, blocksize);
1479 digest_bits = 8 * (req_ctx->digcnt + blocksize);
2233 size_t blocksize; local
2244 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
2246 if (keylen > blocksize) {
2247 tfm_ctx->hmac_key_length = blocksize;
/linux-master/drivers/crypto/
H A Dtalitos.c1656 unsigned int blocksize = local
1662 if (areq->cryptlen % blocksize)
1681 unsigned int blocksize = local
1687 if (areq->cryptlen % blocksize)
1987 unsigned int blocksize = local
1998 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) {
2011 /* At least (blocksize + 1) bytes are available to hash */
2013 to_hash_later = nbytes_to_hash & (blocksize - 1);
2022 nbytes_to_hash -= blocksize;
2023 to_hash_later = blocksize;
2223 unsigned int blocksize = local
[all...]
H A Dn2_core.c886 this_len = skcipher_descriptor_len(nbytes, walk->blocksize);
935 memcpy(rctx->walk.iv, final_iv, rctx->walk.blocksize);
1027 iv_paddr = c->dest_final - rctx->walk.blocksize;
1041 rctx->walk.blocksize);
1048 rctx->walk.blocksize);
1051 rctx->walk.blocksize);
/linux-master/drivers/cdrom/
H A Dcdrom.c2050 int blocksize, int nblocks)
2063 cgc->buflen = blocksize * nblocks;
2933 int blocksize = 0, format = 0, lba; local
2938 blocksize = CD_FRAMESIZE_RAW;
2941 blocksize = CD_FRAMESIZE;
2945 blocksize = CD_FRAMESIZE_RAW0;
2955 cgc->buffer = kzalloc(blocksize, GFP_KERNEL);
2962 ret = cdrom_read_block(cdi, cgc, lba, 1, format, blocksize);
2970 if (blocksize != CD_FRAMESIZE) {
2971 ret = cdrom_switch_blocksize(cdi, blocksize);
2048 cdrom_read_cd(struct cdrom_device_info *cdi, struct packet_command *cgc, int lba, int blocksize, int nblocks) argument
[all...]
/linux-master/drivers/crypto/qce/
H A Dcommon.c155 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); local
162 if (!rctx->last_blk && req->nbytes % blocksize)
/linux-master/fs/
H A Dmpage.c164 const unsigned blocksize = 1 << blkbits; local
193 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits;
346 * the end-of-file on blocksize < PAGE_SIZE setups.

Completed in 821 milliseconds

1234567