Searched refs:BlockSize (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-11-stable/sys/dev/pms/RefTisa/tisa/sassata/sas/tgt/
H A Dttdtypes.h44 bit32 BlockSize; member in struct:ttdssOperatingOption_s
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/
H A DMSFCommon.h36 support::ulittle32_t BlockSize; member in struct:llvm::msf::SuperBlock
40 // practice, NumBlocks * BlockSize is equivalent to the size of the MSF
108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { argument
109 return divideCeil(NumBytes, BlockSize);
112 inline uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) { argument
113 return BlockNumber * BlockSize;
117 return L.SB->BlockSize;
122 /// \p BlockSize - the block size of the MSF
132 inline uint32_t getNumFpmIntervals(uint32_t BlockSize, uint32_t NumBlocks, argument
137 // BlockSize *
[all...]
H A DMappedBlockStream.h44 createStream(uint32_t BlockSize, const MSFStreamLayout &Layout,
74 uint32_t getBlockSize() const { return BlockSize; }
79 MappedBlockStream(uint32_t BlockSize, const MSFStreamLayout &StreamLayout,
90 const uint32_t BlockSize; member in class:llvm::msf::MappedBlockStream
110 createStream(uint32_t BlockSize, const MSFStreamLayout &Layout,
149 WritableMappedBlockStream(uint32_t BlockSize,
H A DMSFBuilder.h30 /// \param BlockSize The internal block size used by the PDB file. See
57 uint32_t BlockSize,
121 MSFBuilder(uint32_t BlockSize, uint32_t MinBlockCount, bool CanGrow,
134 uint32_t BlockSize; member in class:llvm::msf::MSFBuilder
/freebsd-11-stable/sbin/dump/
H A Dcache.c48 static int BlockSize; variable
59 if ((BlockSize = sblock->fs_bsize * BLKFACTOR) > MAXBSIZE)
60 BlockSize = MAXBSIZE;
61 NBlocks = cachesize / BlockSize;
65 NBlocks * BlockSize / (1024 * 1024), BlockSize);
69 DataBase = mmap(NULL, NBlocks * BlockSize,
72 base[i].b_Data = DataBase + i * BlockSize;
106 mask = ~(off_t)(BlockSize - 1);
107 if (nbytes >= BlockSize ||
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMSFCommon.cpp25 if (!isValidBlockSize(SB.BlockSize))
37 bytesToBlocks(SB.NumDirectoryBytes, SB.BlockSize);
42 if (NumDirectoryBlocks > SB.BlockSize / sizeof(support::ulittle32_t))
77 FL.Length = NumFpmIntervals * Msf.SB->BlockSize;
H A DMappedBlockStream.cpp45 MappedBlockStream::MappedBlockStream(uint32_t BlockSize, argument
49 : BlockSize(BlockSize), StreamLayout(Layout), MsfData(MsfData),
53 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData,
56 BlockSize, Layout, MsfData, Allocator);
67 Layout.SB->BlockSize, SL, MsfData, Allocator);
77 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator);
85 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator);
172 uint32_t First = Offset / BlockSize;
181 uint32_t OffsetInFirstBlock = Offset % BlockSize;
52 createStream( uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, BumpPtrAllocator &Allocator) argument
310 WritableMappedBlockStream( uint32_t BlockSize, const MSFStreamLayout &Layout, WritableBinaryStreamRef MsfData, BumpPtrAllocator &Allocator) argument
317 createStream(uint32_t BlockSize, const MSFStreamLayout &Layout, WritableBinaryStreamRef MsfData, BumpPtrAllocator &Allocator) argument
[all...]
H A DMSFBuilder.cpp38 MSFBuilder::MSFBuilder(uint32_t BlockSize, uint32_t MinBlockCount, bool CanGrow, argument
41 FreePageMap(kDefaultFreePageMap), BlockSize(BlockSize),
50 uint32_t BlockSize,
52 if (!isValidBlockSize(BlockSize))
56 return MSFBuilder(BlockSize,
114 uint32_t NextFpmBlock = alignTo(OldBlockCount, BlockSize) + 1;
127 NextFpmBlock += BlockSize;
159 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize);
182 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize);
49 create(BumpPtrAllocator &Allocator, uint32_t BlockSize, uint32_t MinBlockCount, bool CanGrow) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Drelease.h153 uptr AllocatedPagesCount, uptr BlockSize,
161 if (BlockSize <= PageSize) {
162 if (PageSize % BlockSize == 0) {
164 FullPagesBlockCountMax = PageSize / BlockSize;
166 } else if (BlockSize % (PageSize % BlockSize) == 0) {
170 FullPagesBlockCountMax = PageSize / BlockSize + 1;
175 FullPagesBlockCountMax = PageSize / BlockSize + 2;
179 if (BlockSize % PageSize == 0) {
200 if (BlockSize <
152 releaseFreeMemoryToOS(const IntrusiveList<TransferBatchT> &FreeList, uptr Base, uptr AllocatedPagesCount, uptr BlockSize, ReleaseRecorderT *Recorder) argument
[all...]
H A Dprimary32.h151 const uptr BlockSize = getSizeByClassId(PossibleRegions[I]); local
153 const uptr To = From + (RegionSize / BlockSize) * BlockSize;
154 for (uptr Block = From; Block < To; Block += BlockSize)
364 const uptr BlockSize = getSizeByClassId(ClassId); local
370 (Sci->Stats.PoppedBlocks - Sci->Stats.PushedBlocks) * BlockSize;
374 BlockSize <
398 RegionSize / PageSize, BlockSize, &Recorder);
H A Dprimary64.h151 const uptr BlockSize = getSizeByClassId(I); local
154 for (uptr Block = From; Block < To; Block += BlockSize)
365 const uptr BlockSize = getSizeByClassId(ClassId); local
371 (Region->Stats.PoppedBlocks - Region->Stats.PushedBlocks) * BlockSize;
376 BlockSize <
395 BlockSize, &Recorder);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp33 if (BlockHeader->BlockSize < sizeof(LineBlockFragmentHeader))
36 uint32_t Size = BlockHeader->BlockSize - sizeof(LineBlockFragmentHeader);
40 // The value recorded in BlockHeader->BlockSize includes the size of
42 Len = BlockHeader->BlockSize;
118 BlockHeader.BlockSize = sizeof(LineBlockFragmentHeader);
119 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(LineNumberEntry);
121 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(ColumnNumberEntry);
/freebsd-11-stable/stand/efi/libefi/
H A Defipart.c325 * BlockSize 1.
327 if (blkio->Media->BlockSize < 512 ||
328 !powerof2(blkio->Media->BlockSize)) {
799 printf(" X %u", blkio->Media->BlockSize);
818 ret = disk_open(&pd_dev, blkio->Media->BlockSize *
820 blkio->Media->BlockSize);
894 blkio->Media->BlockSize * (blkio->Media->LastBlock + 1),
895 blkio->Media->BlockSize);
957 *(u_int *)data = pd->pd_blkio->Media->BlockSize;
960 *(uint64_t *)data = pd->pd_blkio->Media->BlockSize *
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DTarWriter.cpp33 static const int BlockSize = 512; variable
54 static_assert(sizeof(UstarHeader) == BlockSize, "invalid Ustar header"); variable
84 OS.seek(alignTo(Pos, BlockSize));
197 OS << std::string(BlockSize * 2, '\0');
/freebsd-11-stable/stand/efi/boot1/
H A Dzfs_module.c48 return (devinfo->dev->Media->BlockSize *
62 lba = off / devinfo->dev->Media->BlockSize;
63 remainder = off % devinfo->dev->Media->BlockSize;
70 * Since buffer must be multiple of the BlockSize, round it all up.
72 size = roundup2(bytes + remainder, devinfo->dev->Media->BlockSize);
75 rb_size = devinfo->dev->Media->BlockSize;
H A Dufs_module.c57 lba = lba / (devinfo->dev->Media->BlockSize / DEV_BSIZE);
115 bs = devinfo->dev->Media->BlockSize;
/freebsd-11-stable/stand/efi/include/
H A Defifs.h43 UINT32 BlockSize; member in struct:_EFI_PARTITION_HEADER
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp54 uint32_t PDBFile::getBlockSize() const { return ContainerLayout.SB->BlockSize; }
76 ContainerLayout.SB->BlockSize);
81 ContainerLayout.SB->BlockSize;
134 if (Buffer->getLength() % SB->BlockSize != 0)
206 : msf::bytesToBlocks(StreamSize, ContainerLayout.SB->BlockSize);
219 (uint64_t)(Block + 1) * ContainerLayout.SB->BlockSize;
H A DPDBFileBuilder.cpp41 Error PDBFileBuilder::initialize(uint32_t BlockSize) { argument
42 auto ExpectedMsf = MSFBuilder::create(Allocator, BlockSize);
325 blockToOffset(InfoStreamBlocks.front(), Layout.SB->BlockSize);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DPDBFileBuilder.h45 Error initialize(uint32_t BlockSize);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp136 unsigned BlockSize = 0; local
138 BlockSize += TII->getInstSizeInBytes(MI);
143 BlockSizes[MBB->getNumber()].first = BlockSize;
144 FuncSize += BlockSize;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DExplainOutputStyle.cpp156 else if (pdbBlockOffset() < endof(SuperBlock, BlockSize)) {
159 uint32_t(File.pdb().getMsfLayout().SB->BlockSize));
232 uint64_t FileOffset, uint32_t BlockSize) {
233 uint32_t BlockIndex = FileOffset / BlockSize;
234 uint32_t OffsetInBlock = FileOffset - BlockIndex * BlockSize;
239 return StreamBlockIndex * BlockSize + OffsetInBlock;
231 getOffsetInStream(ArrayRef<support::ulittle32_t> StreamBlocks, uint64_t FileOffset, uint32_t BlockSize) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugLinesSubsection.h45 support::ulittle32_t BlockSize; // Code size of block, in bytes. member in struct:llvm::codeview::LineBlockFragmentHeader
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpFrame.cpp170 size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize(); local
171 auto Memory = std::make_unique<char[]>(BlockSize);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp734 unsigned BlockSize = VF; local
735 for (unsigned I = 0; I < R; I += BlockSize) {
737 while (I + BlockSize > R)
738 BlockSize /= 2;
742 Value *L = extractVector(Lhs, I, K, BlockSize, Builder);
744 Value *Splat = Builder.CreateVectorSplat(BlockSize, RH, "splat");

Completed in 209 milliseconds

123