Home
last modified time | relevance | path

Searched refs:cmd (Results 176 – 200 of 1354) sorted by relevance

12345678910>>...55

/dragonfly/crypto/libressl/crypto/evp/
H A Dbio_enc.c287 enc_ctrl(BIO *b, int cmd, long num, void *ptr) in enc_ctrl() argument
297 switch (cmd) { in enc_ctrl()
303 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in enc_ctrl()
309 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in enc_ctrl()
314 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in enc_ctrl()
319 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in enc_ctrl()
345 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in enc_ctrl()
352 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in enc_ctrl()
369 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in enc_ctrl()
382 switch (cmd) { in enc_callback_ctrl()
[all …]
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Ddpp_supplicant.h12 int wpas_dpp_qr_code(struct wpa_supplicant *wpa_s, const char *cmd);
13 int wpas_dpp_auth_init(struct wpa_supplicant *wpa_s, const char *cmd);
14 int wpas_dpp_listen(struct wpa_supplicant *wpa_s, const char *cmd);
20 int wpas_dpp_configurator_sign(struct wpa_supplicant *wpa_s, const char *cmd);
21 int wpas_dpp_pkex_add(struct wpa_supplicant *wpa_s, const char *cmd);
28 int wpas_dpp_controller_start(struct wpa_supplicant *wpa_s, const char *cmd);
/dragonfly/test/libpthread/
H A Dmutex_d.c102 thread_cmd_t cmd; member
315 thread_cmd_t cmd; in waiter() local
362 cmd = statep->cmd; in waiter()
371 switch (cmd.cmd_id) { in waiter()
399 assert (pthread_cond_wait (cmd.cond, cmd.mutex) == 0); in waiter()
536 states[id].cmd.cmd_id = cmd; in send_cmd()
551 states[id].cmd.cmd_id = cmd; in send_mutex_cmd()
552 states[id].cmd.mutex = m; in send_mutex_cmd()
567 states[id].cmd.cmd_id = cmd; in send_mutex_cv_cmd()
568 states[id].cmd.mutex = m; in send_mutex_cv_cmd()
[all …]
/dragonfly/contrib/lvm2/dist/include/
H A Dconfig.h59 struct config_tree *create_config_tree_from_string(struct cmd_context *cmd,
61 int override_config_tree_from_string(struct cmd_context *cmd,
80 int merge_config_tree(struct cmd_context *cmd, struct config_tree *cft,
94 struct config_node *find_config_tree_node(struct cmd_context *cmd,
96 const char *find_config_tree_str(struct cmd_context *cmd,
98 int find_config_tree_int(struct cmd_context *cmd, const char *path,
100 float find_config_tree_float(struct cmd_context *cmd, const char *path,
108 int find_config_tree_bool(struct cmd_context *cmd, const char *path, int fail);
/dragonfly/contrib/lvm2/dist/lib/config/
H A Dconfig.h59 struct config_tree *create_config_tree_from_string(struct cmd_context *cmd,
61 int override_config_tree_from_string(struct cmd_context *cmd,
80 int merge_config_tree(struct cmd_context *cmd, struct config_tree *cft,
94 struct config_node *find_config_tree_node(struct cmd_context *cmd,
96 const char *find_config_tree_str(struct cmd_context *cmd,
98 int find_config_tree_int(struct cmd_context *cmd, const char *path,
100 float find_config_tree_float(struct cmd_context *cmd, const char *path,
108 int find_config_tree_bool(struct cmd_context *cmd, const char *path, int fail);
/dragonfly/sbin/ifconfig/
H A Difconfig.h43 struct cmd;
45 typedef void c_func(const char *cmd, int arg, int s,
50 struct cmd { struct
61 struct cmd *c_next; argument
63 void cmd_register(struct cmd *);
71 #define DECL_CMD_FUNC(name, cmd, arg) \ argument
72 void name(const char *cmd, int arg, int s, const struct afswtch *afp)
153 void Perror(const char *cmd) __dead2;
/dragonfly/sys/bus/smbus/amdsmb/
H A Damdsmb.c402 amdsmb_writeb(device_t dev, u_char slave, char cmd, char byte) in amdsmb_writeb() argument
408 amdsmb_ec_write(sc, SMB_CMD, cmd); in amdsmb_writeb()
416 "error=0x%x\n", slave, cmd, byte, error)); in amdsmb_writeb()
429 amdsmb_ec_write(sc, SMB_CMD, cmd); in amdsmb_readb()
450 amdsmb_ec_write(sc, SMB_CMD, cmd); in amdsmb_writew()
459 "error=0x%x\n", slave, cmd, word, error)); in amdsmb_writew()
473 amdsmb_ec_write(sc, SMB_CMD, cmd); in amdsmb_readw()
501 amdsmb_ec_write(sc, SMB_CMD, cmd); in amdsmb_bwrite()
511 "error=0x%x", slave, count, cmd, error)); in amdsmb_bwrite()
528 amdsmb_ec_write(sc, SMB_CMD, cmd); in amdsmb_bread()
[all …]
/dragonfly/contrib/lvm2/dist/lib/error/
H A Derrseg.c47 struct cmd_context *cmd __attribute((unused)), in _errseg_add_target_line()
56 static int _errseg_target_present(struct cmd_context *cmd, in _errseg_target_present() argument
65 (target_present(cmd, "error", 0) || in _errseg_target_present()
66 target_present(cmd, "erro", 0))) in _errseg_target_present()
102 struct segment_type *init_error_segtype(struct cmd_context *cmd) in init_error_segtype() argument
109 segtype->cmd = cmd; in init_error_segtype()
/dragonfly/usr.bin/systat/
H A Ddevs.c163 dscmd(const char *cmd, char *args, int maxshowdevs, struct statinfo *s1) in dscmd() argument
167 if (prefix(cmd, "display") || prefix(cmd, "add")) in dscmd()
169 if (prefix(cmd, "ignore") || prefix(cmd, "delete")) in dscmd()
171 if (prefix(cmd, "show") || prefix(cmd, "only")) in dscmd()
173 if (prefix(cmd, "type") || prefix(cmd, "match")) in dscmd()
175 if (prefix(cmd, "refresh")) { in dscmd()
203 if (prefix(cmd, "drives")) { in dscmd()
/dragonfly/sbin/hammer/
H A Dcmd_cleanup.c155 char *cmd; in do_cleanup() local
407 cmd = strtok(buf, WS); in do_cleanup()
408 if (cmd == NULL || cmd[0] == '#') in do_cleanup()
422 printf("%20s - ", cmd); in do_cleanup()
426 if (strcmp(cmd, "snapshots") == 0) { in do_cleanup()
457 } else if (strcmp(cmd, "prune") == 0) { in do_cleanup()
505 } else if (strcmp(cmd, "dedup") == 0) { in do_cleanup()
1249 char *cmd; in runcmd() local
1261 vasprintf(&cmd, ctl, va); in runcmd()
1264 printf(" %s\n", cmd); in runcmd()
[all …]
H A Dcmd_pfs.c613 char *cmd; in parse_pfsd_options() local
618 cmd = *av; in parse_pfsd_options()
619 if ((ptr = strchr(cmd, '=')) != NULL) in parse_pfsd_options()
630 if (strcmp(cmd, "sync-beg-tid") == 0) { in parse_pfsd_options()
637 cmd, ptr); in parse_pfsd_options()
643 cmd, ptr); in parse_pfsd_options()
646 } else if (strcmp(cmd, "label") == 0) { in parse_pfsd_options()
656 } else if (strcmp(cmd, "snapshots") == 0) { in parse_pfsd_options()
661 "absolute path\n", cmd, ptr); in parse_pfsd_options()
671 "character limit", cmd, len); in parse_pfsd_options()
[all …]
/dragonfly/crypto/libressl/crypto/bio/
H A Dbf_nbio.c74 static long nbiof_ctrl(BIO *h, int cmd, long arg1, void *arg2);
77 static long nbiof_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
203 nbiof_ctrl(BIO *b, int cmd, long num, void *ptr) in nbiof_ctrl() argument
209 switch (cmd) { in nbiof_ctrl()
212 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nbiof_ctrl()
219 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nbiof_ctrl()
226 nbiof_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in nbiof_callback_ctrl() argument
232 switch (cmd) { in nbiof_callback_ctrl()
234 ret = BIO_callback_ctrl(b->next_bio, cmd, fp); in nbiof_callback_ctrl()
/dragonfly/sys/net/ipfw3_layer2/
H A Dip_fw3_layer2.h43 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
45 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
47 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
49 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
51 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
53 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len);
/dragonfly/sys/dev/raid/tws/
H A Dtws_cam.c834 cmd_pkt->cmd.pkt_a.unit = 0; in tws_send_scsi_cmd()
838 cmd_pkt->cmd.pkt_a.cdb[0] = (u_int8_t)cmd; in tws_send_scsi_cmd()
859 union tws_command_giga *cmd; in tws_set_param() local
879 cmd = &cmd_pkt->cmd.pkt_g; in tws_set_param()
880 cmd->param.sgl_off__opcode = in tws_set_param()
883 cmd->param.host_id__unit = 0; in tws_set_param()
884 cmd->param.param_count = 1; in tws_set_param()
905 union tws_command_giga *cmd; in tws_get_param() local
928 cmd = &cmd_pkt->cmd.pkt_g; in tws_get_param()
929 cmd->param.sgl_off__opcode = in tws_get_param()
[all …]
/dragonfly/usr.bin/kcollect/
H A Dkcollect.c87 int cmd = 't'; in main() local
124 cmd = 'b'; in main()
132 cmd = 'r'; in main()
142 cmd = 'l'; in main()
149 cmd = 'w'; in main()
152 cmd = 'g'; in main()
155 cmd = 'x'; in main()
201 if (cmd == 'x' || cmd == 'w') in main()
294 switch(cmd) { in main()
359 if (cmd != 'g' && cmd != 'x' && cmd != 'w') in main()
[all …]
/dragonfly/usr.sbin/cron/lib/
H A Dentry.c72 if (e->cmd != NULL) in free_entry()
73 free(e->cmd); in free_entry()
103 char cmd[MAX_COMMAND]; in load_entry() local
142 if (!strcmp("reboot", cmd)) { in load_entry()
145 } else if (!strcmp("yearly", cmd) || !strcmp("annually", cmd)){ in load_entry()
161 } else if (!strcmp("weekly", cmd)) { in load_entry()
169 } else if (!strcmp("daily", cmd) || !strcmp("midnight", cmd)) { in load_entry()
176 } else if (!strcmp("hourly", cmd)) { in load_entry()
406 e->cmd = strdup(cmd); in load_entry()
407 if (e->cmd == NULL) { in load_entry()
[all …]
/dragonfly/sys/dev/misc/cpuctl/
H A Dcpuctl.c89 u_long cmd = ap->a_cmd; in cpuctl_ioctl() local
98 if ((cmd == CPUCTL_WRMSR || cmd == CPUCTL_UPDATE || in cpuctl_ioctl()
99 cmd == CPUCTL_MSRSBIT || cmd == CPUCTL_MSRCBIT) && in cpuctl_ioctl()
105 switch (cmd) { in cpuctl_ioctl()
107 ret = cpuctl_do_msr(cpu, (cpuctl_msr_args_t *)data, cmd); in cpuctl_ioctl()
115 ret = cpuctl_do_msr(cpu, (cpuctl_msr_args_t *)data, cmd); in cpuctl_ioctl()
178 cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd) in cpuctl_do_msr() argument
195 if (cmd == CPUCTL_RDMSR) { in cpuctl_do_msr()
198 } else if (cmd == CPUCTL_WRMSR) { in cpuctl_do_msr()
200 } else if (cmd == CPUCTL_MSRSBIT) { in cpuctl_do_msr()
[all …]
/dragonfly/contrib/lvm2/dist/lib/format1/
H A Dimport-extents.c211 static int _read_linear(struct cmd_context *cmd, struct lv_map *lvm) in _read_linear() argument
217 if (!(segtype = get_segtype_from_string(cmd, "striped"))) in _read_linear()
223 if (!(seg = alloc_lv_segment(cmd->mem, segtype, lvm->lv, le, in _read_linear()
261 static int _read_stripes(struct cmd_context *cmd, struct lv_map *lvm) in _read_stripes() argument
279 if (!(segtype = get_segtype_from_string(cmd, "striped"))) in _read_stripes()
293 if (!(seg = alloc_lv_segment(cmd->mem, segtype, lvm->lv, in _read_stripes()
322 return (lvm->stripes > 1 ? _read_stripes(cmd, lvm) : in _build_segments()
323 _read_linear(cmd, lvm)); in _build_segments()
333 if (!_build_segments(cmd, lvm)) in _build_all_segments()
340 int import_extents(struct cmd_context *cmd, struct volume_group *vg, in import_extents() argument
[all …]
/dragonfly/sbin/rconfig/
H A Dserver.c148 const char *cmd; in server_connection() local
163 cmd = parse_str(&scan, PAS_ALPHA); in server_connection()
164 if (cmd == NULL) { in server_connection()
166 } else if (strcasecmp(cmd, "VAR") == 0) { in server_connection()
168 } else if (strcasecmp(cmd, "TAG") == 0) { in server_connection()
214 } else if (strcasecmp(cmd, "IDLE") == 0) { in server_connection()
220 } else if (strcasecmp(cmd, "QUIT") == 0) { in server_connection()
247 const char *cmd; in service_packet_loop() local
261 cmd = parse_str(&scan, PAS_ALPHA); in service_packet_loop()
262 if (cmd == NULL) { in service_packet_loop()
[all …]
/dragonfly/usr.sbin/ftp-proxy/
H A Dftp-proxy.c85 int cmd; member
156 s->cmd = CMD_NONE; in client_parse()
174 if (s->cmd == CMD_PORT || s->cmd == CMD_EPRT) in client_parse()
223 s->cmd = CMD_PASV; in client_parse_cmd()
225 s->cmd = CMD_PORT; in client_parse_cmd()
233 if (ipv6_mode && (s->cmd == CMD_PASV || s->cmd == CMD_PORT)) { in client_parse_cmd()
238 if (s->cmd == CMD_PORT || s->cmd == CMD_EPRT) { in client_parse_cmd()
926 switch (cmd) { in proxy_reply()
959 if (cmd == CMD_PORT || cmd == CMD_PASV) { in proxy_reply()
1017 if (s->cmd == CMD_PASV || s->cmd == CMD_EPSV) { in allow_data_connection()
[all …]
/dragonfly/sys/dev/raid/mps/
H A Dmps_user.c476 if (cmd->len == 0) in mpi_pre_fw_download()
479 error = copyin(cmd->buf, cm->cm_data, cmd->len); in mpi_pre_fw_download()
501 tc.ImageSize = cmd->len; in mpi_pre_fw_download()
543 tc.ImageSize = cmd->len; in mpi_pre_fw_upload()
672 cmd->req, cmd->req_len, cmd->rpl, cmd->rpl_len ); in mps_user_command()
678 err = copyin(cmd->req, hdr, cmd->req_len); in mps_user_command()
685 if (cmd->len > 0) { in mps_user_command()
724 sz = cmd->rpl_len; in mps_user_command()
730 copyout(buf, cmd->buf, cmd->len); in mps_user_command()
2053 switch (cmd) { in mps_ioctl()
[all …]
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Ddpp_hostapd.h12 int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd);
13 int hostapd_dpp_auth_init(struct hostapd_data *hapd, const char *cmd);
14 int hostapd_dpp_listen(struct hostapd_data *hapd, const char *cmd);
25 int hostapd_dpp_configurator_add(struct hostapd_data *hapd, const char *cmd);
27 int hostapd_dpp_configurator_sign(struct hostapd_data *hapd, const char *cmd);
30 int hostapd_dpp_pkex_add(struct hostapd_data *hapd, const char *cmd);
/dragonfly/contrib/nvi2/ex/
H A Dex_argv.c69 MEMCPY(exp->args[exp->argsoff]->bp, cmd, cmdlen); in argv_exp0()
140 TRACE(sp, "file_argv: {%.*s}\n", (int)cmdlen, cmd); in argv_exp2()
220 for (; cmdlen > 0; --cmdlen, ++cmd) { in argv_exp3()
221 ch = *cmd; in argv_exp3()
237 for (ap = cmd, len = 0; cmdlen > 0; ++cmd, --cmdlen, ++len) { in argv_exp3()
238 ch = *cmd; in argv_exp3()
240 ++cmd; in argv_exp3()
368 switch (*cmd) { in argv_fexp()
425 (cmd[1] == '%' || cmd[1] == '#' || cmd[1] == '!')) { in argv_fexp()
426 ++cmd; in argv_fexp()
[all …]
/dragonfly/sys/dev/raid/mpr/
H A Dmpr_user.c491 if (cmd->len == 0) in mpi_pre_fw_download()
494 error = copyin(cmd->buf, cm->cm_data, cmd->len); in mpi_pre_fw_download()
531 if (cmd->len == 0) { in mpi_pre_fw_upload()
666 cmd->req, cmd->req_len, cmd->rpl, cmd->rpl_len); in mpr_user_command()
672 err = copyin(cmd->req, hdr, cmd->req_len); in mpr_user_command()
679 if (cmd->len > 0) { in mpr_user_command()
716 if (sz > cmd->rpl_len) { in mpr_user_command()
719 sz = cmd->rpl_len; in mpr_user_command()
725 copyout(buf, cmd->buf, cmd->len); in mpr_user_command()
2272 switch (cmd) { in mpr_ioctl()
[all …]
/dragonfly/sys/dev/powermng/alpm/
H A Dalpm.c423 alpm_writeb(device_t dev, u_char slave, char cmd, char byte) in alpm_writeb() argument
438 ALPM_SMBOUTB(sc, SMBHCMD, cmd); in alpm_writeb()
450 alpm_readb(device_t dev, u_char slave, char cmd, char *byte) in alpm_readb() argument
464 ALPM_SMBOUTB(sc, SMBHCMD, cmd); in alpm_readb()
477 alpm_writew(device_t dev, u_char slave, char cmd, short word) in alpm_writew() argument
493 ALPM_SMBOUTB(sc, SMBHCMD, cmd); in alpm_writew()
505 alpm_readw(device_t dev, u_char slave, char cmd, short *word) in alpm_readw() argument
520 ALPM_SMBOUTB(sc, SMBHCMD, cmd); in alpm_readw()
537 alpm_bwrite(device_t dev, u_char slave, char cmd, u_char count, char *buf) in alpm_bwrite() argument
566 ALPM_SMBOUTB(sc, SMBHCMD, cmd); in alpm_bwrite()
[all …]

12345678910>>...55