Searched defs:pcb (Results 1 - 25 of 80) sorted by relevance

1234

/vbox/src/VBox/Runtime/r3/posix/
H A DRTSystemQueryTotalRam-posix.cpp41 RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) argument
43 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
47 RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) argument
49 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
/vbox/src/VBox/Runtime/r3/win/
H A DRTSystemQueryTotalRam-win.cpp40 RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) argument
44 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
50 *pcb = MemStatus.ullTotalPhys;
55 RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) argument
59 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
65 *pcb = MemStatus.ullAvailPhys;
/vbox/src/VBox/Runtime/r3/os2/
H A Dsystemmem-os2.cpp44 RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) argument
46 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
53 *pcb = cbMem;
58 RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) argument
60 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
67 *pcb = cbAvailMem;
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/
H A Dpcb.h1 /* $NetBSD: pcb.h,v 1.1 2006/04/07 14:21:18 cherry Exp $ */
29 * $FreeBSD: src/sys/ia64/include/pcb.h,v 1.16 2004/08/16 19:05:08 marcel Exp $
42 struct pcb { struct
69 void makectx(struct trapframe *, struct pcb *);
70 /*void restorectx(struct pcb *) __dead2;*/
71 int swapctx(struct pcb *old, struct pcb *new);
73 void ia32_restorectx(struct pcb *);
74 void ia32_savectx(struct pcb *);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_pcb.c66 dt_pcb_push(dtrace_hdl_t *dtp, dt_pcb_t *pcb) argument
81 bzero(pcb, sizeof (dt_pcb_t));
83 dt_scope_create(&pcb->pcb_dstack);
84 dt_idstack_push(&pcb->pcb_globals, dtp->dt_globals);
85 dt_irlist_create(&pcb->pcb_ir);
87 pcb->pcb_hdl = dtp;
88 pcb->pcb_prev = dtp->dt_pcb;
90 dtp->dt_pcb = pcb;
94 yyinit(pcb);
117 dt_pcb_t *pcb local
[all...]
/vbox/src/VBox/Runtime/r3/darwin/
H A Dsystemmem-darwin.cpp45 RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) argument
47 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
57 *pcb = cbPhysMem;
64 RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) argument
66 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
81 *pcb = cPages * PAGE_SIZE;
/vbox/src/VBox/Runtime/r3/freebsd/
H A Dsystemmem-freebsd.cpp43 RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) argument
49 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
53 *pcb = cbMemPhys;
60 RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) argument
62 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
94 *pcb = (cPagesMemFree + cPagesMemInactive + cPagesMemCached ) * cbPage;
/vbox/src/VBox/Runtime/r3/linux/
H A Dsystemmem-linux.cpp47 RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) argument
49 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
55 *pcb = (uint64_t)info.totalram * info.mem_unit;
62 RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) argument
64 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
91 *pcb = (cbFree + cbBuffers + cbCached) * _1K;
104 *pcb = ((uint64_t)info.freeram + info.bufferram) * info.mem_unit;
/vbox/src/VBox/Runtime/r3/solaris/
H A Dsystemmem-solaris.cpp101 RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) argument
103 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
115 *pcb = (uint64_t)pData->value.ul * PAGE_SIZE;
128 RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) argument
130 AssertPtrReturn(pcb, VERR_INVALID_POINTER);
143 *pcb = (uint64_t)pData->value.ul * PAGE_SIZE;
159 *pcb += pCurSize->value.ul - pMinSize->value.ul;
/vbox/src/VBox/Runtime/testcase/
H A DtstLdrDisasmTest.cpp99 inline int MyDisasm(uintptr_t CodeIndex, PDISCPUSTATE pCpu, uint32_t *pcb) argument
103 *pcb = cb;
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibClipboard.cpp142 * @param pcb The actual size of the host clipboard data. May be larger than cb.
144 VBGLR3DECL(int) VbglR3ClipboardReadData(uint32_t u32ClientId, uint32_t fFormat, void *pv, uint32_t cb, uint32_t *pcb) argument
166 *pcb = cbActual;
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dnetif.c180 struct tcp_pcb *pcb; local
188 pcb = tcp_active_pcbs;
189 while (pcb != NULL) {
191 if (ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr))) {
193 struct tcp_pcb *next = pcb->next;
194 LWIP_DEBUGF(NETIF_DEBUG | 1, ("netif_set_ipaddr: aborting TCP pcb %p\n", (void *)pcb));
195 tcp_abort(pcb);
196 pcb = next;
198 pcb
[all...]
H A Draw.c88 struct raw_pcb *pcb; local
96 pcb = raw_pcbs;
99 while ((eaten == 0) && (pcb != NULL)) {
100 if (pcb->protocol == proto) {
102 if (pcb->recv != NULL) {
104 if (pcb->recv(pcb->recv_arg, pcb, p, &(iphdr->src)) != 0)
114 pcb = pcb
134 raw_bind(struct raw_pcb *pcb, struct ip_addr *ipaddr) argument
154 raw_connect(struct raw_pcb *pcb, struct ip_addr *ipaddr) argument
175 raw_recv(struct raw_pcb *pcb, u8_t (* recv)(void *arg, struct raw_pcb *upcb, struct pbuf *p, struct ip_addr *addr), void *recv_arg) argument
198 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, struct ip_addr *ipaddr) argument
265 raw_send(struct raw_pcb *pcb, struct pbuf *p) argument
279 raw_remove(struct raw_pcb *pcb) argument
309 struct raw_pcb *pcb; local
[all...]
H A Dtcp_in.c77 static err_t tcp_process(struct tcp_pcb *pcb);
78 static u8_t tcp_receive(struct tcp_pcb *pcb);
79 static void tcp_parseopt(struct tcp_pcb *pcb);
81 static err_t tcp_listen_input(struct tcp_pcb_listen *pcb);
82 static err_t tcp_timewait_input(struct tcp_pcb *pcb);
95 struct tcp_pcb *pcb, *prev; local
169 for(pcb = tcp_active_pcbs; pcb != NULL; pcb = pcb
348 tcp_listen_input(struct tcp_pcb_listen *pcb) argument
417 tcp_timewait_input(struct tcp_pcb *pcb) argument
437 tcp_process(struct tcp_pcb *pcb) argument
627 tcp_receive(struct tcp_pcb *pcb) argument
1168 tcp_parseopt(struct tcp_pcb *pcb) argument
[all...]
H A Dtcp_out.c59 static void tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb);
62 tcp_send_ctrl(struct tcp_pcb *pcb, u8_t flags) argument
65 return tcp_enqueue(pcb, NULL, 0, flags, 1, NULL, 0);
76 * @arg pcb Protocol control block of the TCP connection to enqueue data for.
82 tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t copy) argument
84 LWIP_DEBUGF(TCP_OUTPUT_DEBUG, ("tcp_write(pcb=%p, arg=%p, len=%"U16_F", copy=%"U16_F")\n", (void *)pcb,
87 if (pcb->state == ESTABLISHED ||
88 pcb->state == CLOSE_WAIT ||
89 pcb
116 tcp_enqueue(struct tcp_pcb *pcb, void *arg, u16_t len, u8_t flags, u8_t copy, u8_t *optdata, u8_t optlen) argument
375 tcp_output(struct tcp_pcb *pcb) argument
519 tcp_output_segment(struct tcp_seg *seg, struct tcp_pcb *pcb) argument
619 tcp_rexmit_rto(struct tcp_pcb *pcb) argument
648 tcp_rexmit(struct tcp_pcb *pcb) argument
677 tcp_keepalive(struct tcp_pcb *pcb) argument
[all...]
H A Ddhcp.c106 static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *addr, u16_t port);
251 udp_bind(dhcp->pcb, IP_ADDR_ANY, DHCP_CLIENT_PORT);
253 udp_connect(dhcp->pcb, IP_ADDR_BROADCAST, DHCP_SERVER_PORT);
254 udp_send(dhcp->pcb, dhcp->p_out);
256 udp_connect(dhcp->pcb, IP_ADDR_ANY, DHCP_SERVER_PORT);
550 dhcp->pcb = udp_new();
551 if (dhcp->pcb == NULL) {
552 LWIP_DEBUGF(DHCP_DEBUG | DBG_TRACE, ("dhcp_start(): could not obtain pcb\n"));
592 dhcp->pcb = udp_new();
593 if (dhcp->pcb
1159 dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *addr, u16_t port) argument
[all...]
/vbox/src/VBox/Devices/Storage/
H A DDrvHostFloppy.cpp73 static DECLCALLBACK(int) drvHostFloppyGetMediaSize(PDRVHOSTBASE pThis, uint64_t *pcb) argument
85 *pcb = cbSectors * geom.BytesPerSector;
109 static DECLCALLBACK(int) drvHostFloppyGetMediaSize(PDRVHOSTBASE pThis, uint64_t *pcb) argument
129 return RTFileSeek(pThis->hFileDevice, 0, RTFILE_SEEK_END, pcb);
/vbox/include/iprt/
H A Dsystem.h79 * @retval VINF_SUCCESS and *pcb on sucess.
83 * @param pcb Where to store the result (in bytes).
85 RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb); variable
95 * @retval VINF_SUCCESS and *pcb on success.
99 * @param pcb Where to store the result (in bytes).
101 RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb); variable
132 * @retval VINF_SUCCESS and *pcb on success.
138 * @param pcb Where to store the result (in bytes).
151 RTDECL(int) RTSystemQueryUnavailableRam(uint64_t *pcb); variable
/vbox/src/VBox/Devices/Network/lwip/src/api/
H A Dapi_msg.c42 recv_raw(void *arg, struct raw_pcb *pcb, struct pbuf *p, argument
59 buf->fromport = pcb->protocol;
73 recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p, argument
108 recv_tcp(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err) argument
139 poll_tcp(void *arg, struct tcp_pcb *pcb) argument
153 sent_tcp(void *arg, struct tcp_pcb *pcb, u16_t len) argument
163 if (tcp_sndbuf(conn->pcb.tcp) > TCP_SNDLOWAT)
176 conn->pcb.tcp = NULL;
203 struct tcp_pcb *pcb; local
205 pcb
454 do_connected(void *arg, struct tcp_pcb *pcb, err_t err) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Draw.c80 struct raw_pcb *pcb, *prev; local
104 pcb = raw_pcbs;
107 while ((eaten == 0) && (pcb != NULL)) {
108 if ((pcb->protocol == proto) && IP_PCB_IPVER_INPUT_MATCH(pcb) &&
109 (ipX_addr_isany(PCB_ISIPV6(pcb), &pcb->local_ip) ||
110 ipX_addr_cmp(PCB_ISIPV6(pcb), &(pcb->local_ip), ipX_current_dest_addr()))) {
113 if ((ip_get_option(pcb, SOF_BROADCAS
169 raw_bind(struct raw_pcb *pcb, ip_addr_t *ipaddr) argument
189 raw_connect(struct raw_pcb *pcb, ip_addr_t *ipaddr) argument
210 raw_recv(struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg) argument
230 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr) argument
336 raw_send(struct raw_pcb *pcb, struct pbuf *p) argument
350 raw_remove(struct raw_pcb *pcb) argument
383 struct raw_pcb *pcb; local
415 struct raw_pcb *pcb; local
[all...]
/vbox/src/VBox/VMM/VMMAll/
H A DSELMAll.cpp317 * @param pcb Where to store the bytes from *ppvGC which can be accessed according to
322 uint32_t fFlags, PRTGCPTR ppvGC, uint32_t *pcb)
336 if (pcb)
337 *pcb = 0x10000 - uFlat;
407 if (pcb)
408 *pcb = u32Limit - (uint32_t)Addr + 1;
425 if (pcb)
426 *pcb = u32Limit - (uint32_t)Addr + 1;
446 if (pcb)
447 *pcb
321 SELMToFlatBySelEx(PVMCPU pVCpu, X86EFLAGS eflags, RTSEL Sel, RTGCPTR Addr, uint32_t fFlags, PRTGCPTR ppvGC, uint32_t *pcb) argument
[all...]
/vbox/src/VBox/NetworkServices/NAT/
H A Dproxy_dhcp6ds.c59 * Create and bind server pcb.
165 dhcp6ds_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, argument
309 error = udp_sendto_ip6(pcb, q, addr, port);
H A Dproxy_rtadvd.c90 DPRINTF0(("rtadvd: failed to allocate pcb, aborting\n"));
161 rtadvd_recv(void *arg, struct raw_pcb *pcb, struct pbuf *p, ip6_addr_t *addr) argument
172 LWIP_UNUSED_ARG(pcb);
/vbox/src/VBox/NetworkServices/NetLib/
H A DVBoxNetUDP.cpp44 * @param pcb Where to return the size of the data on success.
46 void *VBoxNetUDPMatch(PINTNETBUF pBuf, unsigned uDstPort, PCRTMAC pDstMac, uint32_t fFlags, PVBOXNETUDPHDRS pHdrs, size_t *pcb) argument
51 *pcb = 0;
176 *pcb = pUdpHdr->uh_ulen - sizeof(*pUdpHdr);
/vbox/src/VBox/Additions/x11/VBoxClient/
H A Dclipboard.cpp80 * @retval ppv On success and if pcb > 0, this will point to a buffer
82 * @retval pcb On success, this contains the number of bytes of data
86 void **ppv, uint32_t *pcb)
97 rc = VbglR3ClipboardReadData(g_ctx.client, u32Format, pv, cb, pcb);
101 * larger buffer. The size of the buffer needed is placed in *pcb.
105 cb = *pcb;
111 rc = VbglR3ClipboardReadData(g_ctx.client, u32Format, pv, cb, pcb);
122 *pcb = 0;
128 LogRelFlow((" *pcb=%d\n", *pcb));
85 ClipRequestDataForX11(VBOXCLIPBOARDCONTEXT *pCtx, uint32_t u32Format, void **ppv, uint32_t *pcb) argument
[all...]

Completed in 678 milliseconds

1234