Displaying 20 results from an estimated 23 matches for "data_left".
Did you mean:
data_et
2008 May 26
1
[PATCH] virtio_rng: dont use vmalloced addresses for virtio
...orig/drivers/char/hw_random/virtio-rng.c
+++ kvm/drivers/char/hw_random/virtio-rng.c
@@ -27,7 +27,7 @@
* give it 64 bytes at a time, and the hwrng framework takes it 4 bytes at a
* time. */
static struct virtqueue *vq;
-static u32 random_data[16];
+static u32 *random_data;
static unsigned int data_left;
static DECLARE_COMPLETION(have_data);
@@ -47,9 +47,9 @@ static void register_buffer(void)
{
struct scatterlist sg;
- sg_init_one(&sg, &random_data, sizeof(random_data));
+ sg_init_one(&sg, random_data, 64);
/* There should always be room for one buffer. */
- if (vq->vq_ops...
2008 May 26
1
[PATCH] virtio_rng: dont use vmalloced addresses for virtio
...orig/drivers/char/hw_random/virtio-rng.c
+++ kvm/drivers/char/hw_random/virtio-rng.c
@@ -27,7 +27,7 @@
* give it 64 bytes at a time, and the hwrng framework takes it 4 bytes at a
* time. */
static struct virtqueue *vq;
-static u32 random_data[16];
+static u32 *random_data;
static unsigned int data_left;
static DECLARE_COMPLETION(have_data);
@@ -47,9 +47,9 @@ static void register_buffer(void)
{
struct scatterlist sg;
- sg_init_one(&sg, &random_data, sizeof(random_data));
+ sg_init_one(&sg, random_data, 64);
/* There should always be room for one buffer. */
- if (vq->vq_ops...
2005 Mar 21
2
Coule really use some help (Samba PDC)
...0] smbd/ipc.c:api_fd_reply(299)
api_fd_reply: p:0x9ca1360 max_trans_reply: 1024
[2005/03/21 11:41:52, 6] rpc_server/srv_pipe_hnd.c:write_to_pipe(852)
write_to_pipe: 7307 name: samr open: Yes len: 44
[2005/03/21 11:41:52, 10] rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(874)
write_to_pipe: data_left = 44
[2005/03/21 11:41:52, 10] rpc_server/srv_pipe_hnd.c:process_incoming_data(777)
process_incoming_data: Start: pdu_received_len = 0, pdu_needed_len = 0, incoming data = 44
[2005/03/21 11:41:52, 10] rpc_server/srv_pipe_hnd.c:fill_rpc_header(399)
fill_rpc_header: data_to_copy = 44, len_needed_...
2009 Sep 21
0
[PATCH 2/6] virtio: make add_buf return capacity remaining
...r, vblk->pool);
return false;
}
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -51,7 +51,7 @@ static void register_buffer(void)
sg_init_one(&sg, random_data+data_left, RANDOM_DATA_SIZE-data_left);
/* There should always be room for one buffer. */
- if (vq->vq_ops->add_buf(vq, &sg, 0, 1, random_data) != 0)
+ if (vq->vq_ops->add_buf(vq, &sg, 0, 1, random_data) < 0)
BUG();
vq->vq_ops->kick(vq);
}
diff --git a/drivers/char/virtio...
2009 Sep 21
0
[PATCH 2/6] virtio: make add_buf return capacity remaining
...r, vblk->pool);
return false;
}
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -51,7 +51,7 @@ static void register_buffer(void)
sg_init_one(&sg, random_data+data_left, RANDOM_DATA_SIZE-data_left);
/* There should always be room for one buffer. */
- if (vq->vq_ops->add_buf(vq, &sg, 0, 1, random_data) != 0)
+ if (vq->vq_ops->add_buf(vq, &sg, 0, 1, random_data) < 0)
BUG();
vq->vq_ops->kick(vq);
}
diff --git a/drivers/char/virtio...
2003 Jul 09
3
Samba/LDAP XP Authentication Weirdness
Samba 2.2.8a, RH7.3
I have successfully connected machines running XP to the samba controlled
domain.
There are 3 XP machines, each with only one user designated as a power user
(ie domain\username power user). Each can log into any of the three
machines without a problem.
Now I am trying to log a different person into any of these machines and I
get the message "System Could Not Log
2006 Dec 15
1
Can't get user list in Win98se
...10] smbd/ipc.c:api_fd_reply(299)
api_fd_reply: p:0x83c3e70 max_trans_reply: 512
[2006/12/14 17:46:10, 6] rpc_server/srv_pipe_hnd.c:write_to_pipe(852)
write_to_pipe: 7364 name: samr open: Yes len: 52
[2006/12/14 17:46:10, 10]
rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(874)
write_to_pipe: data_left = 52
[2006/12/14 17:46:10, 10]
rpc_server/srv_pipe_hnd.c:process_incoming_data(777)
process_incoming_data: Start: pdu_received_len = 0, pdu_needed_len =
0, incoming data = 52
[2006/12/14 17:46:10, 10] rpc_server/srv_pipe_hnd.c:fill_rpc_header(399)
fill_rpc_header: data_to_copy = 52, len_needed_...
2009 Aug 18
2
[PATCH 1/2] virtio: Add a can_add_buf helper
This helper returns 1 if a call to add_buf will not fail
with -ENOSPC.
This will help callers that do
while(1) {
alloc()
if (add_buf()) {
free();
break;
}
}
This will result in one less alloc/free exercise.
Signed-off-by: Amit Shah <amit.shah at redhat.com>
---
drivers/virtio/virtio_ring.c | 8 ++++++++
include/linux/virtio.h | 5 +++++
2 files changed, 13
2009 Aug 18
2
[PATCH 1/2] virtio: Add a can_add_buf helper
This helper returns 1 if a call to add_buf will not fail
with -ENOSPC.
This will help callers that do
while(1) {
alloc()
if (add_buf()) {
free();
break;
}
}
This will result in one less alloc/free exercise.
Signed-off-by: Amit Shah <amit.shah at redhat.com>
---
drivers/virtio/virtio_ring.c | 8 ++++++++
include/linux/virtio.h | 5 +++++
2 files changed, 13
2005 May 16
1
I could really use some help here (SAMBA PDC)
...0] smbd/ipc.c:api_fd_reply(299)
api_fd_reply: p:0x9ca1360 max_trans_reply: 1024
[2005/03/21 11:41:52, 6] rpc_server/srv_pipe_hnd.c:write_to_pipe(852)
write_to_pipe: 7307 name: samr open: Yes len: 44
[2005/03/21 11:41:52, 10] rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(874)
write_to_pipe: data_left = 44
[2005/03/21 11:41:52, 10] rpc_server/srv_pipe_hnd.c:process_incoming_data(777)
process_incoming_data: Start: pdu_received_len = 0, pdu_needed_len = 0, incoming data = 44
[2005/03/21 11:41:52, 10] rpc_server/srv_pipe_hnd.c:fill_rpc_header(399)
fill_rpc_header: data_to_copy = 44, len_needed_...
2006 Feb 01
3
No access check deleting printer drivers
Hello list!
On all my samba installations (3.0.20b) I can delete all unused printer
drivers with rpcclient regardless which user name or password i use.
Is this a general feature or might it depend on my settings?
Thanks,
Martin
--
Martin Zielinski mz@seh.de
Software Development
SEH Computertechnik GmbH www.seh.de
2009 Apr 23
1
[PATCH] virtio-rng: Remove false BUG for spurious callbacks
...-2.6/drivers/char/hw_random/virtio-rng.c
@@ -37,9 +37,9 @@ static void random_recv_done(struct virt
{
int len;
- /* We never get spurious callbacks. */
+ /* We can get spurious callbacks, e.g. shared IRQs + virtio_pci. */
if (!vq->vq_ops->get_buf(vq, &len))
- BUG();
+ return;
data_left = len / sizeof(random_data[0]);
complete(&have_data);
2009 Apr 23
1
[PATCH] virtio-rng: Remove false BUG for spurious callbacks
...-2.6/drivers/char/hw_random/virtio-rng.c
@@ -37,9 +37,9 @@ static void random_recv_done(struct virt
{
int len;
- /* We never get spurious callbacks. */
+ /* We can get spurious callbacks, e.g. shared IRQs + virtio_pci. */
if (!vq->vq_ops->get_buf(vq, &len))
- BUG();
+ return;
data_left = len / sizeof(random_data[0]);
complete(&have_data);
2005 May 16
0
Re: Auth problems 3.0.13
...1172)
> pipe name lsarpc pnum=76b9 (pipes_open=1)
> [2005/04/04 09:15:45, 6] rpc_server/srv_pipe_hnd.c:write_to_pipe(852)
> write_to_pipe: 76b9 name: lsarpc open: Yes len: 72
> [2005/04/04 09:15:45, 10]
> rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(874)
> write_to_pipe: data_left = 72
> [2005/04/04 09:15:45, 10]
> rpc_server/srv_pipe_hnd.c:process_incoming_data(777) process_incoming_data:
> Start: pdu_received_len = 0, pdu_needed_len = 0, incoming data = 72
> [2005/04/04 09:15:45, 10] rpc_server/srv_pipe_hnd.c:fill_rpc_header(399)
> fill_rpc_header: data_to...
2003 Oct 22
4
Clear text authentication impossible???
We have an Exchange 5.5 server in our Samba 3 domain und want to have POP3
access with clear text authentication from clients.
But no kind of credentials is accepted.
It did a level 10 log on the Samba server and found my clear text password
in the log (in nt_chal_resp and lm_chal_resp fields) during authentication.
Is it possible that Samba can't handle the clear-text pass-through from
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...quot;,\004",
n=1076) at rpc_server/srv_pipe_hnd.c:839
data_to_copy = 1076
old_pdu_received_len = 0
#15 0x0815b723 in write_to_internal_pipe (np_conn=0x83d1690,
data=0x83ef2c8 ",\004", n=1092) at rpc_server/srv_pipe_hnd.c:878
data_used = 0
p = (pipes_struct *) 0x83d1690
data_left = 1076
#16 0x0815b67a in write_to_pipe (p=0x83cc2b0, data=0x83ef2b8 "\005", n=1092)
at rpc_server/srv_pipe_hnd.c:861
No locals.
#17 0x0808e674 in api_fd_reply (conn=0x83ccf88, vuid=100,
outbuf=0x404a4008 "", setup=0x83cf230, data=0x83ef2b8 "\005", params=0x0,...
2004 Jun 22
1
Fw: Error C000019B
...; api_fd_reply: p:0x8315c00 max_trans_reply: 1024
> [2004/06/21 15:27:18, 6] rpc_server/srv_pipe_hnd.c:write_to_pipe(854)
> write_to_pipe: 7640 name: NETLOGON open: Yes len: 272
> [2004/06/21 15:27:18, 10]
> rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(876)
> write_to_pipe: data_left = 272
> [2004/06/21 15:27:18, 10]
> rpc_server/srv_pipe_hnd.c:process_incoming_data(779)
> process_incoming_data: Start: pdu_received_len = 0, pdu_needed_len = 0,
> incoming data = 272
> [2004/06/21 15:27:18, 10] rpc_server/srv_pipe_hnd.c:fill_rpc_header(401)
> fill_rpc_header...
2004 Jun 21
0
Error C000019B
...bd/ipc.c:api_fd_reply(301)
api_fd_reply: p:0x8315c00 max_trans_reply: 1024
[2004/06/21 15:27:18, 6] rpc_server/srv_pipe_hnd.c:write_to_pipe(854)
write_to_pipe: 7640 name: NETLOGON open: Yes len: 272
[2004/06/21 15:27:18, 10]
rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(876)
write_to_pipe: data_left = 272
[2004/06/21 15:27:18, 10]
rpc_server/srv_pipe_hnd.c:process_incoming_data(779)
process_incoming_data: Start: pdu_received_len = 0, pdu_needed_len = 0,
incoming data = 272
[2004/06/21 15:27:18, 10] rpc_server/srv_pipe_hnd.c:fill_rpc_header(401)
fill_rpc_header: data_to_copy = 272, len_need...
2006 Sep 01
0
[Fwd: Re: Authentication fails (sometimes)]
...name NETLOGON pnum=76d2 (pipes_open=1)
>[2006/08/27 20:03:03, 6, pid=18112] rpc_server/srv_pipe_hnd.c:write_to_pipe(937)
> write_to_pipe: 76d2 name: NETLOGON open: Yes len: 384
>[2006/08/27 20:03:03, 10, pid=18112] rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(959)
> write_to_pipe: data_left = 384
>[2006/08/27 20:03:03, 10, pid=18112] rpc_server/srv_pipe_hnd.c:process_incoming_data(852)
> process_incoming_data: Start: pdu_received_len = 0, pdu_needed_len = 0, incoming data = 384
>[2006/08/27 20:03:03, 10, pid=18112] rpc_server/srv_pipe_hnd.c:fill_rpc_header(395)
> fill_rp...
2006 Aug 30
1
Authentication fails (sometimes)
...pe(1268)
pipe name NETLOGON pnum=76d2 (pipes_open=1)
[2006/08/27 20:03:03, 6, pid=18112] rpc_server/srv_pipe_hnd.c:write_to_pipe(937)
write_to_pipe: 76d2 name: NETLOGON open: Yes len: 384
[2006/08/27 20:03:03, 10, pid=18112] rpc_server/srv_pipe_hnd.c:write_to_internal_pipe(959)
write_to_pipe: data_left = 384
[2006/08/27 20:03:03, 10, pid=18112] rpc_server/srv_pipe_hnd.c:process_incoming_data(852)
process_incoming_data: Start: pdu_received_len = 0, pdu_needed_len = 0, incoming data = 384
[2006/08/27 20:03:03, 10, pid=18112] rpc_server/srv_pipe_hnd.c:fill_rpc_header(395)
fill_rpc_header: data_t...