Searched refs:RT_ALIGN_Z (Results 1 - 25 of 106) sorted by relevance

12345

/vbox/src/VBox/VMM/testcase/
H A DtstHelp.h88 if (RT_ALIGN_Z(sizeof(type), (align)) != sizeof(type)) \
95 (unsigned)RT_ALIGN_Z(sizeof(type), align) - (unsigned)sizeof(type), \
96 (unsigned)RT_ALIGN_Z(sizeof(type), align) - (unsigned)sizeof(type)); \
111 (int)sizeof(p->member.padding), (int)sizeof(p->member.s), (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
114 else if (RT_ALIGN_Z(sizeof(p->member.padding), (align)) != sizeof(p->member.padding)) \
117 (int)sizeof(p->member.padding), (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
132 (int)sizeof(p->padding), (int)sizeof(p->s), (int)RT_ALIGN_Z(sizeof(p->s), 64)); \
H A DtstVMStructSize.cpp87 (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
101 (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
125 (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
138 (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
151 (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
164 (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-default-allocator.cpp47 return RT_ALIGN_Z(cb, 64);
49 return RT_ALIGN_Z(cb, 32);
51 return RT_ALIGN_Z(cb, 16);
/vbox/src/VBox/Runtime/r3/win/
H A Dalloc-win.cpp52 cb = RT_ALIGN_Z(cb, 32);
60 cbProt = RT_ALIGN_Z(cbProt, PAGE_SIZE);
83 void *pv = VirtualAlloc(NULL, RT_ALIGN_Z(cb, PAGE_SIZE), MEM_COMMIT, PAGE_READWRITE);
85 void *pv = _aligned_malloc(RT_ALIGN_Z(cb, PAGE_SIZE), PAGE_SIZE);
95 void *pv = VirtualAlloc(NULL, RT_ALIGN_Z(cb, PAGE_SIZE), MEM_COMMIT, PAGE_READWRITE);
97 void *pv = _aligned_malloc(RT_ALIGN_Z(cb, PAGE_SIZE), PAGE_SIZE);
101 memset(pv, 0, RT_ALIGN_Z(cb, PAGE_SIZE));
H A Dallocex-win.cpp81 cbAlloc = RT_ALIGN_Z(cbAlloc, PAGE_SIZE);
91 cbAlloc = RT_ALIGN_Z(cbAlloc, PAGE_SIZE);
/vbox/src/VBox/Devices/testcase/
H A DtstDeviceStructSize.cpp178 if (RT_ALIGN_Z(sizeof(type), (align)) != sizeof(type)) \
185 (unsigned)RT_ALIGN_Z(sizeof(type), align) - (unsigned)sizeof(type), \
186 (unsigned)RT_ALIGN_Z(sizeof(type), align) - (unsigned)sizeof(type)); \
201 (int)sizeof(p->member.padding), (int)sizeof(p->member.s), (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
204 else if (RT_ALIGN_Z(sizeof(p->member.padding), (align)) != sizeof(p->member.padding)) \
207 (int)sizeof(p->member.padding), (int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
222 (int)sizeof(p->padding), (int)sizeof(p->s), (int)RT_ALIGN_Z(sizeof(p->s), 32)); \
/vbox/src/VBox/Runtime/common/err/
H A Derrinfo-alloc.cpp53 cbMsg = RT_ALIGN_Z(cbMsg, 256);
/vbox/src/VBox/Runtime/generic/
H A Dmemsafer-generic.cpp72 cb = RT_ALIGN_Z(cb, RTMEMSAFER_ALIGN);
92 cb = RT_ALIGN_Z(cb, RTMEMSAFER_ALIGN);
120 size_t cbUser = RT_ALIGN_Z(cb, RTMEMSAFER_ALIGN);
153 RTMemWipeThoroughly(pv, RT_ALIGN_Z(cb, RTMEMSAFER_ALIGN), 3);
/vbox/src/VBox/Runtime/r3/posix/
H A Drtmempage-exec-mmap-posix.cpp64 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
101 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
/vbox/src/VBox/Runtime/r3/
H A Dalloc-ef.cpp61 # define RTMEM_REPLACMENT_ALIGN(a_cb) ((a_cb) >= 16 ? RT_ALIGN_Z(a_cb, 16) \
62 : (a_cb) >= sizeof(uintptr_t) ? RT_ALIGN_Z(a_cb, sizeof(uintptr_t)) : (a_cb))
269 size_t cbBlock = RT_ALIGN_Z(pBlock->cbAligned, PAGE_SIZE) + RTALLOC_EFENCE_SIZE;
305 g_cbBlocksDelay -= RT_ALIGN_Z(pBlock->cbAligned, PAGE_SIZE) + RTALLOC_EFENCE_SIZE;
555 if ( RT_ALIGN_Z(RTALLOC_EFENCE_SIZE, PAGE_SIZE) != RTALLOC_EFENCE_SIZE
575 cbAligned = RT_ALIGN_Z(cbAligned, RTALLOC_EFENCE_ALIGNMENT);
593 size_t cbBlock = RT_ALIGN_Z(cbAligned, PAGE_SIZE) + RTALLOC_EFENCE_SIZE;
684 RT_ALIGN_Z(pBlock->cbAligned, PAGE_SIZE) - pBlock->cbUnaligned,
694 RT_ALIGN_Z(pBlock->cbAligned, PAGE_SIZE) - pBlock->cbAligned,
728 size_t cbBlock = RT_ALIGN_Z(pBloc
[all...]
H A Dallocex.cpp59 cbAligned = RT_ALIGN_Z(cb, cbAlignment);
61 cbAligned = RT_ALIGN_Z(cb, sizeof(uint64_t));
H A Dalloc.cpp157 cbAligned = RT_ALIGN_Z(cbUnaligned, 16);
159 cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *));
173 cbAligned = RT_ALIGN_Z(cbUnaligned, 16);
175 cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *));
/vbox/src/VBox/Runtime/common/string/
H A Dministring.cpp79 size_t cbAlloc = RT_ALIGN_Z(pThis->m_cbAllocated, IPRT_MINISTRING_APPEND_ALIGNMENT);
82 cbAlloc = RT_ALIGN_Z(cchBoth + 1, IPRT_MINISTRING_APPEND_ALIGNMENT);
113 reserve(RT_ALIGN_Z(cchBoth + 1, IPRT_MINISTRING_APPEND_ALIGNMENT));
137 reserve(RT_ALIGN_Z(cchBoth + 1, IPRT_MINISTRING_APPEND_ALIGNMENT));
159 reserve(RT_ALIGN_Z(m_cch + 2, IPRT_MINISTRING_APPEND_ALIGNMENT));
188 reserve(RT_ALIGN_Z(m_cch + 6 + 1, IPRT_MINISTRING_APPEND_ALIGNMENT));
H A Dstraprintf.cpp101 cbAdded = RT_ALIGN_Z(cbChars, _4K);
/vbox/src/VBox/Runtime/r0drv/darwin/
H A Dalloc-r0drv-darwin.cpp138 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
168 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
/vbox/src/VBox/Runtime/r0drv/haiku/
H A Dalloc-r0drv-haiku.c89 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
/vbox/src/VBox/Runtime/r0drv/nt/
H A Dalloc-r0drv-nt.cpp95 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
/vbox/src/VBox/Runtime/r0drv/os2/
H A Dalloc-r0drv-os2.cpp84 cb = RT_ALIGN_Z(cb, PAGE_SIZE); /* -> page aligned result. */
/vbox/src/VBox/Runtime/r0drv/
H A Dmemobj-r0drv.cpp66 AssertMsg(RT_ALIGN_Z(cb, PAGE_SIZE) == cb, ("%#zx\n", cb));
249 AssertMsg(RT_ALIGN_Z(pMem->cb, PAGE_SIZE) == pMem->cb, ("%#zx\n", pMem->cb));
423 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
439 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
455 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
472 const size_t cbAligned = RT_ALIGN_Z(cb + (R3Ptr & PAGE_OFFSET_MASK), PAGE_SIZE);
493 const size_t cbAligned = RT_ALIGN_Z(cb + ((uintptr_t)pv & PAGE_OFFSET_MASK), PAGE_SIZE);
513 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
530 const size_t cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
560 const size_t cbAligned = RT_ALIGN_Z(c
[all...]
H A Dalloc-r0drv.cpp160 cbAligned = RT_ALIGN_Z(cbUnaligned, 16);
162 cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *));
172 cbAligned = RT_ALIGN_Z(cbUnaligned, 16);
174 cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *));
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPR3HardenedNoCrt-win.cpp306 cbAligned = RT_ALIGN_Z(cbUnaligned, 16);
308 cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *));
317 cbAligned = RT_ALIGN_Z(cbUnaligned, 16);
319 cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *));
/vbox/src/VBox/HostDrivers/Support/testcase/
H A DtstPin.cpp139 pv = SUPR3ContAlloc(RT_ALIGN_Z(15003, PAGE_SIZE) >> PAGE_SHIFT, NIL_RTR0PTR, &HCPhys);
146 pv = SUPR3ContAlloc(RT_ALIGN_Z(12999, PAGE_SIZE) >> PAGE_SHIFT, NIL_RTR0PTR, &HCPhys);
152 rc = SUPR3ContFree(pv, RT_ALIGN_Z(12999, PAGE_SIZE) >> PAGE_SHIFT);
/vbox/src/VBox/Runtime/common/log/
H A Dtracebuf.cpp301 + RT_ALIGN_Z(sizeof(RTTRACEBUFINT), RTTRACEBUF_ALIGNMENT)
302 + RT_ALIGN_Z(sizeof(RTTRACEBUFVOLATILE), RTTRACEBUF_ALIGNMENT);
338 size_t const cbHdr = RT_ALIGN_Z(sizeof(RTTRACEBUFINT), RTTRACEBUF_ALIGNMENT)
339 + RT_ALIGN_Z(sizeof(RTTRACEBUFVOLATILE), RTTRACEBUF_ALIGNMENT);
383 + RT_ALIGN_Z(sizeof(RTTRACEBUFVOLATILE), RTTRACEBUF_ALIGNMENT)
402 pThis->offEntries = offVolatile + RT_ALIGN_Z(sizeof(RTTRACEBUFVOLATILE), RTTRACEBUF_ALIGNMENT);
/vbox/src/VBox/Runtime/r0drv/linux/
H A Dalloc-r0drv-linux.c162 size_t const cbAlloc = RT_ALIGN_Z(sizeof(RTMEMLNXHDREX) + cb, PAGE_SIZE);
396 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
465 cb = RT_ALIGN_Z(cb, PAGE_SIZE);
/vbox/src/VBox/Additions/solaris/Virtio/
H A DVirtioRing-solaris.c59 size_t cbAlign = RT_ALIGN_Z(cb, Align);

Completed in 2943 milliseconds

12345