/netbsd/sys/arch/arm/amlogic/ |
H A D | meson_sdhc.c | 674 nblks = cmd->c_datalen / cmd->c_blklen; in meson_sdhc_exec_command() 675 if (nblks == 0 || (cmd->c_datalen % cmd->c_blklen) != 0) in meson_sdhc_exec_command() 721 memcpy(sc->sc_bbuf, cmd->c_data, cmd->c_datalen); in meson_sdhc_exec_command() 729 cmd->c_resid = cmd->c_datalen; in meson_sdhc_exec_command() 773 cmd->c_resp[0] = (cmd->c_resp[0] >> 8) | in meson_sdhc_exec_command() 775 cmd->c_resp[1] = (cmd->c_resp[1] >> 8) | in meson_sdhc_exec_command() 777 cmd->c_resp[2] = (cmd->c_resp[2] >> 8) | in meson_sdhc_exec_command() 779 cmd->c_resp[3] = (cmd->c_resp[3] >> 8); in meson_sdhc_exec_command() 800 memcpy(cmd->c_data, sc->sc_bbuf, cmd->c_datalen); in meson_sdhc_exec_command() 937 memset(&cmd, 0, sizeof(cmd)); in meson_sdhc_execute_tuning() [all …]
|
H A D | mesongx_mmc.c | 617 cmd = sc->sc_cmd; in mesongx_mmc_intr() 644 cmd->c_resp[0] = (cmd->c_resp[0] >> 8) | in mesongx_mmc_intr() 646 cmd->c_resp[1] = (cmd->c_resp[1] >> 8) | in mesongx_mmc_intr() 648 cmd->c_resp[2] = (cmd->c_resp[2] >> 8) | in mesongx_mmc_intr() 650 cmd->c_resp[3] = (cmd->c_resp[3] >> 8); in mesongx_mmc_intr() 866 memcpy(sc->sc_dmabounce_buf, cmd->c_data, cmd->c_datalen); in mesongx_mmc_dma_prepare() 885 xferlen = (resid / cmd->c_blklen) * cmd->c_blklen; in mesongx_mmc_dma_prepare() 938 memcpy(cmd->c_data, sc->sc_dmabounce_buf, cmd->c_datalen); in mesongx_mmc_dma_complete() 1000 cmd->c_resid = cmd->c_datalen; in mesongx_mmc_exec_command() 1001 cmd->c_error = mesongx_mmc_dma_prepare(sc, cmd, cmdflags); in mesongx_mmc_exec_command() [all …]
|
/netbsd/external/gpl2/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 …]
|
/netbsd/distrib/utils/more/ |
H A D | os.c | 78 lsystem(cmd) in lsystem() argument 79 char *cmd; in lsystem() 90 cmd++; 96 putstr(cmd); 130 cmd = shell; 135 cmd = cmdbuf; 138 if (*cmd == '\0') 139 cmd = "sh"; 210 char *cmd; local 240 free(cmd); [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/apps/ |
H A D | progs.pl | 120 foreach my $cmd ( @ARGV ) { 122 " {FT_general, \"$cmd\", ${cmd}_main, ${cmd}_options, NULL, NULL},\n"; 123 if ($cmd =~ /^s_/) { 138 } elsif (grep { $cmd eq $_ } @disablables) { 140 } elsif (my $disabler = $cmd_disabler{$cmd}) { 151 foreach my $cmd ( 161 if (grep { $cmd eq $_ } @disablables) { 163 } elsif (my $disabler = $md_disabler{$cmd}) { 175 foreach my $cmd ( 207 (my $algo = $cmd) =~ s/-.*//g; [all …]
|
/netbsd/external/gpl2/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 …]
|
/netbsd/bin/chio/ |
H A D | chio.c | 210 (void)memset(&cmd, 0, sizeof(cmd)); in do_move() 272 (void)memset(&cmd, 0, sizeof(cmd)); in do_exchange() 296 cmd.ce_sdsttype = cmd.ce_srctype; in do_exchange() 297 cmd.ce_sdstunit = cmd.ce_srcunit; in do_exchange() 358 (void)memset(&cmd, 0, sizeof(cmd)); in do_position() 635 (void)memset(&cmd, 0, sizeof(cmd)); in do_status() 637 cmd.cesr_type = chet; in do_status() 638 cmd.cesr_unit = unit; in do_status() 640 cmd.cesr_flags = flags; in do_status() 641 cmd.cesr_data = ces; in do_status() [all …]
|
/netbsd/external/cddl/dtracetoolkit/dist/Docs/Examples/ |
H A D | tcl_calltime_example.txt | 13 16028 cmd after 3 14 16028 cmd namespace 3 15 16028 cmd puts 3 16 16028 cmd lappend 4 17 16028 cmd lsearch 4 18 16028 cmd if 8 19 16028 cmd info 11 20 16028 cmd file 12 21 16028 cmd proc 12 26 16028 cmd tclInit 253 [all …]
|
/netbsd/external/cddl/dtracetoolkit/dist/Examples/ |
H A D | tcl_calltime_example.txt | 13 16028 cmd after 3 14 16028 cmd namespace 3 15 16028 cmd puts 3 16 16028 cmd lappend 4 17 16028 cmd lsearch 4 18 16028 cmd if 8 19 16028 cmd info 11 20 16028 cmd file 12 21 16028 cmd proc 12 26 16028 cmd tclInit 253 [all …]
|
/netbsd/sbin/canconfig/ |
H A D | canconfig.c | 125 const struct command *cmd; in main() local 190 for (cmd = command_table; cmd->cmd_keyword != NULL; cmd++) { in main() 194 if (cmd->cmd_keyword == NULL) in main() 200 if (argc < cmd->cmd_argcnt) in main() 202 cmd->cmd_keyword, cmd->cmd_argcnt, in main() 205 (*cmd->cmd_func)(cmd, sock, canifname, argv); in main() 207 argc -= cmd->cmd_argcnt; in main() 208 argv += cmd->cmd_argcnt; in main() 462 int cmd; in do_canflag() local 464 cmd = CANSLINKMODE; in do_canflag() [all …]
|
/netbsd/external/gpl2/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 …]
|
/netbsd/external/apache2/llvm/dist/libcxx/utils/libcxx/ |
H A D | compiler.py | 103 cmd = [] 107 cmd += ['ccache'] 108 cmd += [self.path] 110 cmd += ['-o', out] 120 cmd += ['-E'] 122 cmd += ['-c'] 123 cmd += self.flags 135 cmd += flags 136 return cmd 293 if '-v' in cmd: [all …]
|
/netbsd/usr.sbin/mmcformat/ |
H A D | mmcformat.c | 90 scsicmd cmd; in uscsi_waitop() local 98 bzero(cmd, SCSI_CMD_LEN); in uscsi_waitop() 112 bzero(cmd, SCSI_CMD_LEN); in uscsi_waitop() 193 scsicmd cmd; in uscsi_get_mmc_profile() local 199 bzero(cmd, SCSI_CMD_LEN); in uscsi_get_mmc_profile() 215 scsicmd cmd; in uscsi_set_packet_parameters() local 246 cmd[8] = val_len & 0xff; in uscsi_set_packet_parameters() 264 scsicmd cmd; in get_format_capabilities() local 514 scsicmd cmd; in uscsi_format_cdrw_mode7() local 577 scsicmd cmd; in uscsi_format_disc() local [all …]
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/ |
H A D | wpa_cli.c | 1053 end = cmd + sizeof(cmd); in wpa_cli_cmd_identity() 1086 end = cmd + sizeof(cmd); in wpa_cli_cmd_password() 1120 end = cmd + sizeof(cmd); in wpa_cli_cmd_new_password() 1153 end = cmd + sizeof(cmd); in wpa_cli_cmd_pin() 1185 end = cmd + sizeof(cmd); in wpa_cli_cmd_otp() 1218 end = cmd + sizeof(cmd); in wpa_cli_cmd_sim() 1250 end = cmd + sizeof(cmd); in wpa_cli_cmd_psk_passphrase() 1284 end = cmd + sizeof(cmd); in wpa_cli_cmd_passphrase() 1867 cmd[sizeof(cmd) - 1] = '\0'; in wpa_cli_cmd_interface_add() 3878 while (cmd->cmd) { in wpa_request() [all …]
|
/netbsd/external/bsd/less/dist/ |
H A D | lsystem.c | 44 char *cmd; in lsystem() 61 if (cmd[0] == '-') 62 cmd++; 67 putstr(cmd); 73 if (*cmd == '\0') 154 p = save(cmd); 169 system(cmd); 172 system(cmd); 257 char *cmd; 290 char *cmd; in pipe_data() [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | process-dies-while-detaching.exp | 178 if {$cmd == "detach"} { 182 } elseif {$cmd == "continue"} { 187 perror "unhandled command: $cmd" 195 if {$cmd == "detach"} { 197 } elseif {$cmd == "continue"} { 200 perror "unhandled command: $cmd" 213 proc test_detach {multi_process cmd} { argument 313 proc do_test {multi_process cmd} { argument 334 test_detach $multi_process $cmd 342 with_test_prefix "$mode: $cmd" { [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | process-dies-while-detaching.exp | 178 if {$cmd == "detach"} { 182 } elseif {$cmd == "continue"} { 187 perror "unhandled command: $cmd" 195 if {$cmd == "detach"} { 197 } elseif {$cmd == "continue"} { 200 perror "unhandled command: $cmd" 213 proc test_detach {multi_process cmd} { argument 313 proc do_test {multi_process cmd} { argument 334 test_detach $multi_process $cmd 342 with_test_prefix "$mode: $cmd" { [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
H A D | shell.exp | 129 foreach cmd {"pipe " "| " "|"} { 134 "${cmd}-" \ 135 "${cmd}-d" 143 "${cmd}maint set test-se" \ 144 "${cmd}maint set test-settings" 146 "${cmd}-d XXX maint set test-se" \ 151 "${cmd}print 1 | " 155 "${cmd}-d XXX maint set" \ 156 "${cmd}-d XXX maint set" 158 "${cmd}-d set maint set" [all …]
|
H A D | frameapply.exp | 52 gdb_test $cmd \ 77 gdb_test $cmd \ 95 gdb_test $cmd \ 114 set cmd "frame apply $frame_apply_args p f3arg" 115 gdb_test $cmd \ 129 gdb_test $cmd \ 153 set cmd "$cmd_and_args p f3arg" 154 gdb_test $cmd \ 169 gdb_test $cmd \ 185 gdb_test $cmd \ [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
H A D | shell.exp | 129 foreach cmd {"pipe " "| " "|"} { 134 "${cmd}-" \ 135 "${cmd}-d" 143 "${cmd}maint set test-se" \ 144 "${cmd}maint set test-settings" 146 "${cmd}-d XXX maint set test-se" \ 151 "${cmd}print 1 | " 155 "${cmd}-d XXX maint set" \ 156 "${cmd}-d XXX maint set" 158 "${cmd}-d set maint set" [all …]
|
H A D | frameapply.exp | 52 gdb_test $cmd \ 77 gdb_test $cmd \ 95 gdb_test $cmd \ 114 set cmd "frame apply $frame_apply_args p f3arg" 115 gdb_test $cmd \ 129 gdb_test $cmd \ 153 set cmd "$cmd_and_args p f3arg" 154 gdb_test $cmd \ 169 gdb_test $cmd \ 185 gdb_test $cmd \ [all …]
|
/netbsd/sys/dev/ic/ |
H A D | ciss.c | 356 cmd->sglen = htole16((u_int16_t)cmd->sgin); in ciss_attach() 745 cmd->sglen = htole16((u_int16_t)cmd->sgin); in ciss_cmd() 958 memset(&cmd->cdb[0], 0, sizeof(cmd->cdb)); in ciss_inq() 990 memset(&cmd->cdb[0], 0, sizeof(cmd->cdb)); in ciss_ldmap() 1032 memset(&cmd->cdb[0], 0, sizeof(cmd->cdb)); in ciss_sync() 1062 memset(&cmd->cdb[0], 0, sizeof(cmd->cdb)); in ciss_ldid() 1090 memset(&cmd->cdb[0], 0, sizeof(cmd->cdb)); in ciss_ldstat() 1118 memset(&cmd->cdb[0], 0, sizeof(cmd->cdb)); in ciss_pdid() 1215 cmd->cdb[0], cmd->cdb[1], cmd->cdb[2], in ciss_scsi_cmd() 1216 cmd->cdb[3], cmd->cdb[4], cmd->cdb[5])); in ciss_scsi_cmd() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_shader.c | 214 } *cmd; in vmw_gb_shader_create() local 237 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_create() 259 } *cmd; in vmw_gb_shader_bind() local 269 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_bind() 287 } *cmd; in vmw_gb_shader_unbind() local 297 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_unbind() 324 } *cmd; in vmw_gb_shader_destroy() local 339 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_destroy() 397 } *cmd; in vmw_dx_shader_unscrub() local 407 cmd->header.size = sizeof(cmd->body); in vmw_dx_shader_unscrub() [all …]
|
/netbsd/sys/arch/arm/xscale/ |
H A D | pxa2x0_mci.c | 569 device_xname(sc->sc_dev), cmd->c_opcode, cmd->c_arg, cmd->c_data, in pxamci_exec_command() 570 cmd->c_datalen, cmd->c_flags)); in pxamci_exec_command() 601 int blklen = MIN(cmd->c_datalen, cmd->c_blklen); in pxamci_exec_command() 660 cmd->c_resid = cmd->c_datalen; in pxamci_exec_command() 661 cmd->c_buf = cmd->c_data; in pxamci_exec_command() 669 sc->sc_cmd = cmd; in pxamci_exec_command() 705 device_xname(sc->sc_dev), cmd->c_opcode, cmd->c_flags, cmd->c_error)); in pxamci_exec_command() 888 cmd->c_error = 0; in pxamci_intr_cmd() 913 cmd->c_error = 0; in pxamci_intr_cmd() 940 if (cmd->c_error == 0 && cmd->c_datalen > 0) { in pxamci_intr_cmd() [all …]
|