Searched defs:block_size (Results 1 - 25 of 34) sorted by relevance

12

/osnet-11/usr/src/lib/libparted/common/libparted/fs/jfs/
H A Djfs.c57 PedSector block_size = PED_LE32_TO_CPU (buf.sb.s_pbsize) / 512; local
61 block_size * block_count);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/reiserfs/
H A Dgeom_dal.h36 size_t block_size; member in struct:_dal
55 extern dal_t *geom_dal_create(PedGeometry *geom, size_t block_size, int flags);
H A Dgeom_dal.c33 (dal->block_size / PED_SECTOR_SIZE_DEFAULT);
43 k = dal->block_size / PED_SECTOR_SIZE_DEFAULT;
57 k = dal->block_size / PED_SECTOR_SIZE_DEFAULT;
108 dal_t *geom_dal_create(PedGeometry *geom, size_t block_size, int flags) { argument
119 dal->block_size = block_size;
H A Dreiserfs.c217 PedSector block_size; local
220 block_size = PED_LE16_TO_CPU(sb.s_blocksize)
225 block_size * block_count);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/xfs/
H A Dxfs.c41 PedSector block_size; local
54 block_size = PED_LE32_TO_CPU (buf.sb.sb_blocksize) / 512;
58 block_size * block_count);
62 block_size = PED_BE32_TO_CPU (buf.sb.sb_blocksize) / 512;
66 block_size * block_count);
/osnet-11/usr/src/lib/storage/liba5k/common/hdrs/
H A Da_state.h80 uint_t block_size; member in struct:capacity_data_struct
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Dindex.h58 * @block_size: index block size
105 u32 block_size; member in struct:__anon2037
/osnet-11/usr/src/grub/grub2/grub-core/io/
H A Dbufio.c37 grub_size_t block_size; member in struct:grub_bufio
73 bufio->block_size = size;
140 next_buf = (file->offset + res + len - 1) & ~((grub_off_t) bufio->block_size - 1);
161 if (bufio->buffer_len > bufio->block_size)
162 bufio->buffer_len = bufio->block_size;
173 bufio->block_size);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/solaris_x86/
H A Dsolaris_x86.c109 PedSector block_size = pvtoc->v_sectorsz / 512; local
115 block_size * block_count);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Daead.c62 size_t block_size)
68 for (k = 0; k < block_size; k++)
133 size_t block_size,
153 if (nbytes > block_size - j)
154 nbytes = block_size - j;
161 assert(j <= block_size);
163 if (j == block_size)
175 if (j != block_size)
176 memset(block + j, 0, block_size - j);
179 dump_block("get_block", i, j, block, block_size);
58 dump_block(const char *tag, size_t i, size_t j, unsigned char *block, size_t block_size) argument
132 krb5int_c_iov_get_block(unsigned char *block, size_t block_size, const krb5_crypto_iov *data, size_t num_data, struct iov_block_state *iov_state) argument
186 krb5int_c_iov_put_block(const krb5_crypto_iov *data, size_t num_data, unsigned char *block, size_t block_size, struct iov_block_state *iov_state) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/disk/ieee1275/
H A Dnand.c31 grub_uint32_t block_size; member in struct:grub_nand_data
102 data->block_size = (args.size1 >> GRUB_DISK_SECTOR_BITS);
163 args.page = (grub_ieee1275_cell_t) ((grub_size_t) sector / data->block_size);
165 ofs = ((grub_size_t) sector % data->block_size) << GRUB_DISK_SECTOR_BITS;
167 bsize = (data->block_size << GRUB_DISK_SECTOR_BITS);
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfscat.c340 u32 block_size; local
355 block_size = vol->mft_record_size;
357 block_size = index_get_size(inode);
359 block_size = 0;
363 if (!opts.raw && block_size > 0) {
365 bytes_read = ntfs_attr_mst_pread(attr, offset, 1, block_size, buffer);
367 bytes_read *= block_size;
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Ddevice.c554 * @block_size: block size in bytes in which to return the result
556 * Return the number of @block_size sized blocks in the device described by the
563 s64 ntfs_device_size_get(struct ntfs_device *dev, int block_size) argument
567 if (!dev || block_size <= 0 || (block_size - 1) & block_size) {
578 return (s64)size / block_size;
588 return (s64)size * 512 / block_size;
599 return (s64)this_floppy.size * 512 / block_size;
619 return (low + 1LL) / block_size;
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dinterface.c43 PedSector block_size = 1 << (EXT2_SUPER_LOG_BLOCK_SIZE(*sb) + 1); local
90 start, block_count * block_size);
95 block_count * block_size);
H A Dext2_mkfs.c265 static int _set_dirent(void* buf, int offset, int block_size, int is_last, argument
273 rec_len = block_size - offset;
492 size_t block_size = 1 << log_block_size; local
498 (block_size
501 / block_size);
505 block_size));
/osnet-11/usr/src/lib/libfuse/common/
H A Dfuse_compat.h169 long block_size; member in struct:fuse_statfs_compat1
/osnet-11/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c320 unsigned int block_size = 512; local
388 block_size = minfo.dki_lbsize;
396 block_size = minfo.dki_lbsize;
409 dos_cnt = get_num_dos_drives(fd, block_size);
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsAESCrypt.c39 kms_add_pkcs7_padding(CK_BYTE *buf, int block_size, CK_ULONG data_len) argument
45 pad_len = block_size - (data_len % block_size);
57 CK_ULONG *pulDataLen, int block_size)
67 if ((pad_value == 0) || (pad_value > block_size))
56 kms_remove_pkcs7_padding(CK_BYTE *pData, CK_ULONG padded_len, CK_ULONG *pulDataLen, int block_size) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEncryptUtil.c44 soft_add_pkcs7_padding(CK_BYTE *buf, int block_size, CK_ULONG data_len) argument
46 (void) pkcs7_encode(NULL, data_len, buf, block_size, block_size);
H A DsoftMAC.c717 uint64_t *opad, uint_t blocks_per_int64, uint_t block_size)
729 SHA2Update(&ctx->hc_icontext, (uint8_t *)ipad, block_size);
733 SHA2Update(&ctx->hc_ocontext, (uint8_t *)opad, block_size);
716 sha2_hmac_ctx_init(uint_t mech, sha2_hc_ctx_t *ctx, uint64_t *ipad, uint64_t *opad, uint_t blocks_per_int64, uint_t block_size) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dutility.c526 UINT32 block_size,
533 pad_len = block_size - (data_len % block_size);
525 add_pkcs_padding(CK_BYTE * ptr, UINT32 block_size, UINT32 data_len, UINT32 total_len) argument
/osnet-11/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c433 unsigned int block_size; local
506 block_size = mi.dki_lbsize;
507 vol_size = mi.dki_capacity * block_size;
513 block_size = 512;
516 libhal_device_set_property_int (ctx, udi, "volume.block_size", block_size, &error);
541 if (!find_dos_drive(fd, dos_num, block_size, &probe_offset)) {
555 partition_start = vtoc.v_part[partition_number].p_start * block_size;
564 partition_start = gpt->efi_parts[partition_number].p_start * block_size;
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c568 int i, blocks, block_size; local
625 block_size = out_len - 11;
630 blocks = plaintext->Length/block_size;
642 ckRv = C_Encrypt(ckSession, (CK_BYTE_PTR)in_data, block_size,
656 in_data += block_size;
659 if (plaintext->Length % block_size) {
671 in_len = plaintext->Length % block_size;
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ufs/
H A Dufs.c192 PedSector block_size = PED_BE32_TO_CPU(sb->fs_bsize) / 512; local
195 block_size * block_count);
198 PedSector block_size = PED_LE32_TO_CPU(sb->fs_bsize) / 512; local
201 block_size * block_count);
211 PedSector block_size; local
226 block_size = PED_BE32_TO_CPU(sb->fs_bsize) / 512;
229 block_size * block_count);
237 block_size = PED_LE32_TO_CPU(sb->fs_bsize) / 512;
240 block_size * block_count);
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dminix.c104 grub_uint16_t block_size; member in struct:grub_minix_sblock
485 if (data->sblock.block_size == 0xffff)
489 if ((data->sblock.block_size & (data->sblock.block_size - 1))
490 || data->sblock.block_size == 0)
493 < grub_le_to_cpu16 (data->sblock.block_size);

Completed in 578 milliseconds

12