Home
last modified time | relevance | path

Searched refs:nblocks (Results 1 - 25 of 26) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/
H A Dusb_mbuf.c39 usb_size_t block_size, uint16_t nblocks) in usb_alloc_mbufs()
49 if (nblocks && block_size) { in usb_alloc_mbufs()
50 alloc_size = (block_size + sizeof(struct usb_mbuf)) * nblocks; in usb_alloc_mbufs()
58 data_ptr = (void *)(m_ptr + nblocks); in usb_alloc_mbufs()
60 while (nblocks--) { in usb_alloc_mbufs()
38 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, usb_size_t block_size, uint16_t nblocks) usb_alloc_mbufs() argument
H A Dusb_mbuf.h89 usb_size_t block_size, uint16_t nblocks);
/third_party/f2fs-tools/fsck/
H A Dnode.h30 unsigned int nblocks; in ADDRS_PER_PAGE() local
43 nblocks = ADDRS_PER_BLOCK(&inode_blk->i); in ADDRS_PER_PAGE()
46 nblocks = ADDRS_PER_BLOCK(&inode_blk->i); in ADDRS_PER_PAGE()
48 return nblocks; in ADDRS_PER_PAGE()
H A Dfsck.c2544 int j, nblocks; in check_curseg_offset() local
2564 nblocks = sbi->blocks_per_seg; in check_curseg_offset()
2565 for (j = curseg->next_blkoff + 1; j < nblocks; j++) { in check_curseg_offset()
/third_party/ffmpeg/libavformat/
H A Dape.c46 int nblocks; member
133 ape_ctx->frames[i].nblocks); in ape_dumpinfo()
266 ape->frames[0].nblocks = ape->blocksperframe; in ape_read_header()
272 ape->frames[i].nblocks = ape->blocksperframe; in ape_read_header()
284 ape->frames[ape->totalframes - 1].nblocks = ape->finalframeblocks; in ape_read_header()
371 int nblocks; in ape_read_packet() local
387 nblocks = ape->finalframeblocks; in ape_read_packet()
389 nblocks = ape->blocksperframe; in ape_read_packet()
403 AV_WL32(pkt->data , nblocks); in ape_read_packet()
/third_party/f2fs-tools/mkfs/
H A Df2fs_format_utils.c129 int nblocks = 4096; /* 16MB size */ in is_wiped_device() local
155 for (j = 0; j < nblocks; j++) { in is_wiped_device()
166 MSG(0, "Info: Found all zeros in first %d blocks\n", nblocks); in is_wiped_device()
/third_party/ffmpeg/libavutil/
H A Dmd5.c101 static void body(uint32_t ABCD[4], const uint8_t *src, size_t nblocks) in body() argument
106 for (size_t n = 0; n < nblocks; n++) { in body()
177 size_t nblocks = len / 64; in av_md5_update() local
178 body(ctx->ABCD, src, nblocks); in av_md5_update()
/third_party/mbedtls/library/
H A Dpoly1305.c69 * \param nblocks Number of blocks to process. Note that this
77 size_t nblocks, in poly1305_process()
104 for (i = 0U; i < nblocks; i++) { in poly1305_process()
289 size_t nblocks; in mbedtls_poly1305_update() local
321 nblocks = remaining / POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
323 poly1305_process(ctx, nblocks, &input[offset], 1U); in mbedtls_poly1305_update()
325 offset += nblocks * POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
76 poly1305_process(mbedtls_poly1305_context *ctx, size_t nblocks, const unsigned char *input, uint32_t needs_padding) poly1305_process() argument
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_resource_texture.c329 const unsigned nblocks = util_format_get_nblocksx(pt->format, width); in i9x5_texture_layout_cube() local
336 tex->stride = align(nblocks * util_format_get_blocksize(pt->format) * 2, 4); in i9x5_texture_layout_cube()
337 tex->total_nblocksy = nblocks * 4; in i9x5_texture_layout_cube()
343 unsigned x = initial_offsets[face][0] * nblocks; in i9x5_texture_layout_cube()
344 unsigned y = initial_offsets[face][1] * nblocks; in i9x5_texture_layout_cube()
345 unsigned d = nblocks; in i9x5_texture_layout_cube()
646 const unsigned nblocks = util_format_get_nblocksx(pt->format, width); in i945_texture_layout_cube() local
663 tex->stride = nblocks * 2 * util_format_get_blocksize(pt->format); in i945_texture_layout_cube()
671 tex->total_nblocksy = nblocks * 4 + 1; in i945_texture_layout_cube()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_pass.c590 * result: nblocks = {12, 52}, pixels = 196608 in tu_render_pass_gmem_config()
591 * optimal: nblocks = {13, 51}, pixels = 208896 in tu_render_pass_gmem_config()
606 uint32_t nblocks = in tu_render_pass_gmem_config() local
609 if (nblocks > gmem_blocks) in tu_render_pass_gmem_config()
612 gmem_blocks -= nblocks; in tu_render_pass_gmem_config()
614 offset += nblocks * gmem_align; in tu_render_pass_gmem_config()
615 pixels = MIN2(pixels, nblocks * gmem_align / att->cpp); in tu_render_pass_gmem_config()
622 uint32_t nblocks = gmem_blocks * att->samples / cpp_total; in tu_render_pass_gmem_config() local
623 if (nblocks > gmem_blocks) in tu_render_pass_gmem_config()
626 gmem_blocks -= nblocks; in tu_render_pass_gmem_config()
[all...]
/third_party/node/deps/openssl/openssl/engines/
H A De_devcrypto.c250 size_t nblocks, ivlen; in cipher_do_cipher() local
303 nblocks = (inl + cipher_ctx->blocksize - 1) in cipher_do_cipher()
307 nblocks += iv[ivlen]; in cipher_do_cipher()
308 iv[ivlen] = (uint8_t) nblocks; in cipher_do_cipher()
309 nblocks >>= 8; in cipher_do_cipher()
326 size_t nblocks, len; in ctr_do_cipher() local
337 nblocks = inl/cipher_ctx->blocksize; in ctr_do_cipher()
338 len = nblocks * cipher_ctx->blocksize; in ctr_do_cipher()
/third_party/openssl/engines/
H A De_devcrypto.c250 size_t nblocks, ivlen; in cipher_do_cipher() local
303 nblocks = (inl + cipher_ctx->blocksize - 1) in cipher_do_cipher()
307 nblocks += iv[ivlen]; in cipher_do_cipher()
308 iv[ivlen] = (uint8_t) nblocks; in cipher_do_cipher()
309 nblocks >>= 8; in cipher_do_cipher()
326 size_t nblocks, len; in ctr_do_cipher() local
337 nblocks = inl/cipher_ctx->blocksize; in ctr_do_cipher()
338 len = nblocks * cipher_ctx->blocksize; in ctr_do_cipher()
/third_party/ffmpeg/libavcodec/
H A Ddca_lbr.c629 int i, j, code, nblocks, coding_method; in parse_ch() local
638 nblocks = FFMIN(get_bits_left(&s->gb) / 8, DCA_LBR_TIME_SAMPLES / 8); in parse_ch()
639 for (i = 0; i < nblocks; i++, samples += 8) { in parse_ch()
644 i = nblocks * 8; in parse_ch()
656 nblocks = FFMIN(get_bits_left(&s->gb) / 8, (DCA_LBR_TIME_SAMPLES + 4) / 5); in parse_ch()
657 for (i = 0; i < nblocks; i++, samples += 5) { in parse_ch()
662 i = nblocks * 5; in parse_ch()
667 nblocks = FFMIN(get_bits_left(&s->gb) / 7, (DCA_LBR_TIME_SAMPLES + 2) / 3); in parse_ch()
668 for (i = 0; i < nblocks; i++, samples += 3) { in parse_ch()
673 i = nblocks * in parse_ch()
[all...]
H A Dmss3.c572 int nblocks = block_size >> 3; in decode_dct_block() local
574 bx = mb_x * nblocks; in decode_dct_block()
575 by = mb_y * nblocks; in decode_dct_block()
577 for (j = 0; j < nblocks; j++) { in decode_dct_block()
578 for (i = 0; i < nblocks; i++) { in decode_dct_block()
H A Dg2meet.c962 int nblocks = 0; in epic_jb_decode_tile() local
979 nblocks++; in epic_jb_decode_tile()
990 c->kempf_flags, bstride, nblocks, c->swapuv); in epic_jb_decode_tile()
1060 int nblocks, cblocks, bstride; in kempf_decode_tile() local
1123 nblocks = *src++ + 1; in kempf_decode_tile()
1140 if (cblocks > nblocks) in kempf_decode_tile()
1152 c->kempf_flags, bstride, nblocks * 4, 0); in kempf_decode_tile()
H A Dapedec.c1490 uint32_t nblocks, offset; in ape_decode_frame() local
1517 nblocks = bytestream_get_be32(&s->ptr); in ape_decode_frame()
1540 if (!nblocks || nblocks > INT_MAX / 2 / sizeof(*s->decoded_buffer) - 8) { in ape_decode_frame()
1542 nblocks); in ape_decode_frame()
1551 s->samples = nblocks; in ape_decode_frame()
H A Dadpcm.c1015 int nblocks = buf_bits / block_size; in get_nb_samples() local
1016 int bits_left = buf_bits - nblocks * block_size; in get_nb_samples()
1017 nb_samples = nblocks * 4096; in get_nb_samples()
/third_party/littlefs/scripts/
H A Dreadtree.py94 nblocks = struct.unpack('<II', dirstruct.data)
95 nmdir = dirtable[frozenset(nblocks)]
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dsfdriver.c302 const int nblocks = (int)len / 16; in murmur_hash_3_128() local
314 const FT_UInt32* blocks = (const FT_UInt32*)( data + nblocks * 16 ); in murmur_hash_3_128()
319 for( i = -nblocks; i; i++ ) in murmur_hash_3_128()
365 const FT_Byte* tail = (const FT_Byte*)( data + nblocks * 16 ); in murmur_hash_3_128()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_allocator.c996 uint32_t nblocks = chunk_size / divisor; in anv_state_pool_return_chunk() local
997 uint32_t rest = chunk_size - nblocks * divisor; in anv_state_pool_return_chunk()
999 if (nblocks > 0) { in anv_state_pool_return_chunk()
1006 anv_state_pool_return_blocks(pool, offset, nblocks, divisor); in anv_state_pool_return_chunk()
1021 nblocks = chunk_size / divisor; in anv_state_pool_return_chunk()
1022 rest = chunk_size - nblocks * divisor; in anv_state_pool_return_chunk()
1023 if (nblocks > 0) { in anv_state_pool_return_chunk()
1025 nblocks, divisor); in anv_state_pool_return_chunk()
/third_party/ffmpeg/libavcodec/x86/
H A Ddcadsp.asm30 cglobal lfe_fir0_float, 4, 6, 12 + cpuflag(fma3)*4, samples, lfe, coeff, nblocks, cnt1, cnt2
212 cglobal lfe_fir1_float, 4, 6, 10, samples, lfe, coeff, nblocks, cnt1, cnt2
/third_party/NuttX/include/nuttx/
H A Dscsi.h722 uint8_t nblocks[3]; /* 1-3: Number of blocks */ member
820 uint8_t nblocks[4]; /* 4-7: Number of blocks */ member
829 uint8_t nblocks[4]; /* 0-3: Number of blocks */ member
/third_party/python/Python/
H A Dcompile.c7159 int nblocks = 0, maxdepth = 0; in stackdepth() local
7163 nblocks++; in stackdepth()
7166 stack = (basicblock **)PyObject_Malloc(sizeof(basicblock *) * nblocks); in stackdepth()
7230 assemble_init(struct assembler *a, int nblocks, int firstlineno) in assemble_init() argument
7250 if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) { in assemble_init()
7330 int nblocks = 0; in label_exception_targets() local
7333 nblocks++; in label_exception_targets()
7335 basicblock **todo_stack = PyMem_Malloc(sizeof(basicblock *)*nblocks); in label_exception_targets()
8350 int j, nblocks; in assemble() local
8375 nblocks in assemble()
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_meta_copy.c1721 unsigned nblocks = region->size >> log2blksz; in panvk_meta_copy_buf2buf() local
1722 struct pan_compute_dim num_wg = { nblocks, 1, 1 }; in panvk_meta_copy_buf2buf()
1928 unsigned nblocks = size >> log2blksz; in panvk_meta_update_buf() local
1929 struct pan_compute_dim num_wg = { nblocks, 1, 1 }; in panvk_meta_update_buf()
/third_party/python/Modules/
H A Darraymodule.c1537 Py_ssize_t nblocks = (nbytes + BLOCKSIZE - 1) / BLOCKSIZE; in array_array_tofile_impl() local
1547 for (i = 0; i < nblocks; i++) { in array_array_tofile_impl()

Completed in 50 milliseconds

12