Displaying 20 results from an estimated 13921 matches for "cmd".
2010 Jul 19
0
How to install sieve
...ot-config. I managed this problem with a symlink. But when
i try to run make i always got the following error message.
I would appreciate any help.
Kind regards,
Carsten Laun-De Lellis
../../sieve-result.h:143: error: expected declaration specifiers or ?...?
before ?bool?
In file included from cmd-vacation.c:27:
../../sieve-message.h:18: warning: empty declaration
../../sieve-message.h:27: error: expected declaration specifiers before
?pool_t?
In file included from cmd-vacation.c:29:
ext-vacation-common.h:13: error: storage class specified for parameter
?vacation_command?
ext-vacation-common...
2009 Oct 27
0
[PATCH 4/4] megasas: Add SCSI command emulation
...88 +++++++++++++++++++++++++++++++++++-----------------------
1 files changed, 53 insertions(+), 35 deletions(-)
diff --git a/hw/megasas.c b/hw/megasas.c
index a57e8e0..f32b313 100644
--- a/hw/megasas.c
+++ b/hw/megasas.c
@@ -661,40 +661,55 @@ static int megasas_handle_scsi(MPTState *s, uint8_t fcmd,
}
}
- memset(&cmd->hdr, 0, sizeof(struct sg_io_hdr));
- cmd->hdr.interface_id = 'S';
- cmd->hdr.cmd_len = cdb_len;
- cmd->hdr.cmdp = cdb;
- cmd->hdr.iovec_count = cmd->sge_count;
- cmd->hdr.dxferp = cmd->iov;
- for (n = 0; n <...
2009 Oct 27
0
[PATCH 4/4] megasas: Add SCSI command emulation
...88 +++++++++++++++++++++++++++++++++++-----------------------
1 files changed, 53 insertions(+), 35 deletions(-)
diff --git a/hw/megasas.c b/hw/megasas.c
index a57e8e0..f32b313 100644
--- a/hw/megasas.c
+++ b/hw/megasas.c
@@ -661,40 +661,55 @@ static int megasas_handle_scsi(MPTState *s, uint8_t fcmd,
}
}
- memset(&cmd->hdr, 0, sizeof(struct sg_io_hdr));
- cmd->hdr.interface_id = 'S';
- cmd->hdr.cmd_len = cdb_len;
- cmd->hdr.cmdp = cdb;
- cmd->hdr.iovec_count = cmd->sge_count;
- cmd->hdr.dxferp = cmd->iov;
- for (n = 0; n <...
2019 Aug 13
0
[PATCH libnbd 3/4] lib: Add FREE_CALLBACK macro.
...+++++
7 files changed, 35 insertions(+), 56 deletions(-)
diff --git a/generator/states-reply-simple.c b/generator/states-reply-simple.c
index 7f2775d..8905367 100644
--- a/generator/states-reply-simple.c
+++ b/generator/states-reply-simple.c
@@ -69,9 +69,7 @@
cmd->offset, LIBNBD_READ_DATA,
&error) == -1)
cmd->error = error ? error : EPROTO;
- if (cmd->cb.fn.chunk.free)
- cmd->cb.fn.chunk.free (cmd->cb.fn.chunk.user_data);
- cmd->cb.fn.chunk.callback = NULL; /* because we...
2020 Feb 26
2
[PATCH] lib: command: switch from select() to poll()
...#include <signal.h>
#include <errno.h>
#include <assert.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/select.h>
+#include <poll.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@ -650,37 +649,41 @@ run_child (struct command *cmd)
static int
loop (struct command *cmd)
{
- fd_set rset, rset2;
- int maxfd = -1, r;
+ struct pollfd fds[2];
+ int r;
size_t nr_fds = 0;
CLEANUP_FREE char *buf = safe_malloc (cmd->g, BUFSIZ);
ssize_t n;
- FD_ZERO (&rset);
+ memset (&fds, 0, sizeof fds);
+
+ fds[0].fd...
2012 Oct 18
10
[PATCH 0/10] Add a mini-library for running external commands.
Inspired by libvirt's virCommand* internal mini-library, this adds
some internal APIs for running commands.
The first patch contains the new APIs. The subsequent patches change
various parts of the library over to use it.
Rich.
2006 Oct 31
0
6271225 gcc and cmd/keyserv don''t get along
Author: peteh
Repository: /hg/zfs-crypto/gate
Revision: 776f0cc9b73a5c657657dd16152204b053563e3d
Log message:
6271225 gcc and cmd/keyserv don''t get along
6273831 gcc and cmd/rpcsvc don''t get along
Files:
update: usr/src/cmd/keyserv/chkey.c
update: usr/src/cmd/keyserv/chkey_common.c
update: usr/src/cmd/keyserv/detach.c
update: usr/src/cmd/keyserv/domainname.c
update: usr/src/cmd/keyserv/keylogin.c
upda...
2009 Oct 27
1
[PATCH 2/4] megasas: LSI MegaRAID SAS HBA emulation
...efine MFI_STATE_FW_INIT_2 0x7
+#define MFI_STATE_DEVICE_SCAN 0x8
+#define MFI_STATE_BOOT_MESSAGE_PENDING 0x9
+#define MFI_STATE_FLUSH_CACHE 0xA
+#define MFI_STATE_READY 0xB
+#define MFI_STATE_OPERATIONAL 0xC
+#define MFI_STATE_FAULT 0xF
+
+/*
+ * MFI command opcodes
+ */
+#define MFI_CMD_INIT 0x00
+#define MFI_CMD_LD_READ 0x01
+#define MFI_CMD_LD_WRITE 0x02
+#define MFI_CMD_LD_SCSI_IO 0x03
+#define MFI_CMD_PD_SCSI_IO 0x04
+#define MFI_CMD_DCMD 0x05
+#define MFI_CMD_ABORT 0x06
+#define MFI_CMD_SMP 0x07
+#define MFI_CMD_STP 0x08
+
+#define MR_DCMD_CTRL_GET_INF...
2009 Oct 27
1
[PATCH 2/4] megasas: LSI MegaRAID SAS HBA emulation
...efine MFI_STATE_FW_INIT_2 0x7
+#define MFI_STATE_DEVICE_SCAN 0x8
+#define MFI_STATE_BOOT_MESSAGE_PENDING 0x9
+#define MFI_STATE_FLUSH_CACHE 0xA
+#define MFI_STATE_READY 0xB
+#define MFI_STATE_OPERATIONAL 0xC
+#define MFI_STATE_FAULT 0xF
+
+/*
+ * MFI command opcodes
+ */
+#define MFI_CMD_INIT 0x00
+#define MFI_CMD_LD_READ 0x01
+#define MFI_CMD_LD_WRITE 0x02
+#define MFI_CMD_LD_SCSI_IO 0x03
+#define MFI_CMD_PD_SCSI_IO 0x04
+#define MFI_CMD_DCMD 0x05
+#define MFI_CMD_ABORT 0x06
+#define MFI_CMD_SMP 0x07
+#define MFI_CMD_STP 0x08
+
+#define MR_DCMD_CTRL_GET_INF...
2019 Aug 14
2
[libnbd PATCH] lib: Consolidate free callbacks to just happen at retire time
...extern void nbd_internal_retire_and_free_command (struct command *);
diff --git a/generator/states-reply-simple.c b/generator/states-reply-simple.c
index 8e3d7f1..2f83e6f 100644
--- a/generator/states-reply-simple.c
+++ b/generator/states-reply-simple.c
@@ -69,7 +69,6 @@
cmd->offset, LIBNBD_READ_DATA,
&error) == -1)
cmd->error = error ? error : EPROTO;
- FREE_CALLBACK (cmd->cb.fn.chunk);
}
SET_NEXT_STATE (%^FINISH_COMMAND);
diff --git a/generator/states-reply-structured.c b/generator/states-reply-structure...
2007 Apr 04
3
solaris 10 dovecot-1.0.rc29 - building issue
...c29/src/imap'
/bin/ksh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -export-dynamic
-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -o
imap cmd-append.o cmd-capability.o cmd-check.o cmd-close.o cmd-copy.o
cmd-create.o cmd-delete.o cmd-examine.o cmd-expunge.o cmd-fetch.o
cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o cmd-namespace.o cmd-noop.o
cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o
cmd-store.o cmd-subscribe.o cmd-thre...
2019 Aug 13
0
[PATCH libnbd 4/4] lib: Add CALL_CALLBACK macro.
...++
6 files changed, 26 insertions(+), 23 deletions(-)
diff --git a/generator/states-reply-simple.c b/generator/states-reply-simple.c
index 8905367..8e3d7f1 100644
--- a/generator/states-reply-simple.c
+++ b/generator/states-reply-simple.c
@@ -64,10 +64,10 @@
int error = 0;
assert (cmd->error == 0);
- if (cmd->cb.fn.chunk.callback (cmd->cb.fn.chunk.user_data,
- cmd->data, cmd->count,
- cmd->offset, LIBNBD_READ_DATA,
- &error) == -1)
+ if (CAL...
2023 May 24
4
[PATCH 0/3] vhost-scsi: Fix IO hangs when using windows
The following patches were made over Linus's tree and fix an issue
where windows guests will send iovecs with offset/lengths that result
in IOs that are not aligned to 512. The LIO layer will then send them
to Linux's block layer but it requires 512 byte alignment, so depending
on the block driver being used we will get IO errors or hung IO.
The following patches have vhost-scsi detect
2006 Oct 31
0
PSARC/2002/762 Layered Trusted Solaris
...is Trusted Extensions Filesystem Labeling
PSARC/2006/009 Labeled Auditing
PSARC/2006/155 Trusted Extensions RBAC Changes
PSARC/2006/191 is_system_labeled
6293271 Zone processes should use zone_kcred instead of kcred
6394554 integrate Solaris Trusted Extensions
Files:
create: deleted_files/usr/src/cmd/dminfo/Makefile
create: usr/src/cmd/allocate/dminfo.c
create: usr/src/cmd/devfsadm/devalloc.c
create: usr/src/cmd/ldap/ns_ldap/ldapaddtsol.c
create: usr/src/cmd/lp/lib/lp/tx.c
create: usr/src/cmd/mdb/common/modules/genunix/tsol.c
create: usr/src/cmd/mdb/common/modules/genunix/tsol.h
create:...
2023 Jul 09
4
[PATCH v2 0/2] vhost-scsi: Fix IO hangs when using windows
The following patches were made over Linus's tree and fix an issue
where windows guests will send iovecs with offset/lengths that result
in IOs that are not aligned to 512. The LIO layer will then send them
to Linux's FS/block layer but it requires 512 byte alignment, so
depending on the FS/block driver being used we will get IO errors or
hung IO.
The following patches have vhost-scsi
2010 Mar 20
1
problem with start.exe in 1.1.41 ?
inside cmd shell a simple command "start cmd" not works anymore. But I don't see any similar reports from other people. What can be wrong? I already tried new wineprofile
Code:
[il at IL ~]$ LANG=C wine cmd
err:menubuilder:init_xdg error looking up the desktop directory
CMD Version 1.1.41
Z...
2008 Nov 12
2
dovecot 1.2 link error
...e-dse -ftree-loop-optimize
-ftree-loop-linear -I/usr/lib/gcc/i386-redhat-linux/4.1.1/include -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2
-Wl,-z -Wl,compreloc -Wl,-z -Wl,norelro -o imap -export-dynamic
cmd-append.o cmd-capability.o cmd-cancelupdate.o cmd-check.o cmd-close.o
cmd-copy.o cmd-create.o cmd-delete.o cmd-enable.o cmd-examine.o
cmd-expunge.o cmd-fetch.o cmd-id.o cmd-idle.o cmd-list.o cmd-logout.o
cmd-lsub.o cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o
cmd-select.o cmd-sort.o cmd-...
2011 Feb 04
1
DoveCot 2.0.19: Problem compiling Solaris 10u9 x86 with dbox storage enabled
...lete type
mv -f .deps/main.Tpo .deps/main.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -export-dynamic
-L/opt/csw/lib -L/usr/lib -R/opt/csw/lib/ -o imap cmd-append.o
cmd-capability.o cmd-cancelupdate.o cmd-check.o cmd-close.o cmd-copy.o
cmd-create.o cmd-delete.o cmd-enable.o cmd-examine.o cmd-expunge.o
cmd-fetch.o cmd-id.o cmd-idle.o cmd-list.o cmd-logout.o cmd-lsub.o
cmd-namespace.o cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o
cmd-sort.o cmd-stat...
2006 Feb 18
2
"undefined reference to `yes_storage'"
...16.x
Kernel-2.6.13.4
ccache gcc-3.4.3 -std=gnu99 -g -O5 -finline -fstrict-aliasing
-fomit-frame-pointer -mieee -w -mtune=ev56 -mmax -pipe -D_BSD_SOURCE
-Wl,-lots -Wl,-lcpml -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o imap
cmd-append.o cmd-authenticate.o cmd-capability.o cmd-check.o cmd-close.o
cmd-copy.o cmd-create.o cmd-delete.o cmd-examine.o cmd-expunge.o cmd-fetch.o
cmd-idle.o cmd-list.o cmd-login.o cmd-logout.o cmd-lsub.o cmd-namespace.o
cmd-noop.o cmd-rename.o cmd-search.o cmd-select.o cmd-sort.o cmd-status.o
cmd-s...
2019 Jun 18
0
[libnbd PATCH 2/8] states: Consolidate search for current reply's command
...te which reply is current. This also
consolidates the logic when a reply has an unexpected handle -
previously, we failed for structured (even though the length makes it
easy to recover) and passed for simple (even though there is nothing
on the wire to state if this response is associated with NBD_CMD_READ
if we did not negotiate structured replies, which would allow our
state machine to start parsing arbitrary data as new responses); we're
better off just always moving to DEAD.
---
generator/states-reply-simple.c | 15 ++-----
generator/states-reply-structured.c | 61 ++++++------------...