Home
last modified time | relevance | path

Searched refs:blksz (Results 1 – 19 of 19) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev03.c31 static ssize_t blksz; variable
43 {1, &zero_off, &blksz},
44 {2, &zero_off, &blksz},
45 {1, &blk_off, &blksz},
53 SAFE_PWRITE(1, fd, initbuf, blksz * 2, 0); in verify_direct_pwritev()
72 memset(preadbuf, 0x00, blksz); in verify_direct_pwritev()
103 blksz = ret; in setup()
108 initbuf = SAFE_MEMALIGN(blksz, blksz * 2); in setup()
109 memset(initbuf, 0x00, blksz * 2); in setup()
111 preadbuf = SAFE_MEMALIGN(blksz, blksz); in setup()
[all …]
/third_party/ltp/testcases/kernel/syscalls/preadv/
Dpreadv03.c29 static ssize_t blksz; variable
43 {1, &zero_off, &blksz, 0x61},
44 {2, &zero_off, &blksz, 0x61},
45 {1, &blk_off, &blksz, 0x62},
55 memset(vec, 0x00, blksz); in verify_direct_preadv()
104 blksz = ret; in setup()
109 pop_buf = SAFE_MEMALIGN(blksz, blksz); in setup()
110 memset(pop_buf, 0x61, blksz); in setup()
111 SAFE_WRITE(1, fd, pop_buf, blksz); in setup()
113 memset(pop_buf, 0x62, blksz); in setup()
[all …]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dciphercommon.c249 size_t blksz = ctx->blocksize; in ossl_cipher_generic_block_update() local
273 padnum = blksz - (inl % blksz); in ossl_cipher_generic_block_update()
297 if ((inl % blksz) != 0) { in ossl_cipher_generic_block_update()
320 blksz, &ctx->tlsmac, &ctx->alloced, in ossl_cipher_generic_block_update()
329 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update()
332 nextblocks = inl & ~(blksz-1); in ossl_cipher_generic_block_update()
339 if (ctx->bufsz == blksz && (ctx->enc || inl > 0 || !ctx->pad)) { in ossl_cipher_generic_block_update()
340 if (outsize < blksz) { in ossl_cipher_generic_block_update()
344 if (!ctx->hw->cipher(ctx, out, ctx->buf, blksz)) { in ossl_cipher_generic_block_update()
349 outlint = blksz; in ossl_cipher_generic_block_update()
[all …]
/third_party/openssl/providers/implementations/ciphers/
Dciphercommon.c249 size_t blksz = ctx->blocksize; in ossl_cipher_generic_block_update() local
273 padnum = blksz - (inl % blksz); in ossl_cipher_generic_block_update()
297 if ((inl % blksz) != 0) { in ossl_cipher_generic_block_update()
320 blksz, &ctx->tlsmac, &ctx->alloced, in ossl_cipher_generic_block_update()
329 nextblocks = ossl_cipher_fillblock(ctx->buf, &ctx->bufsz, blksz, in ossl_cipher_generic_block_update()
332 nextblocks = inl & ~(blksz-1); in ossl_cipher_generic_block_update()
339 if (ctx->bufsz == blksz && (ctx->enc || inl > 0 || !ctx->pad)) { in ossl_cipher_generic_block_update()
340 if (outsize < blksz) { in ossl_cipher_generic_block_update()
344 if (!ctx->hw->cipher(ctx, out, ctx->buf, blksz)) { in ossl_cipher_generic_block_update()
349 outlint = blksz; in ossl_cipher_generic_block_update()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_image.c194 unsigned blksz = util_format_get_blocksize(view->fmt); in panvk_per_arch() local
195 view->elems = size / blksz; in panvk_per_arch()
227 cfg.stride = blksz; in panvk_per_arch()
228 cfg.size = view->elems * blksz; in panvk_per_arch()
236 cfg.row_stride = view->elems * blksz; in panvk_per_arch()
Dpanvk_vX_meta_copy.c1629 unsigned blksz, in panvk_meta_copy_buf2buf_shader() argument
1639 blksz); in panvk_meta_copy_buf2buf_shader()
1644 nir_u2u64(&b, nir_imul(&b, nir_channel(&b, coord, 0), nir_imm_int(&b, blksz))); in panvk_meta_copy_buf2buf_shader()
1650 unsigned compsz = blksz < 4 ? blksz : 4; in panvk_meta_copy_buf2buf_shader()
1651 unsigned ncomps = blksz / compsz; in panvk_meta_copy_buf2buf_shader()
1652 nir_store_global(&b, dstptr, blksz, in panvk_meta_copy_buf2buf_shader()
1653 nir_load_global(&b, srcptr, blksz, ncomps, compsz * 8), in panvk_meta_copy_buf2buf_shader()
/third_party/openssl/providers/implementations/digests/
Ddigestcommon.c14 int ossl_digest_default_get_params(OSSL_PARAM params[], size_t blksz, in ossl_digest_default_get_params() argument
20 if (p != NULL && !OSSL_PARAM_set_size_t(p, blksz)) { in ossl_digest_default_get_params()
/third_party/node/deps/openssl/openssl/providers/implementations/digests/
Ddigestcommon.c14 int ossl_digest_default_get_params(OSSL_PARAM params[], size_t blksz, in ossl_digest_default_get_params() argument
20 if (p != NULL && !OSSL_PARAM_set_size_t(p, blksz)) { in ossl_digest_default_get_params()
/third_party/node/deps/openssl/openssl/crypto/evp/
Dlegacy_meth.h39 #define LEGACY_EVP_MD_METH_TABLE(init, update, final, ctrl, blksz) \ argument
40 init, update, final, NULL, NULL, blksz, 0, ctrl
Ddigest.c910 size_t blksz = 0; in evp_md_cache_constants() local
914 params[0] = OSSL_PARAM_construct_size_t(OSSL_DIGEST_PARAM_BLOCK_SIZE, &blksz); in evp_md_cache_constants()
921 if (mdsize > INT_MAX || blksz > INT_MAX) in evp_md_cache_constants()
924 md->block_size = (int)blksz; in evp_md_cache_constants()
Devp_lib.c345 size_t blksz = 0; in evp_cipher_cache_constants() local
350 params[0] = OSSL_PARAM_construct_size_t(OSSL_CIPHER_PARAM_BLOCK_SIZE, &blksz); in evp_cipher_cache_constants()
365 cipher->block_size = blksz; in evp_cipher_cache_constants()
/third_party/openssl/crypto/evp/
Dlegacy_meth.h39 #define LEGACY_EVP_MD_METH_TABLE(init, update, final, ctrl, blksz) \ argument
40 init, update, final, NULL, NULL, blksz, 0, ctrl
Ddigest.c910 size_t blksz = 0; in evp_md_cache_constants() local
914 params[0] = OSSL_PARAM_construct_size_t(OSSL_DIGEST_PARAM_BLOCK_SIZE, &blksz); in evp_md_cache_constants()
921 if (mdsize > INT_MAX || blksz > INT_MAX) in evp_md_cache_constants()
924 md->block_size = (int)blksz; in evp_md_cache_constants()
Devp_lib.c345 size_t blksz = 0; in evp_cipher_cache_constants() local
350 params[0] = OSSL_PARAM_construct_size_t(OSSL_CIPHER_PARAM_BLOCK_SIZE, &blksz); in evp_cipher_cache_constants()
365 cipher->block_size = blksz; in evp_cipher_cache_constants()
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/
Ddigestcommon.h119 int ossl_digest_default_get_params(OSSL_PARAM params[], size_t blksz,
/third_party/openssl/providers/implementations/include/prov/
Ddigestcommon.h119 int ossl_digest_default_get_params(OSSL_PARAM params[], size_t blksz,
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c1265 unsigned blksz = util_format_get_blocksize(pfmt); in dzn_buffer_view_create() local
1280 .FirstElement = pCreateInfo->offset / blksz, in dzn_buffer_view_create()
1281 .NumElements = (UINT)(size / blksz), in dzn_buffer_view_create()
1292 .FirstElement = pCreateInfo->offset / blksz, in dzn_buffer_view_create()
1293 .NumElements = (UINT)(size / blksz), in dzn_buffer_view_create()
Ddzn_device.c2532 uint32_t blksz = util_format_get_blocksize(pfmt); in dzn_buffer_get_copy_loc() local
2546 .RowPitch = blksz * DIV_ROUND_UP(buffer_row_length, blkw), in dzn_buffer_get_copy_loc()
2575 uint32_t blksz = util_format_get_blocksize(pfmt); in dzn_buffer_get_line_copy_loc() local
2581 DIV_ROUND_UP(buffer_row_length, blkw) * blksz; in dzn_buffer_get_line_copy_loc()
2592 while (offset_alignment % blksz) in dzn_buffer_get_line_copy_loc()
2598 *start_x = ((offset % offset_alignment) / blksz) * blkw; in dzn_buffer_get_line_copy_loc()
2601 ALIGN_POT(DIV_ROUND_UP(new_loc.PlacedFootprint.Footprint.Width, blkw) * blksz, in dzn_buffer_get_line_copy_loc()
/third_party/libabigail/tests/data/test-read-dwarf/
DPR25007-sdhci.ko.abi3835 …<var-decl name='blksz' type-id='type-id-176' visibility='default' filepath='/ws/android/kernel/aos…