Searched refs:cmd (Results 101 - 125 of 2522) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Dlsystem.c44 lsystem(cmd, donemsg)
45 char *cmd;
62 if (cmd[0] == '-')
63 cmd++;
68 putstr(cmd);
74 if (*cmd == '\0')
75 cmd = getenv("COMSPEC");
136 if (*cmd == '\0')
140 char *esccmd = shell_quote(cmd);
152 if (*cmd
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/stand/boot2440/
H A Ds3csdi.c55 static void sssdi_perform_pio_read(struct sdmmc_command *cmd);
56 //static void sssdi_perform_pio_write(struct sdmmc_command *cmd);
158 s3csd_exec_cmd(void *priv, struct sdmmc_command *cmd) argument
171 SDI_REG(SDI_CMD_ARG) = cmd->c_arg;
173 cmd_control = (cmd->c_opcode & SDICMDCON_CMD_MASK) |
175 if (cmd->c_flags & SCF_RSP_PRESENT)
177 if (cmd->c_flags & SCF_RSP_136)
180 if (cmd->c_datalen > 0 && cmd->c_data != NULL) {
183 DPRINTF(("DATA, datalen: %d, blk_size: %d, offset: %d\n", cmd
342 sssdi_perform_pio_read(struct sdmmc_command *cmd) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/compat/osf1/
H A Dosf1_ioctl.c83 register_t *retval, int cmd, int dir, int len);
85 register_t *retval, int cmd, int dir, int len);
87 register_t *retval, int cmd, int dir, int len);
93 int op, dir, group, cmd, len; local
101 cmd = OSF1_IOCCMD(op);
136 "OSF/1 IOCTL: group = %c, cmd = %d, len = %d, dir = %s\n",
137 group, cmd, len, dirstr);
145 return osf1_ioctl_f(l, &a, retval, cmd, dir, len);
147 return osf1_ioctl_i(l, &a, retval, cmd, dir, len);
149 return osf1_ioctl_t(l, &a, retval, cmd, di
156 osf1_ioctl_f(struct lwp *l, const struct sys_ioctl_args *uap, register_t *retval, int cmd, int dir, int len) argument
178 osf1_ioctl_i(struct lwp *l, const struct sys_ioctl_args *uap, register_t *retval, int cmd, int dir, int len) argument
206 osf1_ioctl_t(struct lwp *l, const struct sys_ioctl_args *uap, register_t *retval, int cmd, int dir, int len) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/
H A Dtoollib.c25 const char *command_name(struct cmd_context *cmd) argument
27 return cmd->command->name;
33 char *skip_dev_dir(struct cmd_context *cmd, const char *vg_name, argument
55 if (!dm_split_lvm_name(cmd->mem, vg_name, &vgname, &lvname, &layer) ||
62 if (!(vglv = dm_pool_alloc(cmd->mem, vglv_sz)) ||
72 if (!strncmp(vg_name, cmd->dev_dir, strlen(cmd->dev_dir))) {
75 vg_name += strlen(cmd->dev_dir);
87 int process_each_lv_in_vg(struct cmd_context *cmd, argument
127 if (lv_is_virtual_origin(lvl->lv) && !arg_count(cmd, all_AR
168 process_each_lv(struct cmd_context *cmd, int argc, char **argv, uint32_t flags, void *handle, int (*process_single) (struct cmd_context * cmd, struct logical_volume * lv, void *handle)) argument
338 process_each_segment_in_pv(struct cmd_context *cmd, struct volume_group *vg, struct physical_volume *pv, void *handle, int (*process_single) (struct cmd_context * cmd, struct volume_group * vg, struct pv_segment * pvseg, void *handle)) argument
400 process_each_segment_in_lv(struct cmd_context *cmd, struct logical_volume *lv, void *handle, int (*process_single) (struct cmd_context * cmd, struct lv_segment * seg, void *handle)) argument
422 _process_one_vg(struct cmd_context *cmd, const char *vg_name, const char *vgid, struct dm_list *tags, struct dm_list *arg_vgnames, uint32_t flags, void *handle, int ret_max, int (*process_single) (struct cmd_context * cmd, const char *vg_name, struct volume_group * vg, void *handle)) argument
464 process_each_vg(struct cmd_context *cmd, int argc, char **argv, uint32_t flags, void *handle, int (*process_single) (struct cmd_context * cmd, const char *vg_name, struct volume_group * vg, void *handle)) argument
558 process_each_pv_in_vg(struct cmd_context *cmd, struct volume_group *vg, const struct dm_list *tags, void *handle, process_single_pv_fn_t process_single) argument
580 _process_all_devs(struct cmd_context *cmd, void *handle, int (*process_single) (struct cmd_context * cmd, struct volume_group * vg, struct physical_volume * pv, void *handle)) argument
630 process_each_pv(struct cmd_context *cmd, int argc, char **argv, struct volume_group *vg, uint32_t flags, int scan_label_only, void *handle, int (*process_single) (struct cmd_context * cmd, struct volume_group * vg, struct physical_volume * pv, void *handle)) argument
800 extract_vgname(struct cmd_context *cmd, const char *lv_name) argument
861 default_vgname(struct cmd_context *cmd) argument
1213 vgcreate_params_set_from_args(struct cmd_context *cmd, struct vgcreate_params *vp_new, struct vgcreate_params *vp_def) argument
1254 lv_refresh(struct cmd_context *cmd, struct logical_volume *lv) argument
1259 vg_refresh_visible(struct cmd_context *cmd, struct volume_group *vg) argument
1272 lv_spawn_background_polling(struct cmd_context *cmd, struct logical_volume *lv) argument
1302 pvcreate_params_validate(struct cmd_context *cmd, int argc, char **argv, struct pvcreate_params *pp) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dcmd-bind-key.c1 /* $Id: cmd-bind-key.c,v 1.1.1.2 2011/08/17 18:40:03 jmmv Exp $ */
30 int cmd_bind_key_exec(struct cmd *, struct cmd_ctx *);
32 int cmd_bind_key_table(struct cmd *, struct cmd_ctx *, int);
58 cmd_bind_key_exec(struct cmd *self, struct cmd_ctx *ctx)
88 cmd_bind_key_table(struct cmd *self, struct cmd_ctx *ctx, int key)
94 enum mode_key_cmd cmd; local
102 cmd = mode_key_fromstring(mtab->cmdstr, args->argv[1]);
103 if (cmd == MODEKEY_NONE) {
111 mbind->cmd = cmd;
[all...]
H A Dcmd-display-panes.c1 /* $Id: cmd-display-panes.c,v 1.1.1.2 2011/08/17 18:40:04 jmmv Exp $ */
27 int cmd_display_panes_exec(struct cmd *, struct cmd_ctx *);
40 cmd_display_panes_exec(struct cmd *self, struct cmd_ctx *ctx)
H A Dcmd-has-session.c1 /* $Id: cmd-has-session.c,v 1.1.1.2 2011/08/17 18:40:04 jmmv Exp $ */
27 int cmd_has_session_exec(struct cmd *, struct cmd_ctx *);
40 cmd_has_session_exec(struct cmd *self, struct cmd_ctx *ctx)
H A Dcmd-kill-server.c1 /* $Id: cmd-kill-server.c,v 1.1.1.2 2011/08/17 18:40:04 jmmv Exp $ */
30 int cmd_kill_server_exec(struct cmd *, struct cmd_ctx *);
44 cmd_kill_server_exec(unused struct cmd *self, unused struct cmd_ctx *ctx)
H A Dcmd-list-commands.c1 /* $Id: cmd-list-commands.c,v 1.1.1.2 2011/08/17 18:40:04 jmmv Exp $ */
27 int cmd_list_commands_exec(struct cmd *, struct cmd_ctx *);
41 cmd_list_commands_exec(unused struct cmd *self, struct cmd_ctx *ctx)
H A Dcmd-refresh-client.c1 /* $Id: cmd-refresh-client.c,v 1.1.1.2 2011/08/17 18:40:04 jmmv Exp $ */
27 int cmd_refresh_client_exec(struct cmd *, struct cmd_ctx *);
40 cmd_refresh_client_exec(struct cmd *self, struct cmd_ctx *ctx)
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/hostapd/
H A Dhostapd_cli.c97 " wps_ap_pin <cmd> [params..] enable/disable AP PIN\n"
181 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) argument
192 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len,
195 printf("'%s' command timed out.\n", cmd);
198 printf("'%s' command failed.\n", cmd);
209 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) argument
211 return _wpa_ctrl_command(ctrl, cmd, 1);
230 char *cmd; local
236 cmd
381 char cmd[256]; local
433 wpa_ctrl_command_sta(struct wpa_ctrl *ctrl, char *cmd, char *addr, size_t addr_len) argument
472 char addr[32], cmd[64]; local
508 char cmd[256]; local
571 const char *cmd; member in struct:hostapd_cli_cmd
605 struct hostapd_cli_cmd *cmd, *match = NULL; local
667 char cmd[256], *res, *argv[max_args], *pos; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dw83l518d_sdmmc.c326 wb_sdmmc_rsp_read_long(struct wb_softc *wb, struct sdmmc_command *cmd) argument
328 uint8_t *p = (uint8_t *)cmd->c_resp;
332 cmd->c_error = ENXIO;
346 wb_sdmmc_rsp_read_short(struct wb_softc *wb, struct sdmmc_command *cmd) argument
348 uint8_t *p = (uint8_t *)cmd->c_resp;
351 cmd->c_error = ENXIO;
362 wb_sdmmc_transfer_data(struct wb_softc *wb, struct sdmmc_command *cmd) argument
371 if (ISSET(cmd->c_flags, SCF_CMD_READ)) {
405 datalen = MIN(datalen, cmd->c_resid);
407 if (ISSET(cmd
420 wb_sdmmc_exec_command(sdmmc_chipset_handle_t sch, struct sdmmc_command *cmd) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/evbsh3/t_sh7706lan/
H A Dscimci.c419 scimci_exec_command(sdmmc_chipset_handle_t sch, struct sdmmc_command *cmd) argument
426 DPRINTF(1,("%s: start cmd %d arg=%#x data=%p dlen=%d flags=%#x "
428 cmd->c_opcode, cmd->c_arg, cmd->c_data, cmd->c_datalen,
429 cmd->c_flags, curproc, curproc ? curproc->p_comm : ""));
433 if (cmd->c_opcode == MMC_GO_IDLE_STATE)
439 scimci_putc(0x40 | (cmd->c_opcode & 0x3f));
440 scimci_putc((cmd
510 scimci_cmd_cfgread(struct scimci_softc *sc, struct sdmmc_command *cmd) argument
562 scimci_cmd_read(struct scimci_softc *sc, struct sdmmc_command *cmd) argument
614 scimci_cmd_write(struct scimci_softc *sc, struct sdmmc_command *cmd) argument
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dev/dtrace/
H A Ddtrace_modevent.c29 dtrace_modcmd(modcmd_t cmd, void *data) argument
33 switch (cmd) {
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/
H A Ddisplay.h29 const char *display_size(const struct cmd_context *cmd, uint64_t size);
30 const char *display_size_long(const struct cmd_context *cmd, uint64_t size);
31 const char *display_size_units(const struct cmd_context *cmd, uint64_t size);
38 void pvdisplay_full(const struct cmd_context *cmd,
41 int pvdisplay_short(const struct cmd_context *cmd,
47 int lvdisplay_full(struct cmd_context *cmd, const struct logical_volume *lv,
55 void display_formats(const struct cmd_context *cmd);
56 void display_segtypes(const struct cmd_context *cmd);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/display/
H A Ddisplay.h29 const char *display_size(const struct cmd_context *cmd, uint64_t size);
30 const char *display_size_long(const struct cmd_context *cmd, uint64_t size);
31 const char *display_size_units(const struct cmd_context *cmd, uint64_t size);
38 void pvdisplay_full(const struct cmd_context *cmd,
41 int pvdisplay_short(const struct cmd_context *cmd,
47 int lvdisplay_full(struct cmd_context *cmd, const struct logical_volume *lv,
55 void display_formats(const struct cmd_context *cmd);
56 void display_segtypes(const struct cmd_context *cmd);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/locking/
H A Dlocking.c225 int init_locking(int type, struct cmd_context *cmd) argument
228 type = find_config_tree_int(cmd, "global/locking_type", 1);
230 _blocking_supported = find_config_tree_int(cmd,
235 init_no_locking(&_locking, cmd);
244 if (!init_file_locking(&_locking, cmd))
252 if (init_external_locking(&_locking, cmd))
255 if (!find_config_tree_int(cmd, "locking/fallback_to_clustered_locking",
256 find_config_tree_int(cmd, "global/fallback_to_clustered_locking",
267 if (!init_cluster_locking(&_locking, cmd))
275 if (!init_readonly_locking(&_locking, cmd))
312 check_lvm1_vg_inactive(struct cmd_context *cmd, const char *vgname) argument
347 _lock_vol(struct cmd_context *cmd, const char *resource, uint32_t flags, lv_operation_t lv_op) argument
386 lock_vol(struct cmd_context *cmd, const char *vol, uint32_t flags) argument
458 resume_lvs(struct cmd_context *cmd, struct dm_list *lvs) argument
469 suspend_lvs(struct cmd_context *cmd, struct dm_list *lvs) argument
490 activate_lvs(struct cmd_context *cmd, struct dm_list *lvs, unsigned exclusive) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/
H A Dnon-local-goto-1.c20 int execute(int cmd) argument
47 return cmd;
H A Dnon-local-goto-2.c21 int execute(int cmd) argument
48 return cmd;
H A Dsetjmp-4.c15 int execute(int cmd) argument
31 return cmd;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/torture/stackalign/
H A Dnon-local-goto-1.c19 int execute(int cmd) argument
46 return cmd;
H A Dnon-local-goto-2.c20 int execute(int cmd) argument
47 return cmd;
H A Dsetjmp-4.c14 int execute(int cmd) argument
30 return cmd;
/netbsd-6-1-5-RELEASE/sys/compat/common/
H A Dsysv_msg_14.c55 syscallarg(int) cmd;
60 int cmd, error; local
62 cmd = SCARG(uap, cmd);
64 if (cmd == IPC_SET) {
71 error = msgctl1(l, SCARG(uap, msqid), cmd,
72 (cmd == IPC_SET || cmd == IPC_STAT) ? &msqbuf : NULL);
74 if (error == 0 && cmd == IPC_STAT) {
H A Dsysv_msg_50.c62 syscallarg(int) cmd;
67 int cmd, error; local
69 cmd = SCARG(uap, cmd);
71 if (cmd == IPC_SET) {
78 error = msgctl1(l, SCARG(uap, msqid), cmd,
79 (cmd == IPC_SET || cmd == IPC_STAT) ? &msqbuf : NULL);
81 if (error == 0 && cmd == IPC_STAT) {

Completed in 130 milliseconds

1234567891011>>