Home
last modified time | relevance | path

Searched defs:cmd (Results 1 – 25 of 959) sorted by relevance

12345678910>>...39

/dflybsd-src/lib/libipfw3/basic/
H A Dipfw3_basic.c125 fill_iface(ipfw_insn_if *cmd, char *arg) in fill_iface()
236 *add_proto(ipfw_insn *cmd, char *av) in add_proto()
259 parse_count(ipfw_insn **cmd, int *ac, char **av[]) in parse_count()
268 parse_skipto(ipfw_insn **cmd, int *ac, char **av[]) in parse_skipto()
283 parse_forward(ipfw_insn **cmd, int *ac, char **av[]) in parse_forward()
339 parse_in(ipfw_insn **cmd, int *ac, char **av[]) in parse_in()
349 parse_out(ipfw_insn **cmd, int *ac, char **av[]) in parse_out()
360 parse_via(ipfw_insn **cmd, int *ac, char **av[]) in parse_via()
377 parse_src_port(ipfw_insn **cmd, int *ac, char **av[]) in parse_src_port()
391 parse_dst_port(ipfw_insn **cmd, int *ac, char **av[]) in parse_dst_port()
[all …]
/dflybsd-src/contrib/lvm2/dist/lib/commands/
H A Dtoolcontext.c64 static int _get_env_vars(struct cmd_context *cmd) in _get_env_vars()
81 static void _get_sysfs_dir(struct cmd_context *cmd) in _get_sysfs_dir()
124 static void _init_logging(struct cmd_context *cmd) in _init_logging()
200 static int _process_config(struct cmd_context *cmd) in _process_config()
306 static int _set_tag(struct cmd_context *cmd, const char *tag) in _set_tag()
318 static int _check_host_filters(struct cmd_context *cmd, struct config_node *hn, in _check_host_filters()
354 static int _init_tags(struct cmd_context *cmd, struct config_tree *cft) in _init_tags()
396 static int _load_config_file(struct cmd_context *cmd, const char *tag) in _load_config_file()
453 static int _init_lvm_conf(struct cmd_context *cmd) in _init_lvm_conf()
471 static int _init_tag_configs(struct cmd_context *cmd) in _init_tag_configs()
[all …]
/dflybsd-src/sbin/svc/
H A Dexecute.c58 execute_init(command_t *cmd) in execute_init()
425 execute_start(command_t *cmd) in execute_start()
487 execute_restart(command_t *cmd) in execute_restart()
496 execute_stop(command_t *cmd) in execute_stop()
564 execute_exit(command_t *cmd) in execute_exit()
580 execute_list(command_t *cmd) in execute_list()
588 execute_status(command_t *cmd) in execute_status()
620 execute_log(command_t *cmd) in execute_log()
700 execute_logfile(command_t *cmd) in execute_logfile()
749 execute_help(command_t *cmd) in execute_help()
[all …]
H A Dsvc.c50 command_t cmd; in main() local
66 process_cmd(command_t *cmd, FILE *fp, int ac, char **av) in process_cmd()
276 execute_cmd(command_t *cmd) in execute_cmd()
357 execute_remote(command_t *cmd, int (*func)(command_t *cmd)) in execute_remote()
432 free_cmd(command_t *cmd) in free_cmd()
465 process_jailspec(command_t *cmd, const char *spec) in process_jailspec()
/dflybsd-src/usr.sbin/installer/libinstaller/
H A Dcommands.c87 struct command *cmd; in command_new() local
120 struct command *cmd; in command_add() local
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()
197 command_get_next(const struct command *cmd) in command_get_next()
203 command_get_cmdline(const struct command *cmd) in command_get_cmdline()
209 command_get_tag(const struct command *cmd) in command_get_tag()
215 command_get_result(const struct command *cmd) in command_get_result()
[all …]
/dflybsd-src/contrib/lvm2/dist/tools/
H A Dvgchange.c20 static int _monitor_lvs_in_vg(struct cmd_context *cmd, in _monitor_lvs_in_vg()
56 static int _activate_lvs_in_vg(struct cmd_context *cmd, in _activate_lvs_in_vg()
115 static int _vgchange_monitoring(struct cmd_context *cmd, struct volume_group *vg) in _vgchange_monitoring()
130 static int _vgchange_available(struct cmd_context *cmd, struct volume_group *vg) in _vgchange_available()
177 static int _vgchange_alloc(struct cmd_context *cmd, struct volume_group *vg) in _vgchange_alloc()
211 static int _vgchange_resizeable(struct cmd_context *cmd, in _vgchange_resizeable()
250 static int _vgchange_clustered(struct cmd_context *cmd, in _vgchange_clustered()
287 static int _vgchange_logicalvolume(struct cmd_context *cmd, in _vgchange_logicalvolume()
314 static int _vgchange_physicalvolumes(struct cmd_context *cmd, in _vgchange_physicalvolumes()
346 static int _vgchange_pesize(struct cmd_context *cmd, struct volume_group *vg) in _vgchange_pesize()
[all …]
H A Dlvchange.c20 static int lvchange_permission(struct cmd_context *cmd, in lvchange_permission()
85 static int lvchange_monitoring(struct cmd_context *cmd, in lvchange_monitoring()
106 static int lvchange_availability(struct cmd_context *cmd, in lvchange_availability()
146 static int lvchange_refresh(struct cmd_context *cmd, struct logical_volume *lv) in lvchange_refresh()
152 static int lvchange_resync(struct cmd_context *cmd, in lvchange_resync()
306 static int lvchange_alloc(struct cmd_context *cmd, struct logical_volume *lv) in lvchange_alloc()
339 static int lvchange_readahead(struct cmd_context *cmd, in lvchange_readahead()
406 static int lvchange_persistent(struct cmd_context *cmd, in lvchange_persistent()
476 static int lvchange_tag(struct cmd_context *cmd, struct logical_volume *lv, in lvchange_tag()
517 static int lvchange_single(struct cmd_context *cmd, struct logical_volume *lv, in lvchange_single()
[all …]
H A Dpvmove.c24 static int _pvmove_target_present(struct cmd_context *cmd, int clustered) in _pvmove_target_present()
51 static unsigned _pvmove_is_exclusive(struct cmd_context *cmd, in _pvmove_is_exclusive()
62 static const char *_extract_lvname(struct cmd_context *cmd, const char *vgname, in _extract_lvname()
92 static struct volume_group *_get_vg(struct cmd_context *cmd, const char *vgname) in _get_vg()
100 static struct dm_list *_get_allocatable_pvs(struct cmd_context *cmd, int argc, in _get_allocatable_pvs()
142 static int _insert_pvmove_mirrors(struct cmd_context *cmd, in _insert_pvmove_mirrors()
173 static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd, in _set_up_pvmove_lv()
263 static int _activate_lv(struct cmd_context *cmd, struct logical_volume *lv_mirr, in _activate_lv()
276 static int _update_metadata(struct cmd_context *cmd, struct volume_group *vg, in _update_metadata()
348 static int _set_up_pvmove(struct cmd_context *cmd, const char *pv_name, in _set_up_pvmove()
[all …]
H A Dreporter.c35 static int _lvs_single(struct cmd_context *cmd, struct logical_volume *lv, in _lvs_single()
60 static int _pvsegs_sub_single(struct cmd_context *cmd, in _pvsegs_sub_single()
118 static int _lvsegs_single(struct cmd_context *cmd, struct logical_volume *lv, in _lvsegs_single()
127 static int _pvsegs_single(struct cmd_context *cmd, struct volume_group *vg, in _pvsegs_single()
134 static int _pvs_single(struct cmd_context *cmd, struct volume_group *vg, in _pvs_single()
181 static int _label_single(struct cmd_context *cmd, struct volume_group *vg, in _label_single()
192 static int _pvs_in_vg(struct cmd_context *cmd, const char *vg_name, in _pvs_in_vg()
204 static int _pvsegs_in_vg(struct cmd_context *cmd, const char *vg_name, in _pvsegs_in_vg()
216 static int _report(struct cmd_context *cmd, int argc, char **argv, in _report()
426 int lvs(struct cmd_context *cmd, int argc, char **argv) in lvs()
[all …]
H A Dtoollib.c25 const char *command_name(struct cmd_context *cmd) in command_name()
33 char *skip_dev_dir(struct cmd_context *cmd, const char *vg_name, in skip_dev_dir()
87 int process_each_lv_in_vg(struct cmd_context *cmd, in process_each_lv_in_vg()
168 int process_each_lv(struct cmd_context *cmd, int argc, char **argv, in process_each_lv()
338 int process_each_segment_in_pv(struct cmd_context *cmd, in process_each_segment_in_pv()
400 int process_each_segment_in_lv(struct cmd_context *cmd, in process_each_segment_in_lv()
422 static int _process_one_vg(struct cmd_context *cmd, const char *vg_name, in _process_one_vg()
464 int process_each_vg(struct cmd_context *cmd, int argc, char **argv, in process_each_vg()
558 int process_each_pv_in_vg(struct cmd_context *cmd, struct volume_group *vg, in process_each_pv_in_vg()
580 static int _process_all_devs(struct cmd_context *cmd, void *handle, in _process_all_devs()
[all …]
H A Dlvmcmdline.c65 unsigned arg_is_set(const struct cmd_context *cmd, int a) in arg_is_set()
75 const char *arg_str_value(struct cmd_context *cmd, int a, const char *def) in arg_str_value()
80 int32_t arg_int_value(struct cmd_context *cmd, int a, const int32_t def) in arg_int_value()
85 uint32_t arg_uint_value(struct cmd_context *cmd, int a, const uint32_t def) in arg_uint_value()
90 int64_t arg_int64_value(struct cmd_context *cmd, int a, const int64_t def) in arg_int64_value()
95 uint64_t arg_uint64_value(struct cmd_context *cmd, int a, const uint64_t def) in arg_uint64_value()
100 const void *arg_ptr_value(struct cmd_context *cmd, int a, const void *def) in arg_ptr_value()
105 sign_t arg_sign_value(struct cmd_context *cmd, int a, const sign_t def) in arg_sign_value()
110 percent_t arg_percent_value(struct cmd_context *cmd, int a, const percent_t def) in arg_percent_value()
180 int metadatatype_arg(struct cmd_context *cmd, struct arg *a) in metadatatype_arg()
[all …]
H A Dpolldaemon.c28 static int _become_daemon(struct cmd_context *cmd) in _become_daemon()
68 progress_t poll_mirror_progress(struct cmd_context *cmd, in poll_mirror_progress()
100 static int _check_lv_status(struct cmd_context *cmd, in _check_lv_status()
154 static int _wait_for_single_lv(struct cmd_context *cmd, const char *name, const char *uuid, in _wait_for_single_lv()
199 static int _poll_vg(struct cmd_context *cmd, const char *vgname, in _poll_vg()
225 static void _poll_for_all_vgs(struct cmd_context *cmd, in _poll_for_all_vgs()
237 int poll_daemon(struct cmd_context *cmd, const char *name, const char *uuid, in poll_daemon()
/dflybsd-src/contrib/lvm2/dist/lib/activate/
H A Dactivate.c40 int lvm1_present(struct cmd_context *cmd) in lvm1_present()
146 int target_present(struct cmd_context *cmd, const char *target_name, in target_present()
151 int lv_info(struct cmd_context *cmd, const struct logical_volume *lv, struct lvinfo *info, in lv_info()
156 int lv_info_by_lvid(struct cmd_context *cmd, const char *lvid_s, in lv_info_by_lvid()
166 int lv_mirror_percent(struct cmd_context *cmd, struct logical_volume *lv, in lv_mirror_percent()
184 int lv_suspend(struct cmd_context *cmd, const char *lvid_s) in lv_suspend()
188 int lv_suspend_if_active(struct cmd_context *cmd, const char *lvid_s) in lv_suspend_if_active()
192 int lv_resume(struct cmd_context *cmd, const char *lvid_s) in lv_resume()
196 int lv_resume_if_active(struct cmd_context *cmd, const char *lvid_s) in lv_resume_if_active()
200 int lv_deactivate(struct cmd_context *cmd, const char *lvid_s) in lv_deactivate()
[all …]
/dflybsd-src/usr.sbin/lpr/lpc/
H A Dlpc.h43 struct cmd { struct
47 /* routine to do all the work for plain cmds, or argument
50 /* routine to do the work for generic-printer cmds: */ argument
51 void (*c_generic)(struct printer *);
/dflybsd-src/lib/libipfw3/layer2/
H A Dipfw3_layer2.c134 parse_layer2(ipfw_insn **cmd, int *ac, char **av[]) in parse_layer2()
143 parse_mac_from(ipfw_insn **cmd, int *ac, char **av[]) in parse_mac_from()
167 parse_mac_to(ipfw_insn **cmd, int *ac, char **av[]) in parse_mac_to()
192 parse_mac(ipfw_insn **cmd, int *ac, char **av[]) in parse_mac()
207 show_layer2(ipfw_insn *cmd, int show_or) in show_layer2()
213 show_mac(ipfw_insn *cmd, int show_or) in show_mac()
225 show_mac_from(ipfw_insn *cmd, int show_or) in show_mac_from()
236 show_mac_from_lookup(ipfw_insn *cmd, int show_or) in show_mac_from_lookup()
242 show_mac_to(ipfw_insn *cmd, int show_or) in show_mac_to()
253 show_mac_to_lookup(ipfw_insn *cmd, int show_or) in show_mac_to_lookup()
/dflybsd-src/lib/libipfw3/layer4/
H A Dipfw3_layer4.c66 parse_tcpflag(ipfw_insn **cmd, int *ac, char **av[]) in parse_tcpflag()
76 parse_uid(ipfw_insn **cmd, int *ac, char **av[]) in parse_uid()
98 parse_gid(ipfw_insn **cmd, int *ac, char **av[]) in parse_gid()
120 parse_established(ipfw_insn **cmd, int *ac, char **av[]) in parse_established()
129 parse_bpf(ipfw_insn **cmd, int *ac, char **av[]) in parse_bpf()
160 show_tcpflag(ipfw_insn *cmd, int show_or) in show_tcpflag()
169 show_uid(ipfw_insn *cmd, int show_or) in show_uid()
184 show_gid(ipfw_insn *cmd, int show_or) in show_gid()
199 show_established(ipfw_insn *cmd, int show_or) in show_established()
205 show_bpf(ipfw_insn *cmd, int show_or) in show_bpf()
/dflybsd-src/contrib/lvm2/dist/lib/format_text/
H A Darchiver.c41 int archive_init(struct cmd_context *cmd, const char *dir, in archive_init()
68 void archive_exit(struct cmd_context *cmd) in archive_exit()
77 void archive_enable(struct cmd_context *cmd, int flag) in archive_enable()
139 int archive_display(struct cmd_context *cmd, const char *vg_name) in archive_display()
149 int archive_display_file(struct cmd_context *cmd, const char *file) in archive_display_file()
158 int backup_init(struct cmd_context *cmd, const char *dir, in backup_init()
180 void backup_exit(struct cmd_context *cmd) in backup_exit()
189 void backup_enable(struct cmd_context *cmd, int flag) in backup_enable()
249 int backup_remove(struct cmd_context *cmd, const char *vg_name) in backup_remove()
266 struct volume_group *backup_read_vg(struct cmd_context *cmd, in backup_read_vg()
[all …]
/dflybsd-src/sys/net/ipfw3_basic/
H A Dip_fw3_basic.c108 ipfw_insn *cmd; in lookup_next_rule() local
128 iface_match(struct ifnet *ifp, ipfw_insn_if *cmd) in iface_match()
166 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_count()
176 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_skipto()
189 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_forward()
237 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_in()
245 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_out()
253 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_via()
263 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_proto()
271 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len) in check_prob()
[all …]
/dflybsd-src/sys/dev/netif/iwm/
H A Dif_iwm_power.c144 struct iwm_beacon_filter_cmd *cmd) in iwm_beacon_filter_send_cmd()
191 struct iwm_vap *ivp, struct iwm_beacon_filter_cmd *cmd) in iwm_beacon_filter_set_cqm_params()
197 iwm_power_log(struct iwm_softc *sc, struct iwm_mac_power_cmd *cmd) in iwm_power_log()
239 struct iwm_mac_power_cmd *cmd) in iwm_power_config_skip_dtim()
269 struct iwm_mac_power_cmd *cmd) in iwm_power_build_cmd()
318 struct iwm_mac_power_cmd cmd = {}; in iwm_power_send_cmd() local
329 struct iwm_beacon_filter_cmd *cmd) in _iwm_enable_beacon_filter()
345 struct iwm_beacon_filter_cmd cmd = { in iwm_enable_beacon_filter() local
356 struct iwm_beacon_filter_cmd cmd = {}; in iwm_disable_beacon_filter() local
400 struct iwm_beacon_filter_cmd cmd = { in iwm_power_set_ba() local
[all …]
/dflybsd-src/contrib/lvm2/dist/include/
H A Dlocking.h125 #define lock_lv_vol(cmd, lv, flags) \ argument
128 #define unlock_vg(cmd, vol) lock_vol(cmd, vol, LCK_VG_UNLOCK) argument
129 #define unlock_and_release_vg(cmd, vg, vol) \ argument
135 #define resume_lv(cmd, lv) lock_lv_vol(cmd, lv, LCK_LV_RESUME) argument
136 #define suspend_lv(cmd, lv) lock_lv_vol(cmd, lv, LCK_LV_SUSPEND | LCK_HOLD) argument
137 #define deactivate_lv(cmd, lv) lock_lv_vol(cmd, lv, LCK_LV_DEACTIVATE) argument
138 #define activate_lv(cmd, lv) lock_lv_vol(cmd, lv, LCK_LV_ACTIVATE | LCK_HOLD) argument
139 #define activate_lv_excl(cmd, lv) \ argument
141 #define activate_lv_local(cmd, lv) \ argument
143 #define deactivate_lv_local(cmd, lv) \ argument
/dflybsd-src/contrib/lvm2/dist/lib/locking/
H A Dlocking.h125 #define lock_lv_vol(cmd, lv, flags) \ argument
128 #define unlock_vg(cmd, vol) lock_vol(cmd, vol, LCK_VG_UNLOCK) argument
129 #define unlock_and_release_vg(cmd, vg, vol) \ argument
135 #define resume_lv(cmd, lv) lock_lv_vol(cmd, lv, LCK_LV_RESUME) argument
136 #define suspend_lv(cmd, lv) lock_lv_vol(cmd, lv, LCK_LV_SUSPEND | LCK_HOLD) argument
137 #define deactivate_lv(cmd, lv) lock_lv_vol(cmd, lv, LCK_LV_DEACTIVATE) argument
138 #define activate_lv(cmd, lv) lock_lv_vol(cmd, lv, LCK_LV_ACTIVATE | LCK_HOLD) argument
139 #define activate_lv_excl(cmd, lv) \ argument
141 #define activate_lv_local(cmd, lv) \ argument
143 #define deactivate_lv_local(cmd, lv) \ argument
/dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/
H A Dctrl_iface.c271 static int wpas_ctrl_pno(struct wpa_supplicant *wpa_s, char *cmd) in wpas_ctrl_pno()
322 const char *cmd) in wpas_ctrl_iface_set_lci()
349 wpas_ctrl_set_relative_rssi(struct wpa_supplicant *wpa_s, const char *cmd) in wpas_ctrl_set_relative_rssi()
368 const char *cmd) in wpas_ctrl_set_relative_band_adjust()
396 const char *cmd) in wpas_ctrl_iface_set_ric_ies()
418 char *cmd) in wpa_supplicant_ctrl_iface_set()
775 char *cmd, char *buf, size_t buflen) in wpa_supplicant_ctrl_iface_get()
957 struct wpa_supplicant *wpa_s, char *cmd) in wpa_supplicant_ctrl_iface_tdls_chan_switch()
1030 struct wpa_supplicant *wpa_s, char *cmd) in wpa_supplicant_ctrl_iface_tdls_cancel_chan_switch()
1083 static int wmm_ac_ctrl_addts(struct wpa_supplicant *wpa_s, char *cmd) in wmm_ac_ctrl_addts()
[all …]
/dflybsd-src/sys/dev/raid/mrsas/
H A Dmrsas_cam.c354 struct mrsas_mpt_cmd *cmd; in mrsas_scsiio_timeout() local
390 struct mrsas_mpt_cmd *cmd; in mrsas_startio() local
580 struct mrsas_mpt_cmd *cmd = NULL; in mrsas_get_mpt_cmd() local
605 void mrsas_release_mpt_cmd(struct mrsas_mpt_cmd *cmd) in mrsas_release_mpt_cmd()
647 int mrsas_build_ldio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, in mrsas_build_ldio()
694 int mrsas_setup_io(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, in mrsas_setup_io()
846 int mrsas_build_dcdb(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, in mrsas_build_dcdb()
913 int mrsas_map_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd) in mrsas_map_request()
946 void mrsas_unmap_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd) in mrsas_unmap_request()
972 struct mrsas_mpt_cmd *cmd = (struct mrsas_mpt_cmd *)arg; in mrsas_data_load_cb() local
[all …]
/dflybsd-src/contrib/nvi2/vi/
H A Dv_ex.c41 EXCMD cmd; in v_again() local
93 EXCMD cmd; in v_join() local
122 EXCMD cmd; in v_shiftl() local
138 EXCMD cmd; in v_shiftr() local
154 EXCMD cmd; in v_suspend() local
170 EXCMD cmd; in v_switch() local
203 EXCMD cmd; in v_tagpush() local
219 EXCMD cmd; in v_tagpop() local
234 EXCMD cmd; in v_filter() local
/dflybsd-src/sys/libprop/
H A Dprop_kern.c125 _prop_object_send_ioctl(prop_object_t obj, int fd, unsigned long cmd) in _prop_object_send_ioctl()
150 prop_array_send_ioctl(prop_array_t array, int fd, unsigned long cmd) in prop_array_send_ioctl()
167 prop_dictionary_send_ioctl(prop_dictionary_t dict, int fd, unsigned long cmd) in prop_dictionary_send_ioctl()
286 prop_array_recv_ioctl(int fd, unsigned long cmd, prop_array_t *arrayp) in prop_array_recv_ioctl()
309 prop_dictionary_recv_ioctl(int fd, unsigned long cmd, prop_dictionary_t *dictp) in prop_dictionary_recv_ioctl()
334 unsigned long cmd, prop_dictionary_t *dictp) in prop_dictionary_sendrecv_ioctl()
430 const u_long cmd, prop_object_t *objp) in _prop_object_copyin_ioctl()
466 prop_array_copyin_ioctl(const struct plistref *pref, const u_long cmd, in prop_array_copyin_ioctl()
478 prop_dictionary_copyin_ioctl(const struct plistref *pref, const u_long cmd, in prop_dictionary_copyin_ioctl()
560 _prop_object_copyout_ioctl(struct plistref *pref, const u_long cmd, in _prop_object_copyout_ioctl()
[all …]

12345678910>>...39