Searched refs:cmd (Results 151 - 175 of 2522) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/
H A Dlvscan.c20 static int lvscan_single(struct cmd_context *cmd, struct logical_volume *lv, argument
33 if (!arg_count(cmd, all_ARG) && !lv_is_visible(lv))
36 inkernel = lv_info(cmd, lv, &info, 1, 0) && info.exists;
70 cmd->dev_dir, lv->vg->name, lv->name,
71 display_size(cmd, lv->size),
81 int lvscan(struct cmd_context *cmd, int argc, char **argv) argument
88 return process_each_lv(cmd, argc, argv, 0, NULL,
H A Dpolldaemon.h34 struct volume_group *(*get_copy_vg) (struct cmd_context *cmd,
37 struct logical_volume *(*get_copy_lv) (struct cmd_context *cmd,
42 progress_t (*poll_progress)(struct cmd_context *cmd,
46 int (*update_metadata) (struct cmd_context *cmd,
50 int (*finish_copy) (struct cmd_context *cmd,
67 int poll_daemon(struct cmd_context *cmd, const char *name, const char *uuid,
72 progress_t poll_mirror_progress(struct cmd_context *cmd,
H A Dvgcfgbackup.c52 static int vg_backup_single(struct cmd_context *cmd, const char *vg_name, argument
59 if (arg_count(cmd, file_ARG)) {
60 if (!(filename = _expand_filename(arg_value(cmd, file_ARG),
66 if (!backup_to_file(filename, vg->cmd->cmd_line, vg)) {
79 backup_enable(cmd, 1); /* force a backup */
90 int vgcfgbackup(struct cmd_context *cmd, int argc, char **argv) argument
97 ret = process_each_vg(cmd, argc, argv, READ_ALLOW_INCONSISTENT,
H A Dlvrename.c26 int lvrename(struct cmd_context *cmd, int argc, char **argv) argument
38 vg_name = skip_dev_dir(cmd, argv[0], NULL);
42 (vg_name_old = extract_vgname(cmd, lv_name_old)) &&
51 vg_name = extract_vgname(cmd, lv_name_old);
63 (vg_name_new = extract_vgname(cmd, lv_name_new)) &&
78 maxlen = NAME_LEN - strlen(vg_name) - strlen(cmd->dev_dir) - 3;
107 vg = vg_read_for_update(cmd, vg_name, NULL, 0);
120 if (!lv_rename(cmd, lvl->lv, lv_name_new))
128 unlock_and_release_vg(cmd, vg, vg_name);
H A Dvgsplit.c208 static struct volume_group *_vgsplit_to(struct cmd_context *cmd, argument
225 vg_to = vg_create(cmd, vg_name_to);
234 vg_to = vg_read_for_update(cmd, vg_name_to, NULL, 0);
254 static struct volume_group *_vgsplit_from(struct cmd_context *cmd, argument
261 vg_from = vg_read_for_update(cmd, vg_name_from, NULL, 0);
272 static int new_vg_option_specified(struct cmd_context *cmd) argument
274 return(arg_count(cmd, clustered_ARG) ||
275 arg_count(cmd, alloc_ARG) ||
276 arg_count(cmd, maxphysicalvolumes_ARG) ||
277 arg_count(cmd, maxlogicalvolumes_AR
280 vgsplit(struct cmd_context *cmd, int argc, char **argv) argument
[all...]
H A Dlvmdiskscan.c65 static void _print(struct cmd_context *cmd, const struct device *dev, argument
69 display_size(cmd, size), what ? : "");
72 static int _check_device(struct cmd_context *cmd, struct device *dev) argument
87 _print(cmd, dev, size, NULL);
96 int lvmdiskscan(struct cmd_context *cmd, int argc __attribute((unused)), argument
110 if (arg_count(cmd, lvmpartition_ARG))
113 max_len = _get_max_dev_name_len(cmd->filter);
115 if (!(iter = dev_iter_create(cmd->filter, 0))) {
129 _print(cmd, dev, size, "LVM physical volume");
134 if (arg_count(cmd, lvmpartition_AR
[all...]
H A Dstub.h21 /*int e2fsadm(struct cmd_context *cmd, int argc, char **argv) unimplemented*/
22 int lvmsadc(struct cmd_context *cmd __attribute((unused)),
29 int lvmsar(struct cmd_context *cmd __attribute((unused)),
36 int pvdata(struct cmd_context *cmd __attribute((unused)),
H A Dlvresize.c51 static int _validate_stripesize(struct cmd_context *cmd, argument
55 if (arg_sign_value(cmd, stripesize_ARG, 0) == SIGN_MINUS) {
60 if (arg_uint_value(cmd, stripesize_ARG, 0) > STRIPE_SIZE_LIMIT * 2) {
62 display_size(cmd, (uint64_t) STRIPE_SIZE_LIMIT));
68 else if (arg_uint_value(cmd, stripesize_ARG, 0) > vg->extent_size * 2) {
71 display_size(cmd,
72 (uint64_t) arg_uint_value(cmd, stripesize_ARG, 0)),
73 display_size(cmd, (uint64_t) vg->extent_size));
76 lp->stripe_size = arg_uint_value(cmd, stripesize_ARG, 0);
90 static int _request_confirmation(struct cmd_context *cmd, argument
143 _fsadm_cmd(struct cmd_context *cmd, const struct volume_group *vg, const struct lvresize_params *lp, enum fsadm_cmd_e fcmd) argument
189 _lvresize_params(struct cmd_context *cmd, int argc, char **argv, struct lvresize_params *lp) argument
278 _lvresize(struct cmd_context *cmd, struct volume_group *vg, struct lvresize_params *lp) argument
667 lvresize(struct cmd_context *cmd, int argc, char **argv) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/compat/common/
H A Dsysv_sem_14.c57 syscallarg(int) cmd;
63 int cmd, error; local
66 cmd = SCARG(uap, cmd);
68 pass_arg = get_semctl_arg(cmd, &sembuf, &arg);
74 if (cmd == IPC_SET) {
82 error = semctl1(l, SCARG(uap, semid), SCARG(uap, semnum), cmd,
85 if (error == 0 && cmd == IPC_STAT) {
H A Dsysv_sem_50.c63 syscallarg(int) cmd;
69 int cmd, error; local
72 cmd = SCARG(uap, cmd);
74 pass_arg = get_semctl_arg(cmd, &sembuf, &arg);
80 if (cmd == IPC_SET) {
88 error = semctl1(l, SCARG(uap, semid), SCARG(uap, semnum), cmd,
91 if (error == 0 && cmd == IPC_STAT) {
/netbsd-6-1-5-RELEASE/lib/libc/compat/sys/
H A Dcompat___semctl13.c60 __semctl13(int semid, int semnum, int cmd, ...) argument
68 va_start(ap, cmd);
69 switch (cmd) {
86 switch (cmd) {
91 if (cmd == IPC_SET)
100 error = ____semctl50(semid, semnum, cmd, &semun);
104 if (cmd == IPC_STAT)
H A Dcompat_semctl.c51 semctl(int semid, int semnum, int cmd, ...) argument
59 va_start(ap, cmd);
60 switch (cmd) {
77 switch (cmd) {
81 if (cmd == IPC_SET)
90 error = __semctl50(semid, semnum, cmd, &semun);
94 if (cmd == IPC_STAT)
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/wpa_supplicant/wpa_gui/
H A Dnetworkconfig.ui.h100 char reply[10], cmd[256]; local
207 snprintf(cmd, sizeof(cmd), "ENABLE_NETWORK %d", id);
209 wpagui->ctrlRequest(cmd, reply, &reply_len);
230 char reply[10], cmd[256]; local
232 snprintf(cmd, sizeof(cmd), "SET_NETWORK %d %s %s%s%s",
235 wpagui->ctrlRequest(cmd, reply, &reply_len);
309 char reply[1024], cmd[256], *pos; local
312 snprintf(cmd, sizeo
504 char reply[10], cmd[256]; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/usbhidaction/
H A Dusbhidaction.c94 struct command *cmd; local
197 for (cmd = commands; cmd; cmd = cmd->next) {
198 val = hid_get_data(buf, &cmd->item);
199 if (cmd->value == val || cmd->anyvalue)
200 docmd(cmd, val, dev, argc, argv);
242 struct command *cmd, *cmd local
407 docmd(struct command *cmd, int value, const char *hid, int argc, char **argv) argument
452 freecommands(struct command *cmd) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dcmd-confirm-before.c1 /* $Id: cmd-confirm-before.c,v 1.1.1.2 2011/08/17 18:40:04 jmmv Exp $ */
28 void cmd_confirm_before_key_binding(struct cmd *, int);
29 int cmd_confirm_before_exec(struct cmd *, struct cmd_ctx *);
46 char *cmd; member in struct:cmd_confirm_before_data
50 cmd_confirm_before_key_binding(struct cmd *self, int key)
68 cmd_confirm_before_exec(struct cmd *self, struct cmd_ctx *ctx)
73 char *cmd, *copy, *new_prompt, *ptr; local
88 cmd = strsep(&ptr, " \t");
89 xasprintf(&new_prompt, "Confirm '%s'? (y/n) ", cmd);
94 cdata->cmd
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/freeseg/
H A Dfreeseg.c46 struct segment_type *init_free_segtype(struct cmd_context *cmd) argument
53 segtype->cmd = cmd;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/cli/
H A Dcli-script.h43 execute_control_command (struct command_line *cmd);
46 execute_control_command_untraced (struct command_line *cmd);
64 extern void print_command_trace (const char *cmd);
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/makeinfo/
H A Dsectioning.h62 sectioning_underscore (char *cmd),
63 insert_and_underscore (int level, char *cmd);
68 extern void sectioning_html (int level, char *cmd);
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dulimit.c43 ulimit(int cmd, ...) argument
49 va_start(ap, cmd);
52 switch (cmd) {
/netbsd-6-1-5-RELEASE/usr.sbin/mlxctl/
H A Dmain.c60 struct cmd { struct
68 static const struct cmd cmdtab[] = {
81 const struct cmd *cmd, *maxcmd; local
119 cmd = &cmdtab[0];
121 while (cmd < maxcmd) {
122 if (strcmp(cmdname, cmd->label) == 0)
124 cmd++;
126 if (cmd == maxcmd)
132 if ((cmd
[all...]
/netbsd-6-1-5-RELEASE/bin/chio/
H A Dchio.c192 struct changer_move_request cmd; local
211 (void)memset(&cmd, 0, sizeof(cmd));
214 cmd.cm_fromtype = parse_element_type(*argv);
218 cmd.cm_fromunit = parse_element_unit(*argv);
222 cmd.cm_totype = parse_element_type(*argv);
226 cmd.cm_tounit = parse_element_unit(*argv);
234 cmd.cm_flags |= CM_INVERT;
244 if (ioctl(changer_fd, CHIOMOVE, &cmd))
254 struct changer_exchange_request cmd; local
340 struct changer_position_request cmd; local
478 struct changer_element_status_request cmd; local
714 struct ioc_load_unload cmd; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/sdmmc/
H A Dsdmmc_mem.c478 struct sdmmc_command cmd; local
490 memset(&cmd, 0, sizeof(cmd));
491 cmd.c_arg = !ISSET(sc->sc_caps, SMC_CAPS_SPI_MODE) ?
493 cmd.c_flags = SCF_CMD_BCR | SCF_RSP_R3 | SCF_RSP_SPI_R1;
496 cmd.c_opcode = SD_APP_OP_COND;
497 error = sdmmc_app_command(sc, NULL, &cmd);
499 cmd.c_opcode = MMC_SEND_OP_COND;
500 error = sdmmc_mmc_command(sc, &cmd);
506 if (!ISSET(MMC_SPI_R1(cmd
529 struct sdmmc_command cmd; local
559 struct sdmmc_command cmd; local
798 struct sdmmc_command cmd; local
824 struct sdmmc_command cmd; local
851 struct sdmmc_command cmd; local
958 struct sdmmc_command cmd; local
1031 struct sdmmc_command cmd; local
1065 struct sdmmc_command cmd; local
1143 struct sdmmc_command cmd; local
1160 struct sdmmc_command cmd; local
1205 struct sdmmc_command cmd; local
1392 struct sdmmc_command cmd; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/test/
H A Dtx5093 cmd='../util/shlib_wrap.sh ../apps/openssl x509'
15 $cmd -in fff.p -inform p -outform d >f.d
18 $cmd -in fff.p -inform p -outform n >f.n
21 $cmd -in fff.p -inform p -outform p >f.p
25 $cmd -in f.d -inform d -outform d >ff.d1
28 $cmd -in f.n -inform n -outform d >ff.d2
31 $cmd -in f.p -inform p -outform d >ff.d3
35 $cmd -in f.d -inform d -outform n >ff.n1
38 $cmd -in f.n -inform n -outform n >ff.n2
41 $cmd
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/pckbport/
H A Dpckbport.c58 u_char cmd[4]; member in struct:pckbport_devcmd
249 struct pckbport_devcmd *cmd)
253 while (cmd->cmdidx < cmd->cmdlen) {
254 if (!pckbport_send_devcmd(t, slot, cmd->cmd[cmd->cmdidx])) {
256 cmd->status = EIO;
266 cmd->cmdidx++;
273 if (cmd
248 pckbport_poll_cmd1(struct pckbport_tag *t, pckbport_slot_t slot, struct pckbport_devcmd *cmd) argument
318 pckbport_poll_cmd(pckbport_tag_t t, pckbport_slot_t slot, const u_char *cmd, int len, int responselen, u_char *respbuf, int slow) argument
346 struct pckbport_devcmd *cmd; local
372 u_char cmd[1], resp[2]; local
405 struct pckbport_devcmd *cmd = TAILQ_FIRST(&q->cmdqueue); local
441 struct pckbport_devcmd *cmd = TAILQ_FIRST(&q->cmdqueue); local
496 pckbport_enqueue_cmd(pckbport_tag_t t, pckbport_slot_t slot, const u_char *cmd, int len, int responselen, int sync, u_char *respbuf) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dninjascsi32.c73 #define DPRINTC(cmd, x) PRINTC(cmd, x)
76 #define DPRINTC(cmd, x)
80 #define TPRINTC(cmd, x) PRINTC(cmd, x)
83 #define TPRINTC(cmd, x)
86 #define PRINTC(cmd, x) do { \
87 scsi_print_addr((cmd)->c_xs->xs_periph); \
450 struct njsc32_cmd *cmd; local
461 "unable to allocate cmd pag
707 struct njsc32_cmd *cmd; local
751 njsc32_cmd_init(struct njsc32_cmd *cmd) argument
908 struct njsc32_cmd *cmd; local
925 njsc32_cmd_load(struct njsc32_softc *sc, struct njsc32_cmd *cmd) argument
1048 struct njsc32_cmd *cmd; local
1097 struct njsc32_cmd *cmd; local
1224 njsc32_end_cmd(struct njsc32_softc *sc, struct njsc32_cmd *cmd, scsipi_xfer_result_t result) argument
1341 struct njsc32_cmd *cmd; local
1422 struct njsc32_cmd *cmd; local
1452 njsc32_scsipi_ioctl(struct scsipi_channel *chan, u_long cmd, void *addr, int flag, struct proc *p) argument
1474 njsc32_set_cur_ptr(struct njsc32_cmd *cmd, u_int32_t pos) argument
1489 njsc32_set_ptr(struct njsc32_softc *sc, struct njsc32_cmd *cmd, u_int32_t pos) argument
1554 njsc32_save_ptr(struct njsc32_cmd *cmd) argument
1603 njsc32_reconnect(struct njsc32_softc *sc, struct njsc32_cmd *cmd) argument
1625 struct njsc32_cmd *cmd; local
1677 struct njsc32_cmd *cmd; local
1709 njsc32_cmd_reload(struct njsc32_softc *sc, struct njsc32_cmd *cmd, int cctl) argument
1758 struct njsc32_cmd *cmd; local
2220 struct njsc32_cmd *cmd = arg; local
2247 struct njsc32_cmd *cmd = arg; local
2277 njsc32_end_auto(struct njsc32_softc *sc, struct njsc32_cmd *cmd, int auto_phase) argument
2369 struct njsc32_cmd *cmd; local
[all...]

Completed in 246 milliseconds

1234567891011>>