Home
last modified time | relevance | path

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

12345678910>>...31

/dflybsd-src/sys/dev/raid/ips/
H A Dips_commands.c43 ips_timed_wait(ips_command_t *command, const char *id, int timo) in ips_timed_wait() argument
47 while (command->completed == 0) { in ips_timed_wait()
49 if (command->completed == 0) in ips_timed_wait()
50 error = tsleep(&command->completed, 0, id, timo); in ips_timed_wait()
66 ips_wakeup_callback(ips_command_t *command) in ips_wakeup_callback() argument
68 bus_dmamap_sync(command->sc->command_dmatag, command->command_dmamap, in ips_wakeup_callback()
70 command->completed = 1; in ips_wakeup_callback()
71 wakeup(&command->completed); in ips_wakeup_callback()
81 ips_io_request_finish(ips_command_t *command) in ips_io_request_finish() argument
83 struct bio *bio = command->arg; in ips_io_request_finish()
[all …]
H A Dips.c106 ips_command_t *command = cmdptr; in ips_cmd_dmaload() local
110 command->command_phys_addr = segments[0].ds_addr; in ips_cmd_dmaload()
119 ips_command_t *command; in ips_cmdqueue_free() local
124 command = &sc->commandarray[i]; in ips_cmdqueue_free()
125 if (command->command_phys_addr == 0) in ips_cmdqueue_free()
128 command->command_dmamap); in ips_cmdqueue_free()
130 command->command_buffer, in ips_cmdqueue_free()
131 command->command_dmamap); in ips_cmdqueue_free()
132 if (command->data_dmamap != NULL) in ips_cmdqueue_free()
133 bus_dmamap_destroy(command->data_dmatag, in ips_cmdqueue_free()
[all …]
H A Dips_ioctl.c34 ips_ioctl_finish(ips_command_t *command) in ips_ioctl_finish() argument
36 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()
56 ips_command_t *command; in ips_ioctl_callback() local
60 command = cmdptr; in ips_ioctl_callback()
61 ioctl_cmd = command->arg; in ips_ioctl_callback()
62 command_buffer = command->command_buffer; in ips_ioctl_callback()
65 ips_insert_free_cmd(command->sc, command); in ips_ioctl_callback()
[all …]
H A Dips_disk.c46 static void ipsd_dump_block_complete(ips_command_t *command);
224 ips_command_t *command; in ipsd_dump() local
237 if (ips_get_free_cmd(sc, &command, 0) != 0) { in ipsd_dump()
242 command->data_dmatag = sc->sg_dmatag; in ipsd_dump()
243 command->callback = ipsd_dump_block_complete; in ipsd_dump()
245 command_struct = (ips_io_cmd *)command->command_buffer; in ipsd_dump()
246 command_struct->id = command->id; in ipsd_dump()
256 if (bus_dmamap_load(command->data_dmatag, command->data_dmamap, in ipsd_dump()
257 va, len, ipsd_dump_map_sg, command, 0) != 0) { in ipsd_dump()
261 if (COMMAND_ERROR(&command->status)) { in ipsd_dump()
[all …]
/dflybsd-src/contrib/tcsh-6/
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 …]
H A Dsh.parse.c41 static struct command *syn0 (const struct wordent *, const struct wordent *, int);
42 static struct command *syn1 (const struct wordent *, const struct wordent *, int);
43 static struct command *syn1a (const struct wordent *, const struct wordent *, int);
44 static struct command *syn1b (const struct wordent *, const struct wordent *, int);
45 static struct command *syn2 (const struct wordent *, const struct wordent *, int);
46 static struct command *syn3 (const struct wordent *, const struct wordent *, int);
205 struct command *
222 static struct command *
226 struct command *t, *t1; in syn0()
290 static struct command *
[all …]
/dflybsd-src/usr.sbin/installer/libinstaller/
H A Dcommands.h53 struct command;
58 struct command *head;
59 struct command *tail;
62 struct command { struct
63 struct command *next; argument
64 struct command *prev; argument
93 struct command *command_add(struct commands *, const char *, ...)
96 void command_set_log_mode(struct command *, int);
97 void command_set_failure_mode(struct command *, int);
98 void command_set_desc(struct command *, const char *, ...)
[all …]
H A Dcommands.c84 static struct command *
87 struct command *cmd; in command_new()
89 AURA_MALLOC(cmd, command); in command_new()
116 struct command *
120 struct command *cmd; in command_add()
139 command_set_log_mode(struct command *cmd, int log_mode) in command_set_log_mode()
152 command_set_failure_mode(struct command *cmd, int failure_mode) in command_set_failure_mode()
162 command_set_desc(struct command *cmd, const char *fmt, ...) in command_set_desc()
178 command_set_tag(struct command *cmd, const char *fmt, ...) in command_set_tag()
190 struct command *
[all …]
/dflybsd-src/sys/ddb/
H A Ddb_command.c61 SET_DECLARE(db_cmd_set, struct command);
62 SET_DECLARE(db_show_cmd_set, struct command);
72 static struct command db_show_all_cmds[] = {
80 static struct command db_show_cmds[] = {
93 static struct command db_command_table[] = {
127 static struct command *db_last_command = NULL;
157 static void db_cmd_list (struct command *table,
158 struct command **aux_tablep,
159 struct command **aux_tablep_end);
160 static int db_cmd_search (char *name, struct command *table,
[all …]
/dflybsd-src/tools/regression/bin/sh/builtins/
H A Dcommand6.03 case $(command -pV ls) in
5 echo "Failed: \$(command -pV ls) should not match */var/empty/ls*" ;;
8 echo "Failed: \$(command -pV ls) match \"ls is\"*\" \"/*/ls" ;;
10 command -pV true
11 command -pV /bin/ls
16 command -pV fun
17 command -pV break
18 command -pV if
19 command -pV {
22 command -pV foo
H A Dlocale1.020 case $(command . /var/empty/foo 2>&1) in
27 case $(LC_ALL=C command . /var/empty/foo 2>&1) in
33 case $(LC_ALL=C LANG=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
39 case $(LC_ALL=C LC_MESSAGES=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
45 case $(LC_CTYPE=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
52 case $(export LANG=nl_NL.ISO8859-1; command . /var/empty/foo 2>&1) in
58 case $(export LC_MESSAGES=nl_NL.ISO8859-1; command . /var/empty/foo 2>&1) in
64 case $(export LC_ALL=nl_NL.ISO8859-1; command . /var/empty/foo 2>&1) in
70 case $(LANG=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
76 case $(LC_MESSAGES=nl_NL.ISO8859-1 command . /var/empty/foo 2>&1) in
[all …]
H A Dcommand7.012 check '"$(PATH=/libexec command -V ld-elf.so.2)" = "ld-elf.so.2 is /libexec/ld-elf.so.2"'
13 check '"$(PATH=/libexec command -V ld-elf.so.2; :)" = "ld-elf.so.2 is /libexec/ld-elf.so.2"'
14 check '"$(PATH=/libexec command -pv ld-elf.so.2)" = ""'
15 check '"$(PATH=/libexec command -pv ld-elf.so.2; :)" = ""'
19 check '"$(command -V ld-elf.so.2)" = "ld-elf.so.2 is /libexec/ld-elf.so.2"'
20 check '"$(command -V ld-elf.so.2; :)" = "ld-elf.so.2 is /libexec/ld-elf.so.2"'
21 check '"$(command -pv ld-elf.so.2)" = ""'
22 check '"$(command -pv ld-elf.so.2; :)" = ""'
26 check '"$(command -v ls)" = ""'
27 case $(command -pv ls) in
[all …]
H A Dcommand5.02 command -V ls
3 command -V true
4 command -V /bin/ls
9 command -V fun
10 command -V break
11 command -V if
12 command -V {
15 command -V foo
H A Dcommand3.02 command -v ls
3 command -v true
4 command -v /bin/ls
9 command -v fun
10 command -v break
11 command -v if
14 command -v foo
/dflybsd-src/tools/regression/bin/sh/expansion/
H A Dlocal2.09 command local v=$w
11 command command local v=$w
19 command local v=~
21 command command local v=~
28 command local v=x:~
30 command command local v=x:~
H A Dexport3.08 command export v=$w
10 command command export v=$w
18 command export v=~
20 command command export v=~
27 command export v=x:~
29 command command export v=x:~
/dflybsd-src/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()
/dflybsd-src/contrib/gdb-7/gdb/mi/
H A Dmi-cmds.c30 static struct mi_cmd **lookup_table (const char *command);
183 mi_lookup (const char *command) in mi_lookup() argument
185 return *lookup_table (command); in mi_lookup()
201 lookup_table (const char *command) in lookup_table() argument
207 for (chp = command; *chp; chp++) in lookup_table()
222 if (strcmp (command, (*entry)->name) == 0) in lookup_table()
237 struct mi_cmd *command; in build_table() local
242 for (command = commands; command->name != 0; command++) in build_table()
244 struct mi_cmd **entry = lookup_table (command->name); in build_table()
249 command->name); in build_table()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/cli/
H A Dcli-script.c69 char *command; member
604 struct command_line *command = NULL; in while_command() local
608 command = get_command_line (while_control, arg); in while_command()
610 if (command == NULL) in while_command()
616 execute_control_command_untraced (command); in while_command()
617 free_command_lines (&command); in while_command()
628 struct command_line *command = NULL; in if_command() local
632 command = get_command_line (if_control, arg); in if_command()
634 if (command == NULL) in if_command()
640 execute_control_command_untraced (command); in if_command()
[all …]
/dflybsd-src/sys/dev/agp/
H A Dagp.c307 u_int32_t command; in agp_v3_enable() local
357 command = 0; in agp_v3_enable()
358 command = AGP_MODE_SET_RQ(0, rq); in agp_v3_enable()
359 command = AGP_MODE_SET_ARQSZ(command, arqsz); in agp_v3_enable()
360 command = AGP_MODE_SET_CAL(command, cal); in agp_v3_enable()
361 command = AGP_MODE_SET_SBA(command, sba); in agp_v3_enable()
362 command = AGP_MODE_SET_FW(command, fw); in agp_v3_enable()
363 command = AGP_MODE_SET_RATE(command, rate); in agp_v3_enable()
364 command = AGP_MODE_SET_MODE_3(command, 1); in agp_v3_enable()
365 command = AGP_MODE_SET_AGP(command, 1); in agp_v3_enable()
[all …]
/dflybsd-src/games/hunt/hunt/
H A Dotto.c101 static char command[1024]; /* XXX */ variable
189 memcpy(buf, command, comlen); in otto()
388 command[comlen++] = toupper(cmd); in face_and_move_direction()
398 command[comlen++] = cmd; in face_and_move_direction()
416 command[comlen++] = 'o'; in attack()
417 command[comlen++] = 'o'; in attack()
419 command[comlen++] = ' '; in attack()
430 command[comlen++] = 'f'; in attack()
431 command[comlen++] = 'f'; in attack()
433 command[comlen++] = ' '; in attack()
[all …]
/dflybsd-src/usr.bin/sdpquery/
H A Dsdpquery.c51 static struct command { struct
52 const char *command; argument
65 struct command *cmd; in main() argument
119 for (cmd = commands ; cmd->command != NULL; cmd++) { in main()
120 if (strcasecmp(*argv, cmd->command) == 0) in main()
131 struct command *cmd; in usage()
148 for (cmd = commands ; cmd->command != NULL ; cmd++) in usage()
149 fprintf(stderr, "\t%-13s%s\n", cmd->command, cmd->usage); in usage()
/dflybsd-src/contrib/tcp_wrappers/
H A Dshell_cmd.c35 void shell_cmd(command) in shell_cmd() argument
36 char *command; in shell_cmd()
51 do_child(command);
61 static void do_child(command) in do_child() argument
62 char *command; in do_child()
83 (void) execl("/bin/sh", "sh", "-c", command, (char *) 0);
/dflybsd-src/contrib/tcpdump/
H A Dprint-ipx.c156 int command, i; in ipx_sap_print() local
158 command = GET_BE_U_2(ipx); in ipx_sap_print()
162 switch (command) { in ipx_sap_print()
165 if (command == 1) in ipx_sap_print()
175 if (command == 2) in ipx_sap_print()
217 ND_PRINT("ipx-sap-?%x", command); in ipx_sap_print()
229 int command, i; in ipx_rip_print() local
231 command = GET_BE_U_2(ipx); in ipx_rip_print()
235 switch (command) { in ipx_rip_print()
258 ND_PRINT("ipx-rip-?%x", command); in ipx_rip_print()

12345678910>>...31