Searched refs:blockSize (Results 76 - 100 of 169) sorted by relevance

1234567

/macosx-10.10.1/IOStorageFamily-182.1.1/
H A DIOBlockStorageDevice.h264 * @param blockSize
267 virtual IOReturn reportBlockSize(UInt64 *blockSize) = 0;
284 virtual IOReturn reportMaxReadTransfer(UInt64 blockSize,UInt64 *max) __attribute__ ((deprecated));
286 virtual IOReturn reportMaxWriteTransfer(UInt64 blockSize,UInt64 *max) __attribute__ ((deprecated));
H A DIOBlockStorageDevice.cpp117 IOBlockStorageDevice::reportMaxReadTransfer(UInt64 blockSize,UInt64 *max) argument
123 IOBlockStorageDevice::reportMaxWriteTransfer(UInt64 blockSize,UInt64 *max) argument
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs_vfsutils.c142 vcb->blockSize = SWAP_BE32 (mdb->drAlBlkSiz);
170 hfsmp->hfs_logBlockSize = BestBlockSizeFit(vcb->blockSize, MAXBSIZE, hfsmp->hfs_logical_block_size);
195 fork.cf_blocks = fork.cf_size / vcb->blockSize;
232 fork.cf_blocks = fork.cf_size / vcb->blockSize;
336 u_int32_t blockSize; local
375 blockSize = SWAP_BE32(vhp->blockSize);
376 if (blockSize < 512 || !powerof2(blockSize)) {
378 printf("hfs_mounthfsplus: invalid blocksize (%d) \n", blockSize);
[all...]
H A Dhfs_vfsops.c206 vcb->reserveBlocks = MIN(vcb->reserveBlocks, HFS_MAXRESERVE / vcb->blockSize);
415 (hfsmp->jnl_start * HFSTOVCB(hfsmp)->blockSize) + (off_t)HFSTOVCB(hfsmp)->hfsPlusIOPosOffset,
886 SWAP_BE32(vhp->blockSize) != vcb->blockSize) {
1908 MIN(HFS_VERYLOWDISKTRIGGERLEVEL / HFSTOVCB(hfsmp)->blockSize,
1911 MIN(HFS_LOWDISKTRIGGERLEVEL / HFSTOVCB(hfsmp)->blockSize,
1914 MIN(HFS_LOWDISKSHUTOFFLEVEL / HFSTOVCB(hfsmp)->blockSize,
1926 MIN(HFS_ROOTVERYLOWDISKTRIGGERLEVEL / HFSTOVCB(hfsmp)->blockSize,
1929 MIN(HFS_ROOTLOWDISKTRIGGERLEVEL / HFSTOVCB(hfsmp)->blockSize,
1932 MIN(HFS_ROOTLOWDISKSHUTOFFLEVEL / HFSTOVCB(hfsmp)->blockSize,
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c386 blockno_offset = blockno_offset / hfsmp->blockSize;
387 numblocks = trim->extents[i].length / hfsmp->blockSize;
444 offset = (u_int64_t) startingBlock * hfsmp->blockSize + (u_int64_t) hfsmp->hfsPlusIOPosOffset;
445 length = (u_int64_t) numBlocks * hfsmp->blockSize;
501 offset = (u_int64_t) start * hfsmp->blockSize + (u_int64_t) hfsmp->hfsPlusIOPosOffset;
502 length = (u_int64_t) numBlocks * hfsmp->blockSize;
599 offset = (u_int64_t) startingBlock * hfsmp->blockSize + (u_int64_t) hfsmp->hfsPlusIOPosOffset;
600 length = (u_int64_t) numBlocks * hfsmp->blockSize;
654 startBlock = (extents[i].offset - hfsmp->hfsPlusIOPosOffset) / hfsmp->blockSize;
655 numBlocks = extents[i].length / hfsmp->blockSize;
1433 u_int32_t blockSize; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/java/src/com/sleepycat/collections/
H A DBlockIterator.java75 BlockIterator(StoredCollection coll, boolean writeAllowed, int blockSize) { argument
80 keys = new byte[blockSize][];
81 priKeys = coll.isSecondary() ? (new byte[blockSize][]) : keys;
82 values = new byte[blockSize][];
84 nextIndex = blockSize;
/macosx-10.10.1/JavaScriptCore-7600.1.17/heap/
H A DMarkedBlock.h78 static const size_t blockSize = 64 * KB; member in class:JSC::MarkedBlock
79 static const size_t blockMask = ~(blockSize - 1); // blockSize must be a power of two.
81 static const size_t atomsPerBlock = blockSize / atomSize;
336 return region()->blockSize();
489 return reinterpret_cast<JSC::Bits>(key) / JSC::MarkedBlock::blockSize;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A DBlockCryptor.cpp143 size_t blockSize, // block size of input and output
188 if(blockSize == 8) {
217 if(iv->Length < blockSize) {
221 setup(blockSize,
222 blockSize,
142 setup( size_t blockSize, const Context &context) argument
/macosx-10.10.1/Security-57031.1.35/Security/include/security_comcryption/
H A Dcomcryption.c951 unsigned *blockSize) // RETURNED on DCB_SUCCESS
1027 *blockSize = (unsigned)(byteCodePtr - cipherText) + numByteCodes;
1028 if(*blockSize > cipherTextLen) {
1241 unsigned blockSize; local
1305 &blockSize);
1353 ctextUsed = blockSize - origBufSize;
1354 scprintf(("====decrypted block in codeBuf, blockSize %d, "
1356 blockSize, ctextUsed, thisPtext));
1387 &blockSize);
1428 cipherText += blockSize;
943 deComcryptBlock( comcryptPriv *cpriv, comcryptBuf *cbuf, unsigned char *cipherText, unsigned cipherTextLen, unsigned char *plainText, unsigned *plainTextLen, comcryptEos endOfStream, unsigned *blockSize) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_comcryption/lib/
H A Dcomcryption.c951 unsigned *blockSize) // RETURNED on DCB_SUCCESS
1027 *blockSize = (unsigned)(byteCodePtr - cipherText) + numByteCodes;
1028 if(*blockSize > cipherTextLen) {
1241 unsigned blockSize; local
1305 &blockSize);
1353 ctextUsed = blockSize - origBufSize;
1354 scprintf(("====decrypted block in codeBuf, blockSize %d, "
1356 blockSize, ctextUsed, thisPtext));
1387 &blockSize);
1428 cipherText += blockSize;
943 deComcryptBlock( comcryptPriv *cpriv, comcryptBuf *cbuf, unsigned char *cipherText, unsigned cipherTextLen, unsigned char *plainText, unsigned *plainTextLen, comcryptEos endOfStream, unsigned *blockSize) argument
[all...]
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/
H A DSRuntime.h277 UInt32 blockSize; member in struct:BlockDescriptor
359 extern OSErr GetDeviceSize(int driveRefNum, UInt64 *numBlocks, UInt32 *blockSize);
383 extern OSStatus SetFileBlockSize (SFCB *file, ByteCount blockSize);
H A Dhfs_endian.c163 src->blockSize = SWAP_BE32 (src->blockSize);
249 srcOffs = (UInt16 *)((char *)src->buffer + (src->blockSize - ((srcDesc->numRecords + 1) * sizeof (UInt16))));
254 if ((char *)srcOffs > ((char *)src->buffer + src->blockSize) ||
274 if ((srcOffs[i] & 1) || (srcOffs[i] < sizeof(BTNodeDescriptor) && srcOffs[i] != 0) || (srcOffs[i] >= src->blockSize)) {
374 srcOffs = (UInt16 *)((char *)src->buffer + (src->blockSize - ((srcDesc->numRecords + 1) * sizeof (UInt16))));
379 if ((char *)srcOffs > ((char *)src->buffer + src->blockSize) ||
397 if ((srcOffs[i] & 1) || (srcOffs[i] < sizeof(BTNodeDescriptor) && srcOffs[i] != 0) || (srcOffs[i] >= src->blockSize)) {
426 HexDump(src->buffer, src->blockSize, TRUE);
440 UInt16 *srcOffs = (UInt16 *)((char *)src->buffer + (src->blockSize
[all...]
/macosx-10.10.1/hfs-285/newfs_hfs/
H A Dnewfs_hfs.h215 uint32_t blockSize; member in struct:hfsparams
H A Dhfs_endian.c132 src->blockSize = SWAP_BE32 (src->blockSize);
H A Dnewfs_hfs.c88 static UInt32 CalcHFSPlusBTreeClumpSize __P((UInt32 blockSize, UInt32 nodeSize, UInt64 sectors, int fileID));
953 defaults->blockSize = gBlockSize;
1080 if (defaults->journalSize < defaults->blockSize) {
1081 defaults->journalSize = defaults->blockSize;
1182 /* Round up to a multiple of blockSize */
1219 printf("\tblock-size: %u\n", defaults->blockSize);
1317 CalcHFSPlusBTreeClumpSize(UInt32 blockSize, UInt32 nodeSize, UInt64 sectors, int fileID) argument
1319 UInt32 mod = MAX(nodeSize, blockSize);
/macosx-10.10.1/tcl-105/tcl/tcl/unix/
H A DtclUnixFCmd.c519 unsigned blockSize; /* Optimal I/O blocksize for filesystem */
547 blockSize = statBufPtr->st_blksize;
553 blockSize = fs.f_bsize;
555 blockSize = 4096;
559 blockSize = 4096;
570 if (blockSize <= 0) {
571 blockSize = 4096;
573 buffer = ckalloc(blockSize);
575 nread = (size_t) read(srcFd, buffer, blockSize);
516 unsigned blockSize; /* Optimal I/O blocksize for filesystem */ local
/macosx-10.10.1/tcl-105/tcl84/tcl/unix/
H A DtclUnixFCmd.c499 unsigned blockSize; /* Optimal I/O blocksize for filesystem */
515 blockSize = statBufPtr->st_blksize;
521 blockSize = fs.f_bsize;
523 blockSize = 4096;
527 blockSize = 4096;
538 if (blockSize <= 0) {
539 blockSize = 4096;
541 buffer = ckalloc(blockSize);
543 nread = read(srcFd, buffer, blockSize);
496 unsigned blockSize; /* Optimal I/O blocksize for filesystem */ local
/macosx-10.10.1/tcl-105/tcl_ext/tdom/tdom/generic/
H A Ddomalloc.c183 int i, j, slots, bitmaps, blockSize; local
233 blockSize = sizeof(domAllocBlock) + bitmaps*4 + slots*size;
235 block = (domAllocBlock *)malloc( blockSize );
237 block->end = (char*)block + blockSize;
/macosx-10.10.1/hfs-285/hfs_util/
H A Dhfsutil_main.c223 static int GetBTreeNodeInfo(int fd, off_t hfsPlusVolumeOffset, u_int32_t blockSize,
228 static int LogicalToPhysical(off_t logicalOffset, ssize_t length, u_int32_t blockSize,
232 off_t volOffset, u_int32_t blockSize,
1810 u_int32_t blockSize; local
1848 blockSize = OSSwapBigToHostInt32(volHdrPtr->blockSize);
1866 result = GetBTreeNodeInfo(fd, hfsPlusVolumeOffset, blockSize,
1883 hfsPlusVolumeOffset, blockSize,
1989 GetBTreeNodeInfo(int fd, off_t hfsPlusVolumeOffset, u_int32_t blockSize, argument
2003 hfsPlusVolumeOffset, blockSize,
2051 u_int32_t blockSize; local
2167 LogicalToPhysical(off_t offset, ssize_t length, u_int32_t blockSize, u_int32_t extentCount, const HFSPlusExtentDescriptor *extentList, off_t *physicalOffset, ssize_t *availableBytes) argument
2238 ReadFile(int fd, void *buffer, off_t offset, ssize_t length, off_t volOffset, u_int32_t blockSize, u_int32_t extentCount, const HFSPlusExtentDescriptor *extentList) argument
[all...]
/macosx-10.10.1/msdosfs-209.1.1/userfs_plugin/
H A Dmsdosfs.c410 size_t blockSize = FAT_BLOCK_SIZE; local
412 if (blockOffset + blockSize > v->fatSize)
413 blockSize = (size_t)(v->fatSize - blockOffset);
415 return blockSize;
459 size_t blockSize = fat_block_size(v, blockOffset); local
464 err = cache_get_buffer(v->device, v->fatOffset+blockOffset, blockSize, &buffer);
472 assert(buffer_size(buffer) == blockSize);
487 blockOffset += blockSize;
488 blockSize = fat_block_size(v, blockOffset);
490 err = cache_get_buffer(v->device, v->fatOffset+blockOffset, blockSize,
544 size_t blockSize; // Size in bytes of FAT block containing cluster's entry local
1748 size_t blockSize = fat_block_size(v, 0); local
2014 size_t blockSize; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/headers/
H A DBTreesInternal.h68 <HFS5> 2/19/97 djb Add SetBlockSizeProcPtr. Add blockSize field to BlockDescriptor.
123 ByteCount blockSize; member in struct:BlockDescriptor
187 ByteCount blockSize,
/macosx-10.10.1/apr-32/apr-util/apr-util/test/
H A Dtestcrypto.c150 apr_size_t *blockSize, const char *description)
163 rv = apr_crypto_block_encrypt_init(&block, iv, key, blockSize, pool);
230 apr_size_t *blockSize, const char *description)
243 rv = apr_crypto_block_decrypt_init(&block, blockSize, iv, key, pool);
333 apr_size_t blockSize = 0; local
341 &cipherText, &cipherTextLen, &iv, &blockSize, description);
343 cipherTextLen, &plainText, &plainTextLen, iv, &blockSize,
145 encrypt_block(abts_case *tc, apr_pool_t *pool, const apr_crypto_driver_t *driver, const apr_crypto_t *f, const apr_crypto_key_t *key, const unsigned char *in, const apr_size_t inlen, unsigned char **cipherText, apr_size_t *cipherTextLen, const unsigned char **iv, apr_size_t *blockSize, const char *description) argument
225 decrypt_block(abts_case *tc, apr_pool_t *pool, const apr_crypto_driver_t *driver, const apr_crypto_t *f, const apr_crypto_key_t *key, unsigned char *cipherText, apr_size_t cipherTextLen, unsigned char **plainText, apr_size_t *plainTextLen, const unsigned char *iv, apr_size_t *blockSize, const char *description) argument
/macosx-10.10.1/hfs-285/fsck_hfs/
H A Dcache.c151 uint32_t blockSize = DefaultCacheBlockSize; local
174 if (cacheSize % blockSize) {
176 printf ("\tCache size should be multiple of cache block size (currently %uK)\n", blockSize/1024);
178 cacheSize = (cacheSize / blockSize) * blockSize;
181 *calcBlockSize = blockSize;
182 *calcTotalBlocks = cacheSize / blockSize;
376 printf("%s(%d): Looking up cache block %llu for offset %llu, cache blockSize %u\n", __FUNCTION__, __LINE__, cblk, off, cache->BlockSize);
/macosx-10.10.1/pdisk-9/
H A DSCSI_media.c130 int DoReadCapacity(UInt32 id, UInt32 bus, UInt32 *blockCount, UInt32 *blockSize);
291 UInt32 blockSize; local
303 if (DoReadCapacity(device, bus, &blockCount, &blockSize) != 0) {
307 a->m.grain = blockSize;
308 a->m.size_in_bytes = ((long long)blockCount) * blockSize;
576 DoReadCapacity(UInt32 id, UInt32 bus, UInt32 *blockCount, UInt32 *blockSize) argument
619 *blockSize = temp;
/macosx-10.10.1/apache-793/httpd/modules/session/
H A Dmod_session_crypto.c133 apr_size_t blockSize = 0; local
178 res = apr_crypto_block_encrypt_init(&block, &iv, key, &blockSize, r->pool);
235 apr_size_t blockSize = 0; local
293 res = apr_crypto_block_decrypt_init(&block, &blockSize, (unsigned char *)slider, key,

Completed in 687 milliseconds

1234567