/vbox/src/VBox/Runtime/common/crypto/ |
H A D | spc-core.cpp | 43 pThis->pData = (PCRTCRSPCPEIMAGEPAGEHASHES)pThis->RawData.Asn1Core.uData.pv; 68 PCRTCRSPCSERIALIZEDOBJECTATTRIBUTES pData = pThis->Data.uValue.pPeImage->T0.File.u.pMoniker->u.pData; local 69 if (pData) 70 for (uint32_t i = 0; i < pData->cItems; i++) 71 if (pData->paItems[i].enmType == enmType) 72 return &pData->paItems[i];
|
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | tcp_timer.c | 59 static struct tcpcb *tcp_timers(PNATState pData, register struct tcpcb *tp, int timer); 64 tcp_fasttimo(PNATState pData) argument 81 TCP_OUTPUT(pData, tp); 93 tcp_slowtimo(PNATState pData) 117 tcp_timers(pData, tp, i); 158 tcp_timers(PNATState pData, register struct tcpcb *tp, int timer) 168 tp = tcp_drop(pData, tp, 0); 185 tp = tcp_close(pData, tp); 194 STAM_COUNTER_INC(&pData->StatTCP_retransmit); 223 tp = tcp_drop(pData, t [all...] |
H A D | debug.c | 110 ipstats(PNATState pData) argument 134 tcpstats(PNATState pData) argument 201 udpstats(PNATState pData) argument 215 icmpstats(PNATState pData) argument 228 mbufstats(PNATState pData) argument 234 NOREF(pData); 238 sockstats(PNATState pData) argument 286 PNATState pData = (PNATState)pvUser; 292 Assert(pData); 633 debug_init(PNATState pData) [all...] |
H A D | ip_input.c | 74 ip_init(PNATState pData) argument 83 udp_init(pData); 84 tcp_init(pData); 92 ip_input(PNATState pData, struct mbuf *m) argument 98 STAM_PROFILE_START(&pData->StatIP_input, a); 109 STAM_PROFILE_START(&pData->StatALIAS_input, b); 110 rc = LibAliasIn(pData->proxy_alias, mtod(m, char *), m_length(m, NULL)); 111 STAM_PROFILE_STOP(&pData->StatALIAS_input, b); 191 icmp_error(pData, m, ICMP_TIMXCEED, ICMP_TIMXCEED_INTRANS, 0, "ttl"); 218 m = ip_reass(pData, 260 ip_reass(PNATState pData, struct mbuf* m) argument 562 ip_freef(PNATState pData, struct ipqhead *fhp, struct ipq_t *fp) argument 583 ip_slowtimo(PNATState pData) argument [all...] |
H A D | ip_output.c | 72 static int rt_lookup_in_cache(PNATState pData, uint32_t dst, uint8_t *ether) argument 83 rc = slirp_arp_lookup_ether_by_ip(pData, dst, ether); 90 rc = bootp_cache_lookup_ether_by_ip(pData, dst, ether); 99 slirp_arp_who_has(pData, dst); 111 ip_output(PNATState pData, struct socket *so, struct mbuf *m0) argument 113 return ip_output0(pData, so, m0, 0); 118 ip_output0(PNATState pData, struct socket *so, struct mbuf *m0, int urg) argument 128 STAM_PROFILE_START(&pData->StatIP_output, a); 160 rc = rt_lookup_in_cache(pData, ip->ip_dst.s_addr, eth_dst); 177 STAM_PROFILE_START(&pData [all...] |
H A D | sbuf.c | 73 sbreserve(PNATState pData, struct sbuf *sb, int size) argument 75 NOREF(pData); 109 sbappend(PNATState pData, struct socket *so, struct mbuf *m) argument 114 STAM_PROFILE_START(&pData->StatIOSBAppend_pf, a); 117 STAM_COUNTER_INC(&pData->StatIOSBAppend); 122 STAM_COUNTER_INC(&pData->StatIOSBAppend_zm); 133 sbappendsb(pData, &so->so_rcv, m); 134 m_freem(pData, m); 169 STAM_COUNTER_INC(&pData->StatIOSBAppend_wf); 176 sbappendsb(pData, 204 sbappendsb(PNATState pData, struct sbuf *sb, struct mbuf *m) argument [all...] |
H A D | slirp_dns.c | 33 static int get_dns_addr_domain(PNATState pData, argument 50 ret = pData->pfGetAdaptersAddresses(AF_INET, 0, NULL /* reserved */, pAdapterAddr, &size); 68 ret = pData->pfGetAdaptersAddresses(AF_INET, 0, NULL /* reserved */, pAdapterAddr, &size); 104 pDns->de_addr.s_addr = RT_H2N_U32(RT_N2H_U32(pData->special_addr.s_addr) | CTL_ALIAS); 108 TAILQ_INSERT_HEAD(&pData->pDnsList, pDns, de_list); 122 LIST_FOREACH(pDomain, &pData->pDomainList, dd_list) 144 LIST_INSERT_HEAD(&pData->pDomainList, pDomain, dd_list); 156 static int get_dns_addr_domain(PNATState pData, const char **ppszDomain) argument 191 address->IPv4.u = RT_H2N_U32(RT_N2H_U32(pData->special_addr.s_addr) | CTL_ALIAS); 192 else if (pData 232 slirpInitializeDnsSettings(PNATState pData) argument 278 slirpReleaseDnsSettings(PNATState pData) argument [all...] |
H A D | tcp_output.c | 92 tcp_output(PNATState pData, register struct tcpcb *tp) argument 323 mss = RT_H2N_U16((u_int16_t) tcp_mss(pData, tp, 0)); 405 m = m_getjcl(pData, M_NOWAIT, MT_HEADER, M_PKTHDR, size); 476 m = m_getjcl(pData, M_NOWAIT, MT_HEADER, M_PKTHDR, size); 667 error = ip_output(pData, so, m); 695 m_freem(pData, m);
|
H A D | zone.h | 34 PNATState pData; /* to minimize changes in the rest of UMA emulation code */ member in struct:uma_zone
|
H A D | tcp_subr.c | 71 tcp_init(PNATState pData) argument 125 tcp_respond(PNATState pData, struct tcpcb *tp, struct tcpiphdr *ti, struct mbuf *m, tcp_seq ack, tcp_seq seq, int flags) argument 134 if ((m = m_gethdr(pData, M_DONTWAIT, MT_HEADER)) == NULL) 189 (void) ip_output(pData, (struct socket *)0, m); 198 tcp_newtcpcb(PNATState pData, struct socket *so) argument 239 struct tcpcb *tcp_drop(PNATState pData, struct tcpcb *tp, int err) argument 259 (void) tcp_output(pData, tp); 270 return (tcp_close(pData, tp)); 280 tcp_close(PNATState pData, register struct tcpcb *tp) argument 291 m_freem(pData, t 355 tcp_sockclosed(PNATState pData, struct tcpcb *tp) argument 404 tcp_fconnect(PNATState pData, struct socket *so) argument 466 tcp_connect(PNATState pData, struct socket *inso) argument 600 tcp_attach(PNATState pData, struct socket *so) argument [all...] |
/vbox/src/VBox/Devices/Network/slirp/dnsproxy/ |
H A D | hash.c | 37 hash_add_request(PNATState pData, struct request *req) argument 53 hash_remove_request(PNATState pData, struct request *req) argument 65 hash_find_request(PNATState pData, unsigned short id) argument
|
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/ |
H A D | recvfrom.c | 59 UINT8 * pData; local 137 pData = (UINT8 *)buffer; 159 pData, 169 pData += LengthInBytes;
|
H A D | sendto.c | 59 CONST UINT8 * pData; local 84 pData = buffer; 90 pData, 103 pData += LengthInBytes;
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTR0Thread.cpp | 58 PTSTRTR0THREADDATA pData = (PTSTRTR0THREADDATA)pvUser; local 59 if (RT_LIKELY(pData)) 61 if (pData->uMagic == TSTRTR0THREADDATA_MAGIC) 62 pData->uMagic = ~pData->uMagic; 63 if (pData->cCounter == 127) 64 pData->cCounter = 196;
|
H A D | tstRTSort.cpp | 51 TSTRTSORTAPV *pData = (TSTRTSORTAPV *)pvUser; local 54 RTTESTI_CHECK(VALID_PTR(pData) && pData->cElements <= RT_ELEMENTS(pData->aValues)); 55 RTTESTI_CHECK((uintptr_t)(pu32Element1 - &pData->aValues[0]) < pData->cElements); 56 RTTESTI_CHECK((uintptr_t)(pu32Element2 - &pData->aValues[0]) < pData->cElements);
|
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | systemmem-solaris.cpp | 113 kstat_named_t *pData = (kstat_named_t *)kstat_data_lookup(g_pUnixSysPages, (char *)"physmem"); local 114 if (pData) 115 *pcb = (uint64_t)pData->value.ul * PAGE_SIZE; 140 kstat_named_t *pData = (kstat_named_t *)kstat_data_lookup(g_pUnixSysPages, (char *)"freemem"); local 141 if (pData) 143 *pcb = (uint64_t)pData->value.ul * PAGE_SIZE;
|
/vbox/src/VBox/Additions/WINNT/Mouse/NT5/ |
H A D | VBoxMFDriver.cpp | 193 PINTERNAL_MOUSE_CONNECT_DATA pData = (PINTERNAL_MOUSE_CONNECT_DATA) pStack->Parameters.DeviceIoControl.Type3InputBuffer; local 195 pDevExt->OriginalConnectData = *pData; 196 pData->pDO = pDevExt->pdoSelf; 197 pData->pfnServiceCB = VBoxServiceCB;
|
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | HGCM.cpp | 132 DECLVBGL(int) VbglHGCMConnect (VBGLHGCMHANDLE *pHandle, VBoxGuestHGCMConnectInfo *pData) argument 137 if (!pHandle || !pData) 148 rc = vbglDriverIOCtl (&pHandleData->driver, VBOXGUEST_IOCTL_HGCM_CONNECT, pData, sizeof (*pData)); 150 rc = pData->result; 166 DECLVBGL(int) VbglHGCMDisconnect (VBGLHGCMHANDLE handle, VBoxGuestHGCMDisconnectInfo *pData) argument 170 rc = vbglDriverIOCtl (&handle->driver, VBOXGUEST_IOCTL_HGCM_DISCONNECT, pData, sizeof (*pData)); 179 DECLVBGL(int) VbglHGCMCall (VBGLHGCMHANDLE handle, VBoxGuestHGCMCallInfo *pData, uint32_t cbData) argument 183 VBGL_HGCM_ASSERTMsg(cbData >= sizeof (VBoxGuestHGCMCallInfo) + pData 191 VbglHGCMCallUserData(VBGLHGCMHANDLE handle, VBoxGuestHGCMCallInfo *pData, uint32_t cbData) argument 204 VbglHGCMCallTimed(VBGLHGCMHANDLE handle, VBoxGuestHGCMCallInfoTimed *pData, uint32_t cbData) argument [all...] |
/vbox/src/VBox/Additions/common/crOpenGL/pack/ |
H A D | packspu_glsl.c | 88 GLsizei *pData; local 94 pData = (GLsizei *) crAlloc(maxcbData+sizeof(GLsizei)); 95 if (!pData) 101 crPackGetUniformsLocations(program, maxcbData, pData, NULL, &writeback); 106 crStateGLSLProgramCacheUniforms(program, pData[0], &pData[1]); 110 crFree(pData); 153 GLsizei *pData; local 159 pData = (GLsizei *) crAlloc(maxcbData+sizeof(GLsizei)); 160 if (!pData) 182 packspu_GetUniformsLocations(GLuint program, GLsizei maxcbData, GLsizei * cbData, GLvoid * pData) argument 191 packspu_GetAttribsLocations(GLuint program, GLsizei maxcbData, GLsizei * cbData, GLvoid * pData) argument [all...] |
/vbox/src/VBox/Additions/darwin/VBoxClient/ |
H A D | VBoxClientClipboardHostToGuest.cpp | 41 * @param pData Where to store received data. 43 * @param cbMemSize The actual size of memory occupied by *pData. 47 static int vbclClipboardReadHostData(uint32_t u32ClientId, uint32_t fFormat, void **pData, uint32_t *cbDataSize, uint32_t *cbMemSize) argument 51 AssertReturn(pData && cbDataSize && cbMemSize, VERR_INVALID_PARAMETER); 80 *pData = pDataInternal; 90 * @param pData Pointer to memory occupied by host buffer. 91 * @param cbMemSize The actual size of memory occupied by *pData. 93 static void vbclClipboardReleaseHostData(void **pData, uint32_t cbMemSize) argument 95 AssertReturnVoid(pData && cbMemSize > 0); 96 RTMemPageFree(*pData, cbMemSiz 110 vbclClipboardGuestPasteData(PasteboardRef pPasteboard, UInt8 *pData, CFIndex cbDataSize, CFStringRef sFormat, bool fClear) argument 153 vbclClipboardGuestPasteText(PasteboardRef pPasteboard, void *pData, uint32_t cbDataSize) argument 207 vbclClipboardGuestPastePicture(PasteboardRef pPasteboard, void *pData, uint32_t cbDataSize) argument 238 void *pData; local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/ |
H A D | VBoxDispPalette.cpp | 151 PVIDEO_CLUTDATA pData = &pClut->LookupTable[0].RgbArray; local 158 pData[idx].Red = pDev->pPalette[idx].peRed >> pDev->mode.ulPaletteShift; 159 pData[idx].Green = pDev->pPalette[idx].peGreen >> pDev->mode.ulPaletteShift; 160 pData[idx].Blue = pDev->pPalette[idx].peBlue >> pDev->mode.ulPaletteShift; 161 pData[idx].Unused = 0; 174 PVIDEO_CLUTDATA pData = &pClut->LookupTable[0].RgbArray; local 184 if (cColors != PALOBJ_cGetColors(ppalo, iStart, cColors, (ULONG*) pData)) 193 pData[idx].Unused = 0; 196 pData[idx].Red >>= pDev->mode.ulPaletteShift; 197 pData[id [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | query.c | 135 static HRESULT WINAPI IDirect3DQuery9Impl_GetData(LPDIRECT3DQUERY9 iface, void* pData, DWORD dwSize, DWORD dwGetDataFlags) { argument 140 iface, pData, dwSize, dwGetDataFlags); 143 hr = IWineD3DQuery_GetData(This->wineD3DQuery, pData, dwSize, dwGetDataFlags);
|
/vbox/src/VBox/Runtime/common/time/ |
H A D | timesupref.h | 42 * @param pData Pointer to the data structure. 44 RTDECL(uint64_t) rtTimeNanoTSInternalRef(PRTTIMENANOTSDATA pData) argument 150 uint64_t u64PrevNanoTS = ASMAtomicUoReadU64(pData->pu64Prev); 225 ASMAtomicIncU32(&pData->cExpired); 255 ASMAtomicIncU32(&pData->c1nsSteps); 263 ASMAtomicIncU32(&pData->cBadPrev); 264 pData->pfnBad(pData, u64NanoTS, u64DeltaPrev, u64PrevNanoTS); 274 if (RT_LIKELY(ASMAtomicCmpXchgU64(pData->pu64Prev, u64NanoTS, u64PrevNanoTS))) 277 ASMAtomicIncU32(&pData [all...] |
/vbox/src/VBox/Devices/Network/slirp/libalias/ |
H A D | alias_mod.c | 119 int rc = RTCritSectRwEnterShared(&pData->CsRwHandlerChain); \ 124 int rc = RTCritSectRwLeaveShared(&pData->CsRwHandlerChain); \ 129 int rc = RTCritSectRwEnterExcl(&pData->CsRwHandlerChain); \ 134 int rc = RTCritSectRwLeaveExcl(&pData->CsRwHandlerChain); \ 155 _attach_handler(PNATState pData, struct proto_handler *p) argument 187 _detach_handler(PNATState pData, struct proto_handler *p) argument 206 LibAliasAttachHandlers(PNATState pData, struct proto_handler *_p) argument 218 error = _attach_handler(pData, &_p[i]); 231 LibAliasDetachHandlers(PNATState pData, struct proto_handler *_p) argument 243 error = _detach_handler(pData, 256 detach_handler(PNATState pData, struct proto_handler *_p) argument 278 PNATState pData = la->pData; local 298 first_handler(PNATState pData) argument [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/platform/win/ |
H A D | WinKeyboard.cpp | 134 void WinHidDevicesApplyAndReleaseLedsState(void *pData) argument 136 VBoxModifiersState_t *pState = (VBoxModifiersState_t *)pData;
|