/dragonfly/lib/libipfw3/basic/ |
H A D | ipfw3_basic.c | 125 fill_iface(ipfw_insn_if *cmd, char *arg) in fill_iface() 236 *add_proto(ipfw_insn *cmd, char *av) in add_proto() 650 show_count(ipfw_insn *cmd, int show_or) in show_count() 690 show_in(ipfw_insn *cmd, int show_or) in show_in() 696 show_out(ipfw_insn *cmd, int show_or) in show_out() 702 show_via(ipfw_insn *cmd, int show_or) in show_via() 742 show_from(ipfw_insn *cmd, int show_or) in show_from() 795 show_to(ipfw_insn *cmd, int show_or) in show_to() 814 show_to_me(ipfw_insn *cmd, int show_or) in show_to_me() 858 show_prob(ipfw_insn *cmd, int show_or) in show_prob() [all …]
|
/dragonfly/contrib/lvm2/dist/lib/commands/ |
H A D | toolcontext.c | 64 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() 514 int config_files_changed(struct cmd_context *cmd) in config_files_changed() 821 struct cmd_context *cmd; member 990 static int _init_backup(struct cmd_context *cmd) in _init_backup() 1054 static void _init_rand(struct cmd_context *cmd) in _init_rand() 1073 struct cmd_context *cmd; in create_toolcontext() local 1233 int refresh_filters(struct cmd_context *cmd) in refresh_filters() [all …]
|
/dragonfly/sbin/svc/ |
H A D | execute.c | 58 execute_init(command_t *cmd) in execute_init() 425 execute_start(command_t *cmd) in execute_start() 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() 620 execute_log(command_t *cmd) in execute_log() 749 execute_help(command_t *cmd) in execute_help() 765 command_t *cmd = arg; in logger_thread() local 821 setup_gid(command_t *cmd) in setup_gid() 852 setup_uid(command_t *cmd) in setup_uid() [all …]
|
H A D | svc.c | 50 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()
|
/dragonfly/usr.sbin/installer/libinstaller/ |
H A D | commands.c | 87 struct command *cmd; in command_new() local 120 struct command *cmd; in command_add() local 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() 261 struct command *cmd; in commands_preview() local 287 struct command *cmd, int *cancelled) in pipe_loop() 380 struct command *cmd) in command_execute() 505 struct command *cmd; in commands_execute() local [all …]
|
/dragonfly/contrib/lvm2/dist/tools/ |
H A D | vgchange.c | 20 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() 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() 385 static int _vgchange_tag(struct cmd_context *cmd, struct volume_group *vg, in _vgchange_tag() 480 static int vgchange_single(struct cmd_context *cmd, const char *vg_name, in vgchange_single() [all …]
|
H A D | lvchange.c | 20 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 D | pvmove.c | 24 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() 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() 348 static int _set_up_pvmove(struct cmd_context *cmd, const char *pv_name, in _set_up_pvmove() 461 static int _finish_pvmove(struct cmd_context *cmd, struct volume_group *vg, in _finish_pvmove() 548 static struct volume_group *_get_move_vg(struct cmd_context *cmd, in _get_move_vg() 572 int pvmove_poll(struct cmd_context *cmd, const char *pv_name, in pvmove_poll() [all …]
|
H A D | reporter.c | 35 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() 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() 438 int vgs(struct cmd_context *cmd, int argc, char **argv) in vgs() [all …]
|
H A D | toollib.c | 25 const char *command_name(struct cmd_context *cmd) in command_name() 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() 580 static int _process_all_devs(struct cmd_context *cmd, void *handle, in _process_all_devs() 630 int process_each_pv(struct cmd_context *cmd, int argc, char **argv, in process_each_pv() 861 char *default_vgname(struct cmd_context *cmd) in default_vgname() [all …]
|
H A D | lvmcmdline.c | 65 unsigned arg_is_set(const struct cmd_context *cmd, int a) in arg_is_set() 180 int metadatatype_arg(struct cmd_context *cmd, struct arg *a) in metadatatype_arg() 309 int size_kb_arg(struct cmd_context *cmd, struct arg *a) in size_kb_arg() 314 int size_mb_arg(struct cmd_context *cmd, struct arg *a) in size_mb_arg() 453 int segtype_arg(struct cmd_context *cmd, struct arg *a) in segtype_arg() 769 static int _get_settings(struct cmd_context *cmd) in _get_settings() 893 static void _apply_settings(struct cmd_context *cmd) in _apply_settings() 1175 struct cmd_context *cmd; in init_lvm() local 1200 void lvm_fin(struct cmd_context *cmd) in lvm_fin() 1264 static int _lvm1_fallback(struct cmd_context *cmd) in _lvm1_fallback() [all …]
|
H A D | polldaemon.c | 28 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()
|
/dragonfly/contrib/lvm2/dist/lib/activate/ |
H A D | activate.c | 40 int lvm1_present(struct cmd_context *cmd) in lvm1_present() 156 int lv_info_by_lvid(struct cmd_context *cmd, const char *lvid_s, in lv_info_by_lvid() 184 int lv_suspend(struct cmd_context *cmd, const char *lvid_s) in lv_suspend() 192 int lv_resume(struct cmd_context *cmd, const char *lvid_s) in lv_resume() 200 int lv_deactivate(struct cmd_context *cmd, const char *lvid_s) in lv_deactivate() 262 static int _passes_activation_filter(struct cmd_context *cmd, in _passes_activation_filter() 488 int lv_info_by_lvid(struct cmd_context *cmd, const char *lvid_s, in lv_info_by_lvid() 729 int monitor_dev_for_events(struct cmd_context *cmd, in monitor_dev_for_events() 925 int lv_suspend(struct cmd_context *cmd, const char *lvid_s) in lv_suspend() 980 int lv_resume(struct cmd_context *cmd, const char *lvid_s) in lv_resume() [all …]
|
/dragonfly/usr.sbin/lpr/lpc/ |
H A D | lpc.h | 43 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 *);
|
/dragonfly/lib/libipfw3/layer2/ |
H A D | ipfw3_layer2.c | 134 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()
|
/dragonfly/lib/libipfw3/layer4/ |
H A D | ipfw3_layer4.c | 66 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()
|
/dragonfly/contrib/lvm2/dist/lib/format_text/ |
H A D | archiver.c | 41 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() 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() 363 int backup_restore(struct cmd_context *cmd, const char *vg_name) in backup_restore() [all …]
|
/dragonfly/sys/net/ipfw3_basic/ |
H A D | ip_fw3_basic.c | 108 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 …]
|
/dragonfly/sys/dev/netif/iwm/ |
H A D | if_iwm_power.c | 144 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 …]
|
/dragonfly/contrib/lvm2/dist/lib/locking/ |
H A D | locking.h | 125 #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
|
/dragonfly/contrib/lvm2/dist/include/ |
H A D | locking.h | 125 #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
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
H A D | ctrl_iface.c | 418 char *cmd) in wpa_supplicant_ctrl_iface_set() 1617 char *cmd) in wpas_ctrl_nfc_report_handover() 1847 char *cmd) in wpa_supplicant_ctrl_iface_wps_er_pin() 1866 char *cmd) in wpa_supplicant_ctrl_iface_wps_er_learn() 2370 char *cmd) in wpa_supplicant_ctrl_iface_bssid() 3657 char *cmd) in wpa_supplicant_ctrl_iface_remove_cred() 5917 char *cmd) in p2p_ctrl_serv_disc_cancel_req() 5987 char *cmd) in p2p_ctrl_service_add_bonjour() 6189 char *cmd) in p2p_ctrl_service_del_bonjour() 9576 char *cmd) in wpas_ctrl_iface_mac_rand_scan() [all …]
|
/dragonfly/sys/dev/raid/mrsas/ |
H A D | mrsas_cam.c | 354 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 …]
|
/dragonfly/contrib/nvi2/vi/ |
H A D | v_ex.c | 41 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
|
/dragonfly/sys/libprop/ |
H A D | prop_kern.c | 125 _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() 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() 574 prop_array_copyout_ioctl(struct plistref *pref, const u_long cmd, in prop_array_copyout_ioctl() [all …]
|