Searched refs:block_size (Results 76 - 100 of 175) sorted by relevance

1234567

/netbsd-current/sbin/newfs_msdos/
H A Dmkfs_msdos.c271 if (o.block_size && o.sectors_per_cluster) {
409 if (o.block_size) {
410 if (!powerof2(o.block_size)) {
411 warnx("block size (%u) is not a power of 2", o.block_size);
414 if (o.block_size < bpb.bps) {
416 o.block_size, bpb.bps);
419 if (o.block_size > bpb.bps * MAXSPC) {
421 o.block_size, bpb.bps * MAXSPC);
424 bpb.spc = o.block_size / bpb.bps;
/netbsd-current/sys/fs/hfs/
H A Dhfs.h142 #define HFS_BLOCKSIZE(vp) (VTOH(vp)->h_hmp->hm_vol.vh.block_size)
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Devp-wincng.c67 (size % ctx->cipher->block_size) == 0);
221 #define WINCNG_CIPHER_ALGORITHM(name, alg_id, block_size, key_len, \
227 block_size, \
566 md->block_size = cbBlock;
H A Devp.h151 int block_size; member in struct:hc_CIPHER
213 int block_size; member in struct:hc_evp_md
H A Devp-openssl.c218 hc_evp->block_size = EVP_CIPHER_block_size(ossl_evp);
361 hc_evp->block_size = EVP_MD_block_size(ossl_evp);
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dcipher.c100 u_int block_size; member in struct:sshcipher
102 u_int iv_len; /* defaults to block_size */
185 return (c->block_size);
216 c->iv_len : c->block_size;
418 if (len % cc->cipher->block_size)
/netbsd-current/sys/lib/libsa/
H A Dext2fs.c321 size_t block_size, tsz; local
326 block_size = fs->e2fs_bsize; /* no fragment */
334 memset(fp->f_buf, 0, block_size);
335 fp->f_buf_size = block_size;
340 block_size, fp->f_buf, &fp->f_buf_size);
354 *size_p = block_size - off;
826 size_t block_size = fp->f_fs->e2fs_bsize; local
837 if (buf_size != block_size || buf_size == 0)
H A Dufs.c537 size_t block_size; local
543 block_size = (size_t)dblksize(fs, &fp->f_di, (uint64_t)file_block);
545 block_size = (size_t)ffs_sblksize(fs, (int64_t)fp->f_di.di_size, file_block);
555 memset(fp->f_buf, 0, block_size);
556 fp->f_buf_size = block_size;
561 block_size, fp->f_buf, &fp->f_buf_size);
575 *size_p = block_size - off;
/netbsd-current/crypto/external/bsd/openssl.old/dist/ssl/record/
H A Drecord_local.h110 size_t block_size, size_t mac_size);
113 size_t block_size, size_t mac_size);
/netbsd-current/crypto/external/bsd/openssl/dist/ssl/record/
H A Drecord_local.h115 size_t block_size, size_t mac_size,
122 size_t block_size, size_t mac_size,
/netbsd-current/sys/dev/usb/
H A Dif_atu.c864 int block_size, block = 0, err, i; local
920 block_size = DFU_MaxBlockSize;
922 block_size = bytes_left;
927 block_size, ptr);
934 ptr += block_size;
935 bytes_left -= block_size;
936 if (block_size == 0)
985 int block_size, block = 0, err, i; local
1002 block_size = 1024;
1004 block_size
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/evp/
H A Devp_enc.c371 OPENSSL_assert(ctx->cipher->block_size == 1
372 || ctx->cipher->block_size == 8
373 || ctx->cipher->block_size == 16);
430 ctx->block_mask = ctx->cipher->block_size - 1;
567 bl = ctx->cipher->block_size;
677 blocksize = ctx->cipher->block_size;
770 b = ctx->cipher->block_size;
848 b = ctx->cipher->block_size;
993 b = ctx->cipher->block_size;
1024 n = ctx->cipher->block_size
[all...]
H A Devp_lib.c365 cipher->block_size = blksz;
390 return cipher->block_size;
800 return md->block_size;
868 if (md->block_size != 0)
871 md->block_size = blocksize;
954 return md->block_size;
/netbsd-current/external/public-domain/xz/dist/src/liblzma/api/lzma/
H A Dcontainer.h84 * The encoder will start a new .xz Block every block_size bytes.
100 * For each thread, about 3 * block_size bytes of memory will be
104 uint64_t block_size; member in struct:__anon16174
/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-esp.c195 unsigned int block_size; local
232 block_size = (unsigned int)EVP_CIPHER_CTX_block_size(ctx);
233 if ((ctlen % block_size) != 0) {
237 caller, ctlen, block_size);
/netbsd-current/sys/arch/hpcmips/vr/
H A Dflash_vrip.c218 size_t block_size; local
258 block_size
261 if (sc->sc_block_size < block_size)
262 sc->sc_block_size = block_size;
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_vm.h53 #define AMDGPU_VM_PTE_COUNT(adev) (1 << (adev)->vm_manager.block_size)
333 uint32_t block_size; member in struct:amdgpu_vm_manager
H A Damdgpu_mmhub_v1_0.c238 unsigned num_level, block_size; local
243 block_size = adev->vm_manager.block_size;
247 block_size -= 9;
271 block_size);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dalloc-pool.h122 static const size_t block_size = BlockSize;
287 m_elts_per_block = (TBlockAllocator::block_size - header_size) / size;
476 memory_block_pool::block_size (64 KB). */
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dalloc-pool.h122 static const size_t block_size = BlockSize;
287 m_elts_per_block = (TBlockAllocator::block_size - header_size) / size;
476 memory_block_pool::block_size (64 KB). */
/netbsd-current/external/bsd/wpa/dist/src/wps/
H A Dwps_common.c159 const size_t block_size = 16; local
165 if (encr == NULL || encr_len < 2 * block_size || encr_len % block_size)
171 decrypted = wpabuf_alloc(encr_len - block_size);
176 wpabuf_put_data(decrypted, encr + block_size, encr_len - block_size);
/netbsd-current/sys/dev/ic/
H A Dssdfb.c1255 int block_size = 8; local
1256 int ri_block_stride = ri->ri_stride * block_size;
1257 int height_in_blocks = sc->sc_p->p_height / block_size;
1258 int width_in_blocks = sc->sc_p->p_width / block_size;
1259 int ri_block_step = block_size * ri->ri_depth / 8;
1296 x1 * block_size + sc->sc_p->p_panel_shift,
1297 (x2 + 1) * block_size - 1 + sc->sc_p->p_panel_shift,
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_format_rar5.c2781 ssize_t* block_size, struct compressed_block_header* hdr)
2795 *block_size = 0;
2799 *block_size = *(const uint8_t*) &p[2];
2804 *block_size = archive_le16dec(&p[2]);
2809 *block_size = archive_le32dec(&p[2]);
2810 *block_size &= 0x00FFFFFF;
2824 ^ (uint8_t) *block_size
2825 ^ (uint8_t) (*block_size >> 8)
2826 ^ (uint8_t) (*block_size >> 16);
3353 static int merge_block(struct archive_read* a, ssize_t block_size, argument
2780 parse_block_header(struct archive_read* a, const uint8_t* p, ssize_t* block_size, struct compressed_block_header* hdr) argument
3474 ssize_t block_size; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gold/
H A Ddwarf_reader.cc973 uint16_t block_size; local
974 block_size = this->dwinfo_->read_from_pointer<16>(&pattr);
975 pattr += block_size;
980 uint32_t block_size; local
981 block_size = this->dwinfo_->read_from_pointer<32>(&pattr);
982 pattr += block_size;
988 uint64_t block_size; local
989 block_size = read_unsigned_LEB_128(pattr, &len);
990 pattr += len + block_size;
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_bios.c1386 u16 block_size; local
1400 block_size = get_blocksize(params);
1401 if (block_size < sizeof(*params)) {
1779 u16 block_size; local
1788 block_size = get_blocksize(defs);
1789 if (block_size < sizeof(*defs)) {
1791 block_size);
1832 child_device_num = (block_size - sizeof(*defs)) / defs->child_dev_size;

Completed in 204 milliseconds

1234567