/dragonfly/contrib/lvm2/dist/lib/locking/ |
H A D | locking.c | 235 init_no_locking(&_locking, cmd); in init_locking() 244 if (!init_file_locking(&_locking, cmd)) in init_locking() 291 if (init_file_locking(&_locking, cmd)) in init_locking() 299 init_readonly_locking(&_locking, cmd); in init_locking() 425 if (!check_lvm1_vg_inactive(cmd, vol)) in lock_vol() 449 if (!_lock_vol(cmd, resource, in lock_vol() 463 resume_lv(cmd, lvl->lv); in resume_lvs() 475 if (!suspend_lv(cmd, lvl->lv)) { in suspend_lvs() 479 resume_lv(cmd, lvl->lv); in suspend_lvs() 497 if (!activate_lv(cmd, lvl->lv)) { in activate_lvs() [all …]
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_psp.c | 149 cmd->cmd.cmd_setup_tmr.buf_size = size; in psp_prep_tmr_cmd_buf() 177 if (!cmd) in psp_tmr_load() 187 kfree(cmd); in psp_tmr_load() 192 kfree(cmd); in psp_tmr_load() 201 cmd->cmd.cmd_load_ta.app_phy_addr_lo = lower_32_bits(asd_mc); in psp_prep_asd_cmd_buf() 202 cmd->cmd.cmd_load_ta.app_phy_addr_hi = upper_32_bits(asd_mc); in psp_prep_asd_cmd_buf() 203 cmd->cmd.cmd_load_ta.app_len = size; in psp_prep_asd_cmd_buf() 207 cmd->cmd.cmd_load_ta.cmd_buf_len = shared_size; in psp_prep_asd_cmd_buf() 240 if (!cmd) in psp_asd_load() 252 kfree(cmd); in psp_asd_load() [all …]
|
/dragonfly/lib/libipfw3/dummynet/ |
H A D | ipfw3_dummynet.c | 51 (*cmd)->opcode = O_DUMMYNET_PIPE; in parse_pipe() 52 (*cmd)->module = MODULE_DUMMYNET_ID; in parse_pipe() 53 (*cmd)->len = ((*cmd)->len&(F_NOT|F_OR))|LEN_OF_IPFWINSN; in parse_pipe() 54 (*cmd)->arg1 = strtoul(**av, NULL, 10); in parse_pipe() 62 (*cmd)->opcode = O_DUMMYNET_QUEUE; in parse_queue() 63 (*cmd)->module = MODULE_DUMMYNET_ID; in parse_queue() 64 (*cmd)->len = ((*cmd)->len&(F_NOT|F_OR))|LEN_OF_IPFWINSN; in parse_queue() 70 show_pipe(ipfw_insn *cmd, int show_or) in show_pipe() argument 72 printf(" pipe %u", cmd->arg1); in show_pipe() 76 show_queue(ipfw_insn *cmd, int show_or) in show_queue() argument [all …]
|
/dragonfly/contrib/lvm2/dist/scripts/lvm2create_initrd/ |
H A D | lvm2create_initrd | 224 cmd=`basename $0` 266 echo "$cmd -- ERROR: you need $a" 333 echo "$cmd -- making ram disk filesystem" 346 echo "$cmd -- ERROR making $TMPMNT" 368 echo "$cmd -- adding required /dev files" 393 echo "$cmd -- ERROR adding /dev files" 404 echo "$cmd -- ERROR cpio to ram disk" 421 echo "$cmd -- ERROR creating init" 462 echo "$cmd -- ummounting ram disk" 465 echo "$cmd -- ERROR umounting $DEVRAM" [all …]
|
/dragonfly/contrib/nvi2/vi/ |
H A D | v_ex.c | 41 EXCMD cmd; in v_again() local 44 argv_exp0(sp, &cmd, L(""), 1); in v_again() 45 return (v_exec_ex(sp, vp, &cmd)); in v_again() 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 [all …]
|
/dragonfly/sys/net/ipfw3_basic/ |
H A D | ip_fw3_basic.h | 93 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 95 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 97 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 99 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 101 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 103 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 105 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 107 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 109 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); 111 struct ip_fw **f, ipfw_insn *cmd, uint16_t ip_len); [all …]
|
/dragonfly/contrib/lvm2/dist/tools/ |
H A D | vgsplit.c | 225 vg_to = vg_create(cmd, vg_name_to); in _vgsplit_to() 274 return(arg_count(cmd, clustered_ARG) || in new_vg_option_specified() 275 arg_count(cmd, alloc_ARG) || in new_vg_option_specified() 292 if ((arg_count(cmd, name_ARG) + argc) < 3) { in vgsplit() 304 if (arg_count(cmd, name_ARG)) in vgsplit() 305 lv_name = arg_value(cmd, name_ARG); in vgsplit() 323 vg_from = _vgsplit_from(cmd, vg_name_from); in vgsplit() 333 cmd->fmt = vg_from->fid->fmt; in vgsplit() 354 if (cmd->fmt != vg_from->fid->fmt) { in vgsplit() 363 if (new_vg_option_specified(cmd)) { in vgsplit() [all …]
|
H A D | pvremove.c | 38 if (!(pv = pv_read(cmd, name, &mdas, NULL, 1, 0))) { in pvremove_check() 39 if (arg_count(cmd, force_ARG)) in pvremove_check() 53 if (!scan_vgs_for_pvs(cmd)) { in pvremove_check() 70 if (arg_count(cmd, force_ARG) < 2) { in pvremove_check() 77 if (!arg_count(cmd, yes_ARG) && in pvremove_check() 83 if (arg_count(cmd, force_ARG)) { in pvremove_check() 100 if (!lock_vol(cmd, VG_ORPHANS, LCK_VG_WRITE)) { in pvremove_single() 105 if (!pvremove_check(cmd, pv_name)) in pvremove_single() 133 unlock_vg(cmd, VG_ORPHANS); in pvremove_single() 148 if (arg_count(cmd, yes_ARG) && !arg_count(cmd, force_ARG)) { in pvremove() [all …]
|
H A D | vgmerge.c | 25 vg = vg_read_for_update(cmd, vg_name, NULL, 0); in _vgmerge_vg_read() 50 vg_from = _vgmerge_vg_read(cmd, vg_name_from); in _vgmerge_single() 55 vg_to = _vgmerge_vg_read(cmd, vg_name_to); in _vgmerge_single() 58 unlock_and_release_vg(cmd, vg_from, vg_name_from); in _vgmerge_single() 62 vg_to = _vgmerge_vg_read(cmd, vg_name_to); in _vgmerge_single() 68 vg_from = _vgmerge_vg_read(cmd, vg_name_from); in _vgmerge_single() 71 unlock_and_release_vg(cmd, vg_to, vg_name_to); in _vgmerge_single() 76 if (!vgs_are_compatible(cmd, vg_from, vg_to)) in _vgmerge_single() 151 unlock_and_release_vg(cmd, vg_to, vg_name_to); in _vgmerge_single() 155 unlock_and_release_vg(cmd, vg_to, vg_name_to); in _vgmerge_single() [all …]
|
/dragonfly/sbin/svc/ |
H A D | svc.h | 122 int execute_cmd(command_t *cmd); 123 void free_cmd(command_t *cmd); 137 int execute_init(command_t *cmd); 138 int execute_start(command_t *cmd); 139 int execute_stop(command_t *cmd); 140 int execute_restart(command_t *cmd); 141 int execute_exit(command_t *cmd); 142 int execute_list(command_t *cmd); 143 int execute_status(command_t *cmd); 144 int execute_log(command_t *cmd); [all …]
|
H A D | remote.c | 42 command_t *cmd; member 75 conn->cmd = cmd; in remote_execute() 92 command_t *cmd; in remote_connect_thread() local 98 cmd = conn->cmd; in remote_connect_thread() 136 fflush(cmd->fp); in remote_connect_thread() 148 fprintf(cmd->fp, in remote_connect_thread() 154 fprintf(cmd->fp, in remote_connect_thread() 197 scan->cmd = NULL; in remote_wait() 219 conn->cmd = cmd; in remote_listener() 258 command_t cmd; in remote_accepted_thread() local [all …]
|
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/ |
H A D | wpa_cli.c | 1022 end = cmd + sizeof(cmd); in wpa_cli_cmd_identity() 1055 end = cmd + sizeof(cmd); in wpa_cli_cmd_password() 1089 end = cmd + sizeof(cmd); in wpa_cli_cmd_new_password() 1122 end = cmd + sizeof(cmd); in wpa_cli_cmd_pin() 1154 end = cmd + sizeof(cmd); in wpa_cli_cmd_otp() 1187 end = cmd + sizeof(cmd); in wpa_cli_cmd_sim() 1219 end = cmd + sizeof(cmd); in wpa_cli_cmd_psk_passphrase() 1253 end = cmd + sizeof(cmd); in wpa_cli_cmd_passphrase() 1836 cmd[sizeof(cmd) - 1] = '\0'; in wpa_cli_cmd_interface_add() 3847 while (cmd->cmd) { in wpa_request() [all …]
|
H A D | ctrl_iface.c | 326 if (*cmd == '\0' || os_strcmp(cmd, "\"\"") == 0) { in wpas_ctrl_iface_set_lci() 400 if (*cmd == '\0' || os_strcmp(cmd, "\"\"") == 0) { in wpas_ctrl_iface_set_ric_ies() 1174 if (!cmd || os_strcmp(cmd, "any") == 0 || in wpa_supplicant_ctrl_iface_wps_pbc() 1288 (u8 *) cmd, os_strlen(cmd)); in wpa_supplicant_ctrl_iface_wps_check_pin() 1331 if (cmd == NULL || cmd[0] == '\0') in wpa_supplicant_ctrl_iface_wps_nfc() 2428 cmd++; in wpa_supplicant_ctrl_iface_blacklist() 2478 cmd++; in wpa_supplicant_ctrl_iface_log_level() 7448 icon = cmd[used] ? &cmd[used] : NULL; in del_hs20_icon() 7568 cmd = os_strchr(cmd, ' '); in wpas_ctrl_iface_wnm_bss_query() 9554 if (cmd && os_strstr(cmd, "lci")) in wpas_ctrl_iface_send_neighbor_rep() [all …]
|
/dragonfly/sys/netgraph7/bluetooth/l2cap/ |
H A D | ng_l2cap_misc.c | 428 cmd = kmalloc(sizeof(*cmd), M_NETGRAPH_L2CAP, in ng_l2cap_new_cmd() 430 if (cmd == NULL) in ng_l2cap_new_cmd() 433 cmd->con = con; in ng_l2cap_new_cmd() 434 cmd->ch = ch; in ng_l2cap_new_cmd() 440 return (cmd); in ng_l2cap_new_cmd() 462 return (cmd); in ng_l2cap_cmd_by_ident() 523 cmd->code, cmd->flags); in ng_l2cap_command_timeout() 525 arg = ((cmd->ident << 16) | cmd->con->con_handle); in ng_l2cap_command_timeout() 527 ng_callout(&cmd->timo, cmd->con->l2cap->node, NULL, timo, in ng_l2cap_command_timeout() 544 cmd->code, cmd->flags); in ng_l2cap_command_untimeout() [all …]
|
/dragonfly/sys/dev/crypto/hifn/ |
H A D | hifn7751.c | 1896 cmd->dst = cmd->src; in hifn_crypto() 1905 KASSERT(cmd->dst_m == cmd->src_m, in hifn_crypto() 2017 if (cmd->src_map == cmd->dst_map) { in hifn_crypto() 2153 if (cmd->src_map != cmd->dst_map) in hifn_crypto() 2156 if (cmd->src_map != cmd->dst_map) in hifn_crypto() 2160 if (cmd->src_m != cmd->dst_m) in hifn_crypto() 2772 if (cmd->src_m != cmd->dst_m) { in hifn_abort() 2817 if (cmd->src_map == cmd->dst_map) { in hifn_callback() 2828 if (cmd->src_m != cmd->dst_m) { in hifn_callback() 2845 cmd->src_mapsize - cmd->sloplen, cmd->sloplen, in hifn_callback() [all …]
|
/dragonfly/contrib/lvm2/dist/test/ |
H A D | t-inconsistent-metadata.sh | 37 vgscan 2>&1 | tee cmd.out 38 grep "Inconsistent metadata found for VG $vg" cmd.out 39 vgscan 2>&1 | tee cmd.out 45 vgdisplay 2>&1 | tee cmd.out 46 grep "Inconsistent metadata found for VG $vg" cmd.out 47 vgdisplay 2>&1 | tee cmd.out 53 lvs 2>&1 | tee cmd.out 54 grep "Inconsistent metadata found for VG $vg" cmd.out 55 vgdisplay 2>&1 | tee cmd.out 61 vgs 2>&1 | tee cmd.out [all …]
|
/dragonfly/sys/dev/disk/mmcsd/ |
H A D | mmcsd.c | 339 memset(&cmd, 0, sizeof(cmd)); in mmcsd_rw() 341 req.cmd = &cmd; in mmcsd_rw() 415 memset(&cmd, 0, sizeof(cmd)); in mmcsd_delete() 416 req.cmd = &cmd; in mmcsd_delete() 423 cmd.arg <<= 9; in mmcsd_delete() 432 memset(&cmd, 0, sizeof(cmd)); in mmcsd_delete() 433 req.cmd = &cmd; in mmcsd_delete() 441 cmd.arg--; in mmcsd_delete() 450 memset(&cmd, 0, sizeof(cmd)); in mmcsd_delete() 451 req.cmd = &cmd; in mmcsd_delete() [all …]
|
/dragonfly/contrib/lvm2/dist/lib/activate/ |
H A D | activate.h | 43 int lvm1_present(struct cmd_context *cmd); 45 int module_present(struct cmd_context *cmd, const char *target_name); 46 int target_present(struct cmd_context *cmd, const char *target_name, 58 int lv_suspend(struct cmd_context *cmd, const char *lvid_s); 59 int lv_suspend_if_active(struct cmd_context *cmd, const char *lvid_s); 60 int lv_resume(struct cmd_context *cmd, const char *lvid_s); 61 int lv_resume_if_active(struct cmd_context *cmd, const char *lvid_s); 65 int lv_deactivate(struct cmd_context *cmd, const char *lvid_s); 74 int lv_info_by_lvid(struct cmd_context *cmd, const char *lvid_s, 80 int lv_activation_filter(struct cmd_context *cmd, const char *lvid_s, [all …]
|
/dragonfly/contrib/lvm2/dist/include/ |
H A D | activate.h | 43 int lvm1_present(struct cmd_context *cmd); 45 int module_present(struct cmd_context *cmd, const char *target_name); 46 int target_present(struct cmd_context *cmd, const char *target_name, 58 int lv_suspend(struct cmd_context *cmd, const char *lvid_s); 59 int lv_suspend_if_active(struct cmd_context *cmd, const char *lvid_s); 60 int lv_resume(struct cmd_context *cmd, const char *lvid_s); 61 int lv_resume_if_active(struct cmd_context *cmd, const char *lvid_s); 65 int lv_deactivate(struct cmd_context *cmd, const char *lvid_s); 74 int lv_info_by_lvid(struct cmd_context *cmd, const char *lvid_s, 80 int lv_activation_filter(struct cmd_context *cmd, const char *lvid_s, [all …]
|
H A D | archiver.h | 36 int archive_init(struct cmd_context *cmd, const char *dir, 39 void archive_exit(struct cmd_context *cmd); 41 void archive_enable(struct cmd_context *cmd, int flag); 43 int archive_display(struct cmd_context *cmd, const char *vg_name); 44 int archive_display_file(struct cmd_context *cmd, const char *file); 46 int backup_init(struct cmd_context *cmd, const char *dir, int enabled); 47 void backup_exit(struct cmd_context *cmd); 49 void backup_enable(struct cmd_context *cmd, int flag); 52 int backup_remove(struct cmd_context *cmd, const char *vg_name); 54 struct volume_group *backup_read_vg(struct cmd_context *cmd, [all …]
|
/dragonfly/sys/dev/raid/mrsas/ |
H A D | mrsas.c | 540 if (!cmd) { in mrsas_get_seq_num() 652 if (!cmd) in mrsas_register_aen() 2220 return cmd; in mrsas_get_mfi_cmd() 2602 if (!cmd) { in mrsas_get_ctrl_info() 3003 cmd->cmd_status = cmd->frame->io.cmd_status; in mrsas_wakeup() 3033 if (!cmd) { in mrsas_shutdown_ctlr() 3080 if (!cmd) { in mrsas_flush_cache() 3143 if (!cmd) { in mrsas_get_ld_map_info() 3201 if (!cmd) { in mrsas_sync_map_info() 3266 if (!cmd) { in mrsas_get_pd_list() [all …]
|
/dragonfly/contrib/lvm2/dist/lib/format_text/ |
H A D | archiver.h | 36 int archive_init(struct cmd_context *cmd, const char *dir, 39 void archive_exit(struct cmd_context *cmd); 41 void archive_enable(struct cmd_context *cmd, int flag); 43 int archive_display(struct cmd_context *cmd, const char *vg_name); 44 int archive_display_file(struct cmd_context *cmd, const char *file); 46 int backup_init(struct cmd_context *cmd, const char *dir, int enabled); 47 void backup_exit(struct cmd_context *cmd); 49 void backup_enable(struct cmd_context *cmd, int flag); 52 int backup_remove(struct cmd_context *cmd, const char *vg_name); 54 struct volume_group *backup_read_vg(struct cmd_context *cmd, [all …]
|
/dragonfly/contrib/less/ |
H A D | lsystem.c | 61 if (cmd[0] == '-') in lsystem() 62 cmd++; in lsystem() 67 putstr(cmd); in lsystem() 73 if (*cmd == '\0') in lsystem() 74 cmd = getenv("COMSPEC"); in lsystem() 132 if (*cmd == '\0') in lsystem() 148 if (*cmd == '\0') in lsystem() 151 p = save(cmd); in lsystem() 166 system(cmd); in lsystem() 169 system(cmd); in lsystem() [all …]
|
/dragonfly/contrib/smbfs/smbutil/ |
H A D | smbutil.c | 49 struct commands *cmd; in lookupcmd() local 51 for (cmd = commands; cmd->name; cmd++) { in lookupcmd() 53 return cmd; in lookupcmd() 78 struct commands *cmd; in cmd_help() local 84 cmd = lookupcmd(cp); in cmd_help() 85 if (cmd == NULL) in cmd_help() 87 if (cmd->usage == NULL) in cmd_help() 89 cmd->usage(); in cmd_help() 96 struct commands *cmd; in main() local 126 cmd = lookupcmd(cp); in main() [all …]
|
/dragonfly/sys/dev/netif/iwm/ |
H A D | if_iwm_phy_ctxt.c | 158 memset(cmd, 0, sizeof(struct iwm_phy_context_cmd)); in iwm_phy_ctxt_cmd_hdr() 170 cmd->action = htole32(action); in iwm_phy_ctxt_cmd_hdr() 171 cmd->apply_time = htole32(apply_time); in iwm_phy_ctxt_cmd_hdr() 197 cmd->ci.band = IEEE80211_IS_CHAN_2GHZ(chan) ? in iwm_phy_ctxt_cmd_data() 200 cmd->ci.channel = ieee80211_chan2ieee(ic, chan); in iwm_phy_ctxt_cmd_data() 201 cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE20; in iwm_phy_ctxt_cmd_data() 202 cmd->ci.ctrl_pos = IWM_PHY_VHT_CTRL_POS_1_BELOW; in iwm_phy_ctxt_cmd_data() 223 cmd->rxchain_info |= htole32(active_cnt << in iwm_phy_ctxt_cmd_data() 241 struct iwm_phy_context_cmd cmd; in iwm_phy_ctxt_apply() local 253 iwm_phy_ctxt_cmd_data(sc, &cmd, ctxt->channel, in iwm_phy_ctxt_apply() [all …]
|