search for: pbuf

Displaying 20 results from an estimated 27 matches for "pbuf".

Did you mean: buf
2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
...s is especially useful for debugging stub domains. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> --- Changes since v1 (RFC): - Use prefix of (d%d) in place of (XEN) for both PV and HVM output - Guests other than dom0 have non-printable characters stripped - Use unsigned type for pbuf_idx - Formatting fixes xen/arch/x86/hvm/hvm.c | 27 +++++------- xen/common/domain.c | 8 ++++ xen/drivers/char/console.c | 94 ++++++++++++++++++++++++++++++++-------- xen/include/asm-x86/hvm/domain.h | 6 --- xen/include/xen/lib.h | 2 + xen/include/x...
2013 Sep 09
0
[PATCH v3] xen/console: buffer and show origin of guest PV writes
...ra@tycho.nsa.gov> Acked-by: Keir Fraser <keir@xen.org> --- Changes since v2: - Clarified patch description Changes since v1 (RFC): - Use prefix of (d%d) in place of (XEN) for both PV and HVM output - Guests other than dom0 have non-printable characters stripped - Use unsigned type for pbuf_idx - Formatting fixes xen/arch/x86/hvm/hvm.c | 27 +++++------- xen/common/domain.c | 8 ++++ xen/drivers/char/console.c | 94 ++++++++++++++++++++++++++++++++-------- xen/include/asm-x86/hvm/domain.h | 6 --- xen/include/xen/lib.h | 2 + xen/include/x...
2008 Jul 29
2
Unexpected b_hdr change.
Hi. We''re testing the most recent ZFS version from OpenSolaris ported to FreeBSD. Kris (CCed) observed strange situation. In function arc_read() he had a panic on assertion that we try to unlock a lock which is not beeing held: rw_enter(&pbuf->b_hdr->b_datalock, RW_READER); err = arc_read_nolock(pio, spa, bp, done, private, priority, flags, arc_flags, zb); rw_exit(&pbuf->b_hdr->b_datalock); <--- THIS ONE The only possiblity was that b_hdr for pbuf was changed somewhere. We diagnozed this further and the b_hd...
2006 Jan 17
1
How to loop a Vobis sound ?
...ot;Could not read Ogg file from memory"); m_iStreamStart = ov_pcm_tell (&m_tOggStream); m_bReleaseStream = true; return true; } // ------------- Source.h class GAL_API Source { public: // 1. Set a loaded buffer as current buffer void SetCurrentBuffer (Buffer *pBuf); // 2. operations virtual bool Play (); virtual void Stop () { alSourceStop (m_id); } virtual void Pause () { alSourcePause (m_id); } virtual void Rewind () { alSourceRewind (m_id); } // 3. Update if buffers are queued virtual bool Update (); // Update Queued Buffer...
2008 Jul 13
1
dvd dma problems
I have a couple of DVD drives (one drive, one burner) that used to play DVDs quite fine from 5.3 to somewhere in the 6.x branch. Nowadays I have to send them to PIO4 to play DVDs, because they'll just throw DMA not aligned errors around in UDMA33 or WDMA2 mode. Should someone be interested in this I'm willing to supply all necessary information, such as the exact drives, firmware
2013 Jul 17
1
syncer causing latency spikes
...ticular). The system has an LSI 9261-8i RAID controller (backed by mfi(4)) and the database and WALs are on separate volumes, a RAID 6 and a RAID 1 respectively. It has about 96GB of RAM installed. What's happening is that the syncer tries to fsync a large database file and goes to sleep in getpbuf() with the corresponding vnode lock held and the following stack: #3 0xffffffff805fceb5 in _sleep (ident=0xffffffff80ca8e20, lock=0xffffffff80d6bc20, priority=-2134554464, wmesg=0xffffffff80a4fe43 "wswbuf0", timo=0) at /d2/usr/src/sys/kern/kern_synch.c:234 #4 0xffffffff808780d5 in getp...
2008 Jun 10
7
Unraveling a FAR*
Hi all, Just looking over fole_s_connect() in win32ole.c and I noticed this bit: hr = CLSIDFromProgID(pBuf, &clsid); ... hr = GetActiveObject(&clsid, 0, &pUnknown); ... hr = pUnknown->lpVtbl->QueryInterface( pUnknown, &IID_IDispatch, (void **)&pDispatch ); Using win32-api, that would be something like: IID_IUnknown = [0,0,0,192,0,0,0,0,0,0,70].pack(''ISSCCCCC...
2015 Feb 09
5
extlinux installer build failed
...em.o lwip/src/core/def.o lwip/src/core/memp.o lwip/src/core/udp.o lwip/src/core/dns.o lwip/src/core/tcp_out.o lwip/src/core/snmp/msg_in.o lwip/src/core/snmp/msg_out.o lwip/src/core/snmp/mib_structs.o lwip/src/core/snmp/mib2.o lwip/src/core/snmp/asn1_dec.o lwip/src/core/snmp/asn1_enc.o lwip/src/core/pbuf.o lwip/src/core/sys.o lwip/src/api/netdb.o lwip/src/api/tcpip.o lwip/src/api/sockets.o lwip/src/api/netbuf.o lwip/src/api/netifapi.o lwip/src/api/err.o lwip/src/api/api_msg.o lwip/src/api/api_lib.o lwip/src/arch/sys_arch.o fs/pxe/core.o fs/pxe/dnsresolv.o fs/pxe/ftp.o fs/pxe/ftp_readdir.o fs/pxe/gp...
2015 Feb 09
0
extlinux installer build failed
...lwip/src/core/memp.o > lwip/src/core/udp.o lwip/src/core/dns.o lwip/src/core/tcp_out.o > lwip/src/core/snmp/msg_in.o lwip/src/core/snmp/msg_out.o > lwip/src/core/snmp/mib_structs.o lwip/src/core/snmp/mib2.o > lwip/src/core/snmp/asn1_dec.o lwip/src/core/snmp/asn1_enc.o > lwip/src/core/pbuf.o lwip/src/core/sys.o lwip/src/api/netdb.o > lwip/src/api/tcpip.o lwip/src/api/sockets.o lwip/src/api/netbuf.o > lwip/src/api/netifapi.o lwip/src/api/err.o lwip/src/api/api_msg.o > lwip/src/api/api_lib.o lwip/src/arch/sys_arch.o fs/pxe/core.o > fs/pxe/dnsresolv.o fs/pxe/ftp.o fs/pxe/ftp...
2015 Feb 09
1
extlinux installer build failed
...> lwip/src/core/udp.o lwip/src/core/dns.o lwip/src/core/tcp_out.o > > lwip/src/core/snmp/msg_in.o lwip/src/core/snmp/msg_out.o > > lwip/src/core/snmp/mib_structs.o lwip/src/core/snmp/mib2.o > > lwip/src/core/snmp/asn1_dec.o lwip/src/core/snmp/asn1_enc.o > > lwip/src/core/pbuf.o lwip/src/core/sys.o lwip/src/api/netdb.o > > lwip/src/api/tcpip.o lwip/src/api/sockets.o lwip/src/api/netbuf.o > > lwip/src/api/netifapi.o lwip/src/api/err.o lwip/src/api/api_msg.o > > lwip/src/api/api_lib.o lwip/src/arch/sys_arch.o fs/pxe/core.o > > fs/pxe/dnsresolv.o fs/...
2020 Sep 15
0
[PATCH 09/18] sgiwd93: convert to dma_alloc_noncoherent
..., 7 deletions(-) diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index 3bdf0deb8f1529..cf1030c9dda17f 100644 --- a/drivers/scsi/sgiwd93.c +++ b/drivers/scsi/sgiwd93.c @@ -95,7 +95,7 @@ void fill_hpc_entries(struct ip22_hostdata *hd, struct scsi_cmnd *cmd, int din) */ hcp->desc.pbuf = 0; hcp->desc.cntinfo = HPCDMA_EOX; - dma_cache_sync(hd->dev, hd->cpu, + dma_sync_single_for_device(hd->dev, hd->dma, (unsigned long)(hcp + 1) - (unsigned long)hd->cpu, DMA_TO_DEVICE); } @@ -234,8 +234,8 @@ static int sgiwd93_probe(struct platform_device *p...
2004 Aug 06
0
Encode-Decode Problem
I have non terminate loop when decode speex bits stream. These are my pseudocode for encoding and decoding -- Encode -- while(stillhaveinput) { speex_encode(enc_state, curr_spx_frame, &bits); } speex_bits_insert_terminator(&bits); speex_bits_write(&bits,(char *)(pBufferOut),MAX_LEN); -- Decode (these code loop forever) -- speex_bits_read_from(&bits, (char *) pBuf,act_length); result=speex_decode(dec_state, &bits, curr_spx_frm); while(result==0) { result=speex_decode(dec_state, &bits, curr_spx_frm); } Does anyone know how to solve this problem?...
2000 Jul 26
1
compiling openssh with skey? Fails on redhat linux
...skey.c:70: `SKEY_MAX_SEED_LEN' undeclared (first use in this function) auth-skey.c:70: (Each undeclared identifier is reported only once auth-skey.c:70: for each function it appears in.) auth-skey.c:71: `SKEY_MAX_PW_LEN' undeclared (first use in this function) auth-skey.c:71: size of array `pbuf' has non-integer type auth-skey.c:72: `SKEY_MAX_CHALLENGE' undeclared (first use in this function) auth-skey.c:72: size of array `skeyprompt' has non-integer type auth-skey.c:108: `_SKEY_RAND_FILE_PATH_' undeclared (first use in this function) auth-skey.c:161: `SKEY_MAX_HASHNAME_LEN...
2016 Jul 04
2
[PATCH] core/lwip: Avoid immediate reuse of UDP port numbers
...-------------------- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/core/lwip/src/core/udp.c b/core/lwip/src/core/udp.c index 4596ba2..68e7f48 100644 --- a/core/lwip/src/core/udp.c +++ b/core/lwip/src/core/udp.c @@ -679,6 +679,37 @@ udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *dst_ip, } /** + * A nastly hack featuring 'goto' statements that allocates a + * new UDP local port. Based on equivalent code in tcp_new_port() + * + * @return a new (free) local UDP port number + */ +static u16_t +udp_new_port(void) +{ + struct udp_pcb *pcb; +#ifndef U...
2013 Mar 28
1
Makefile race condition with parallel make
...p_addr.o ./lwip/src/core/ipv4/inet.o ./lwip/src/core/ipv4/igmp.o ./lwip/src/core/ipv4/ip_frag.o ./lwip/src/core/ipv4/ip.o ./lwip/src/core/udp.o ./lwip/src/core/stats.o ./lwip/src/core/raw.o ./lwip/src/core/tcp.o ./lwip/src/core/netif.o ./lwip/src/core/memp.o ./lwip/src/core/timers.o ./lwip/src/core/pbuf.o ./lwip/src/core/tcp_in.o ./lwip/src/core/tcp_out.o ./lwip/src/api/api_lib.o ./lwip/src/api/netdb.o ./lwip/src/api/tcpip.o ./lwip/src/api/err.o ./lwip/src/api/sockets.o ./lwip/src/api/netifapi.o ./lwip/src/api/netbuf.o ./lwip/src/api/api_msg.o ./lwip/src/arch/sys_arch.o ./fs/pxe/core.o ./fs/pxe/dn...
2019 May 24
0
[PATCH] VMCI: Fix integer overflow in VMCI handle arrays
..., &context->notifier_list); - context->n_notifiers++; - result = VMCI_SUCCESS; + kfree(notifier); + result = VMCI_ERROR_NO_MEM; } spin_unlock(&context->lock); @@ -729,8 +741,7 @@ static int vmci_ctx_get_chkpt_doorbells(struct vmci_ctx *context, u32 *buf_size, void **pbuf) { struct dbell_cpt_state *dbells; - size_t n_doorbells; - int i; + u32 i, n_doorbells; n_doorbells = vmci_handle_arr_get_size(context->doorbell_array); if (n_doorbells > 0) { @@ -868,7 +879,8 @@ int vmci_ctx_rcv_notifications_get(u32 context_id, spin_lock(&context->lock);...
2012 Nov 26
13
[PATCH 0 of 4] Minios improvements for app development
This patch series contains a set of patches making minios rather easier to use, from an application development point of view. Overview of patches: 1 Command line argument parsing support, from Xen. 2 Weak console handler function. 3 Build system tweaks for application directories. 4 Trailing whitespace cleanup. (because it is very messy) Patch 4 is likely to be more controversial than
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
* * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
* * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later
2013 Mar 07
4
Syslinux-5.10-pre1
...remote-tracking branch 'origin/master' into lwip Merge remote-tracking branch 'genec/com32-cptime-upd-for-hpa' into lwip Merge remote-tracking branch 'origin/master' into lwip lwipopts: increase the number of netbufs pxe, tftp: Unify UDP send and use pbuf memory pxe, tftp: make TimeoutTable static pxe, tftp: Handle block number wraparound pxe: Remove stray debugging message lwip: Add return address to LWIP_PLATFORM_ASSERT() pxe, ftp: Change anonymous password to syslinux@ Merge remote-tracking branch 'genec/lw...