Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 1531) sorted by relevance

12345678910>>...62

/freebsd/sys/dev/ips/
H A Dips_commands.c41 static void ips_wakeup_callback(ips_command_t *command) in ips_wakeup_callback() argument
43 bus_dmamap_sync(command->sc->command_dmatag, command->command_dmamap, in ips_wakeup_callback()
45 sema_post(&command->sc->cmd_sema); in ips_wakeup_callback()
51 static void ips_io_request_finish(ips_command_t *command) in ips_io_request_finish() argument
54 struct bio *iobuf = command->arg; in ips_io_request_finish()
56 bus_dmamap_sync(command->data_dmatag, command->data_dmamap, in ips_io_request_finish()
59 bus_dmamap_sync(command->data_dmatag, command->data_dmamap, in ips_io_request_finish()
62 bus_dmamap_unload(command->data_dmatag, command->data_dmamap); in ips_io_request_finish()
63 if(COMMAND_ERROR(command)){ in ips_io_request_finish()
66 printf("ips: io error, status= 0x%x\n", command->status.value); in ips_io_request_finish()
[all …]
H A Dips.c96 static int ips_ioctl(struct cdev *dev, u_long command, caddr_t addr, int32_t flags, struct thread *td) in ips_ioctl() argument
101 return ips_ioctl_request(sc, command, addr, flags); in ips_ioctl()
106 ips_command_t *command = cmdptr; in ips_cmd_dmaload() local
109 command->command_phys_addr = segments[0].ds_addr; in ips_cmd_dmaload()
117 ips_command_t *command; in ips_cmdqueue_free() local
122 command = &sc->commandarray[i]; in ips_cmdqueue_free()
124 if(command->command_phys_addr == 0) in ips_cmdqueue_free()
127 command->command_dmamap); in ips_cmdqueue_free()
129 command->command_buffer, in ips_cmdqueue_free()
130 command in ips_cmdqueue_free()
148 ips_command_t *command; ips_cmdqueue_init() local
196 ips_command_t *command; ips_get_free_cmd() local
221 ips_insert_free_cmd(ips_softc_t * sc,ips_command_t * command) ips_insert_free_cmd() argument
308 ips_command_t *command; ips_timeout() local
516 ips_command_t *command; ips_morpheus_check_intr() local
547 ips_morpheus_poll(ips_command_t * command) ips_morpheus_poll() argument
562 ips_issue_morpheus_cmd(ips_command_t * command) ips_issue_morpheus_cmd() argument
728 ips_issue_copperhead_cmd(ips_command_t * command) ips_issue_copperhead_cmd() argument
750 ips_copperhead_poll(ips_command_t * command) ips_copperhead_poll() argument
[all...]
H A Dips_ioctl.c35 static void ips_ioctl_finish(ips_command_t *command) in ips_ioctl_finish() argument
37 ips_ioctl_t *ioctl_cmd = command->arg; in ips_ioctl_finish()
45 bus_dmamap_sync(command->sc->command_dmatag, command->command_dmamap, in ips_ioctl_finish()
48 ioctl_cmd->status.value = command->status.value; in ips_ioctl_finish()
49 ips_insert_free_cmd(command->sc, command); in ips_ioctl_finish()
54 ips_command_t *command = cmdptr; in ips_ioctl_callback() local
55 ips_ioctl_t *ioctl_cmd = command->arg; in ips_ioctl_callback()
56 ips_generic_cmd *command_buffer = command->command_buffer; in ips_ioctl_callback()
58 ips_set_error(command, error); in ips_ioctl_callback()
61 command_buffer->id = command->id; in ips_ioctl_callback()
[all …]
H A Dips_disk.c43 static void ipsd_dump_block_complete(ips_command_t *command);
189 ips_command_t *command; in ipsd_dump() local
204 if (ips_get_free_cmd(sc, &command, 0) != 0) { in ipsd_dump()
209 command->data_dmatag = sc->sg_dmatag; in ipsd_dump()
210 command->callback = ipsd_dump_block_complete; in ipsd_dump()
212 command_struct = (ips_io_cmd *)command->command_buffer; in ipsd_dump()
213 command_struct->id = command->id; in ipsd_dump()
225 if (bus_dmamap_load(command->data_dmatag, command->data_dmamap, in ipsd_dump()
226 va, len, ipsd_dump_map_sg, command, BUS_DMA_NOWAIT) != 0) { in ipsd_dump()
230 if (COMMAND_ERROR(command)) { in ipsd_dump()
[all …]
H A Dips.h68 #define clear_ips_command(command) bzero(&((command)->status), (unsigned long)(&(command)[1])-(unsi… argument
72 #define COMMAND_ERROR(command) (((command)->status.fields.basic_status & IPS_GSC_STATUS_MASK) >= I… argument
74 #define ips_set_error(command, error) do { \ argument
75 (command)->status.fields.basic_status = IPS_DRV_ERROR; \
76 (command)->status.fields.reserved = ((error) & 0x0f); \
112 void (* callback)(struct ips_command *command);
147 void (* ips_issue_cmd)(ips_command_t *command);
148 void (* ips_poll_cmd)(ips_command_t *command);
172 extern int ips_get_free_cmd(ips_softc_t *sc, ips_command_t **command, unsigned long flags);
173 extern void ips_insert_free_cmd(ips_softc_t *sc, ips_command_t *command);
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d36 } command[int]; variable
42 command[i].str = "foobarbaz";
43 command[i].substr = "barbaz";
46 command[i].str = "foofoofoo";
47 command[i].substr = "foo";
50 command[i].str = "boofoofoo";
51 command[i].substr = "foo";
54 command[i].str = "foobarbaz";
55 command[i].substr = "barbazzy";
58 command[i].str = "foobar";
[all …]
H A Dtst.substr.d37 } command[int]; variable
48 command[i].index = 3;
49 command[i].nolen = 1;
52 command[i].index = 300;
53 command[i].nolen = 1;
56 command[i].index = -10;
57 command[i].nolen = 1;
60 command[i].index = 0;
61 command[i].nolen = 1;
64 command[i].index = 1;
[all …]
H A Dtst.strtok.d91 } command[int]; variable
97 command[i].s1 = "";
98 command[i].s2 = "";
99 command[i].result = "";
102 command[i].s1 = "foo";
103 command[i].s2 = "";
104 command[i].result = command[i].s1;
107 command[i].s1 = "foobar";
108 command[i].s2 = "o";
109 command[i].result = "f";
[all …]
/freebsd/contrib/tcsh/
H A Dsh.decls.h39 extern void dosource (Char **, struct command *);
41 extern void goodbye (Char **, struct command *);
60 extern void dodirs (Char **, struct command *);
64 extern void dochngd (Char **, struct command *);
66 extern void dopushd (Char **, struct command *);
67 extern void dopopd (Char **, struct command *);
77 extern void Dfix (struct command *);
114 extern void doexec (struct command *, int);
115 extern void dohash (Char **, struct command *);
116 extern void dounhash (Char **, struct command *);
[all …]
H A Dtc.decls.h57 extern void showall (Char **, struct command *);
62 extern void dobindkey (Char **, struct command *);
82 extern void dolist (Char **, struct command *);
83 extern void dotermname (Char **, struct command *);
84 extern void dotelltc (Char **, struct command *);
85 extern void doechotc (Char **, struct command *);
86 extern void dosettc (Char **, struct command *);
88 extern void dowhich (Char **, struct command *);
105 extern void doaliases (Char **, struct command *);
122 extern void dosetpath (Char **, struct command *);
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DArgs.cpp67 // Trims all whitespace that can separate command line arguments from the left
75 // command string, processing quotes and backslashes in a shell-like manner.
80 ParseSingleArgument(llvm::StringRef command) { in ParseSingleArgument() argument
88 // Since we can have multiple quotes that form a single command in a command in ParseSingleArgument()
97 size_t regular = command.find_first_of(" \t\r\"'`\\"); in ParseSingleArgument()
98 arg += command.substr(0, regular); in ParseSingleArgument()
99 command = command.substr(regular); in ParseSingleArgument()
101 if (command in ParseSingleArgument()
168 Args(llvm::StringRef command) Args() argument
247 SetCommandString(llvm::StringRef command) SetCommandString() argument
[all...]
/freebsd/contrib/wpa/wpa_supplicant/doc/docbook/
H A Dwpa_priv.sgml20 <command>wpa_priv</command>
31 <para><command>wpa_priv</command> is a privilege separation helper that
32 minimizes the size of <command>wpa_supplicant</command> code that needs
43 <para><command>wpa_priv</command> needs to be run with network admin
45 interface that is included on the command line; any other interface will
46 be off limits for <command>wpa_supplicant</command> in this kind of
47 configuration. After this, <command>wpa_supplicant</command> can be run as
56 <command>wpa_priv</command> to allow users in the
58 <command>wpa_supplicant</command> with privilege separation:</para>
73 <para>Start <command>wpa_priv</command> as root (e.g., from system
[all …]
/freebsd/contrib/netbsd-tests/lib/libcurses/director/
H A Dtestlang_parse.y116 static cmd_line_t command; variable
237 if (command.returns[0].return_index == -1)
243 vars[command.returns[0].return_index].name,
244 returns_enum_names[command.returns[1].return_type]);
247 if (((command.returns[1].return_type == ret_byte) &&
248 (vars[command.returns[0].return_index].type != ret_byte)) ||
249 vars[command.returns[0].return_index].type != ret_string)
252 vars[command.returns[0].return_index].type],
253 vars[command.returns[0].return_index].type,
254 returns_enum_names[command.returns[1].return_type],
[all …]
/freebsd/bin/sh/tests/builtins/
H A Dcommand6.02 case $(command -pV ls) in
4 echo "Failed: \$(command -pV ls) should not match */var/empty/ls*" ;;
7 echo "Failed: \$(command -pV ls) match \"ls is\"*\" \"/*/ls" ;;
9 command -pV true
10 command -pV /bin/ls
15 command -pV fun
16 command -pV break
17 command -pV if
18 command -pV {
21 command -pV foo
H A Dcommand7.011 check '"$(PATH=/libexec command -V ld-elf.so.1)" = "ld-elf.so.1 is /libexec/ld-elf.so.1"'
12 check '"$(PATH=/libexec command -V ld-elf.so.1; :)" = "ld-elf.so.1 is /libexec/ld-elf.so.1"'
13 check '"$(PATH=/libexec command -pv ld-elf.so.1)" = ""'
14 check '"$(PATH=/libexec command -pv ld-elf.so.1; :)" = ""'
18 check '"$(command -V ld-elf.so.1)" = "ld-elf.so.1 is /libexec/ld-elf.so.1"'
19 check '"$(command -V ld-elf.so.1; :)" = "ld-elf.so.1 is /libexec/ld-elf.so.1"'
20 check '"$(command -pv ld-elf.so.1)" = ""'
21 check '"$(command -pv ld-elf.so.1; :)" = ""'
25 check '"$(command -v ls)" = ""'
26 case $(command -pv ls) in
[all …]
H A Dlocale1.019 case $(command . /var/empty/foo 2>&1) in
26 case $(LC_ALL=C command . /var/empty/foo 2>&1) in
32 case $(LC_ALL=C LANG=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
38 case $(LC_ALL=C LC_MESSAGES=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
44 case $(LC_CTYPE=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
51 case $(export LANG=nl_NL.ISO8859-1; command . /var/empty/foo 2>&1) in
57 case $(export LC_MESSAGES=nl_NL.ISO8859-1; command . /var/empty/foo 2>&1) in
63 case $(export LC_ALL=nl_NL.ISO8859-1; command . /var/empty/foo 2>&1) in
69 case $(LANG=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
75 case $(LC_MESSAGES=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
[all …]
H A Dcommand5.01 command -V ls
2 command -V true
3 command -V /bin/ls
8 command -V fun
9 command -V break
10 command -V if
11 command -V {
14 command -V foo
/freebsd/tools/tools/git/
H A Dmfc-candidates.lua12 local function exec_command(command)
13 local handle = assert(io.popen(command))
24 local command = "git rev-list --first-parent --reverse "
25 command = command .. to_branch .. ".." .. from_branch
27 command = command .. " --committer \\<" .. author .. "@"
30 command = command .. " " .. dirspec
34 print(command)
36 local handle = assert(io.popen(command))
48 local command = "git log " .. from_branch .. ".." .. to_branch
49 command = command .. " --grep 'cherry picked from'"
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Dposix.exp1 Posix says we should execute the command as if run by system(3)
5 a command
6 a command prefixed by '+' executes even with -n
7 another command
9 echo a command
11 a command prefixed by '+' executes even with -n
12 echo another command
14 { echo a command
17 a command prefixed by '+' executes even with -n
18 { echo another command
/freebsd/bin/sh/tests/expansion/
H A Dexport3.07 command export v=$w
9 command command export v=$w
17 command export v=~
19 command command export v=~
26 command export v=x:~
28 command command export v=x:~
H A Dlocal2.08 command local v=$w
10 command command local v=$w
18 command local v=~
20 command command local v=~
27 command local v=x:~
29 command command local v=x:~
/freebsd/contrib/sendmail/contrib/
H A Dsmcontrol.pl74 my $command = shift;
96 print SOCK "$command\n";
333 my $command = shift;
339 if (not defined $command)
343 if ($command eq "status")
364 elsif (lc($command) eq "shutdown")
368 elsif (lc($command) eq "restart")
372 elsif (lc($command) eq "start")
376 elsif (lc($command) eq "memdump")
380 elsif (lc($command) eq "help")
[all …]
/freebsd/contrib/kyua/utils/cmdline/
H A Dcommands_map.ipp55 /// Inserts a new command into the map.
57 /// \param command The command to insert. This must have been dynamically
58 /// allocated with new. The call grabs ownership of the command, or the
59 /// command is freed if the call fails.
60 /// \param category The category this command belongs to. Defaults to the empty
61 /// string, which indicates that the command has not be categorized.
64 cmdline::commands_map< BaseCommand >::insert(command_ptr command,
67 INV(_commands.find(command->name()) == _commands.end());
68 BaseCommand* ptr = command.release();
75 /// Inserts a new command into the map.
[all …]
/freebsd/usr.sbin/autofs/
H A Dpopen.c62 char *command; member
80 char *arg, *argv[ARGV_LEN], *command; in auto_popen() local
95 command = argv[0]; in auto_popen()
106 command = concat(command, ' ', arg); in auto_popen()
110 cur->command = checked_strdup(command); in auto_popen()
131 log_debugx("executing \"%s\" as pid %d", command, pid); in auto_popen()
176 cur->command, pid, WTERMSIG(status)); in auto_pclose()
182 cur->command, pid, WEXITSTATUS(status)); in auto_pclose()
186 log_debugx("\"%s\", pid %d, terminated gracefully", cur->command, pid); in auto_pclose()
188 free(cur->command); in auto_pclose()
/freebsd/usr.sbin/bluetooth/bthidcontrol/
H A Dbthidcontrol.c48 static struct bthid_command * find_bthid_command(char const *command, struct bthid_command *categor…
162 fprintf(stdout, "Usage: %s\n%s\n", c->command, c->description); in do_bthid_command()
173 find_bthid_command(char const *command, struct bthid_command *category) in find_bthid_command() argument
177 for (c = category; c->command != NULL; c++) { in find_bthid_command()
178 char *c_end = strchr(c->command, ' '); in find_bthid_command()
181 int len = c_end - c->command; in find_bthid_command()
183 if (strncasecmp(command, c->command, len) == 0) in find_bthid_command()
185 } else if (strcasecmp(command, c->command) == 0) in find_bthid_command()
198 for (c = category; c->command != NULL; c++) in print_bthid_command()
199 fprintf(stdout, "\t%s\n", c->command); in print_bthid_command()

12345678910>>...62