/freebsd-10-stable/contrib/nvi/vi/ |
H A D | v_mark.c | 105 mark(SCR *sp, VICMD *vp, int getmark, enum which cmd) argument 121 switch (cmd) { 131 cmd = FQMARK; 152 if (cmd == BQMARK && 201 if ((cmd == BQMARK || 202 (cmd == FQMARK && vp->m_start.lno != vp->m_stop.lno)) && 220 if (cmd == FQMARK)
|
/freebsd-10-stable/sys/arm/lpc/ |
H A D | lpc_spi.c | 143 lpc_spi_transfer(device_t dev, device_t child, struct spi_command *cmd) argument 157 in_buf = cmd->rx_cmd; 158 out_buf = cmd->tx_cmd; 159 for (i = 0; i < cmd->tx_cmd_sz; i++) { 165 in_buf = cmd->rx_data; 166 out_buf = cmd->tx_data; 167 for (i = 0; i < cmd->tx_data_sz; i++) {
|
/freebsd-10-stable/usr.bin/apply/ |
H A D | apply.c | 68 char *cmd, *name, *p, *shell, *slashp, *tmpshell; local 137 if ((cmd = malloc(cmdsize)) == NULL) 145 p = cmd; 146 offset = snprintf(cmd, cmdsize, EXEC "%s", argv[0]); 166 offset = snprintf(cmd, cmdsize, EXEC "%s", argv[0]); 186 for (p = cmd; *p != '\0'; ++p) { 213 free(cmd);
|
/freebsd-10-stable/sys/dev/twa/ |
H A D | tw_cl_io.c | 75 struct tw_cl_command_9k *cmd; local 113 /* Build the cmd pkt. */ 114 cmd = &(req->cmd_pkt->command.cmd_pkt_9k); 118 cmd->res__opcode = BUILD_RES__OPCODE(0, TWA_FW_CMD_EXECUTE_SCSI); 119 cmd->unit = (TW_UINT8)(scsi_req->unit); 120 cmd->lun_l4__req_id = TW_CL_SWAP16( 122 cmd->status = 0; 123 cmd->sgl_offset = 16; /* offset from end of hdr = max cdb len */ 124 tw_osl_memcpy(cmd->cdb, scsi_req->cdb, scsi_req->cdb_len); 129 req_pkt->tw_osl_sgl_callback(req_handle, cmd 371 tw_cl_ioctl(struct tw_cl_ctlr_handle *ctlr_handle, u_long cmd, TW_VOID *buf) argument 722 union tw_cl_command_7k *cmd; local 839 union tw_cl_command_7k *cmd; local 1291 tw_cli_send_scsi_cmd(struct tw_cli_req_context *req, TW_INT32 cmd) argument [all...] |
/freebsd-10-stable/usr.bin/sed/ |
H A D | compile.c | 158 struct s_command *cmd, *cmd2, *stack; local 181 if ((*link = cmd = malloc(sizeof(struct s_command))) == NULL) 183 link = &cmd->next; 184 cmd->startline = cmd->nonsel = 0; 192 if ((cmd->a1 = malloc(sizeof(struct s_addr))) == NULL) 194 p = compile_addr(p, cmd->a1); 200 if ((cmd->a2 = malloc(sizeof(struct s_addr))) 203 p = compile_addr(p, cmd->a2); 206 cmd [all...] |
/freebsd-10-stable/sys/dev/nvme/ |
H A D | nvme_qpair.c | 108 struct nvme_command *cmd) 113 get_admin_opcode_string(cmd->opc), cmd->opc, qpair->id, cmd->cid, 114 cmd->nsid, cmd->cdw10, cmd->cdw11); 119 struct nvme_command *cmd) 122 switch (cmd->opc) { 129 get_io_opcode_string(cmd 107 nvme_admin_qpair_print_command(struct nvme_qpair *qpair, struct nvme_command *cmd) argument 118 nvme_io_qpair_print_command(struct nvme_qpair *qpair, struct nvme_command *cmd) argument 149 nvme_qpair_print_command(struct nvme_qpair *qpair, struct nvme_command *cmd) argument [all...] |
/freebsd-10-stable/crypto/openssl/crypto/evp/ |
H A D | bio_enc.c | 73 static long enc_ctrl(BIO *h, int cmd, long arg1, void *arg2); 76 static long enc_callback_ctrl(BIO *h, int cmd, bio_info_cb *fps); 287 static long enc_ctrl(BIO *b, int cmd, long num, void *ptr) argument 297 switch (cmd) { 303 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 309 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 314 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 319 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 345 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 352 ret = BIO_ctrl(b->next_bio, cmd, nu 375 enc_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument [all...] |
/freebsd-10-stable/lib/libc/gen/ |
H A D | setmode.c | 62 char cmd; member in struct:bitcmd 95 switch(set->cmd) { 217 set->cmd = 0; 327 set->cmd = 0; 379 set->cmd = '-'; 388 set->cmd = op; 395 set->cmd = op; 421 for (; set->cmd; ++set) 422 (void)printf("cmd: '%c' bits %04o%s%s%s%s%s%s\n", 423 set->cmd, se [all...] |
/freebsd-10-stable/sys/dev/ixl/ |
H A D | i40e_common.c | 400 struct i40e_aqc_queue_shutdown *cmd = local 408 cmd->driver_unloading = CPU_TO_LE32(I40E_AQ_DRIVER_UNLOADING); 1650 struct i40e_aq_set_phy_config *cmd = local 1660 *cmd = *config; 1762 struct i40e_aq_set_mac_config *cmd = local 1772 cmd->max_frame_size = CPU_TO_LE16(max_frame_size); 1773 cmd->params = ((u8)pacing & 0x0F) << 3; 1775 cmd->params |= I40E_AQ_SET_MAC_CONFIG_CRC_EN; 1794 struct i40e_aqc_clear_pxe *cmd = local 1800 cmd 1821 struct i40e_aqc_set_link_restart_an *cmd = local 1939 struct i40e_aqc_set_phy_int_mask *cmd = local 1998 struct i40e_aqc_an_advt_reg *cmd = local 2058 struct i40e_aqc_set_lb_mode *cmd = local 2084 struct i40e_aqc_set_phy_debug *cmd = local 2111 struct i40e_aqc_add_get_update_vsi *cmd = local 2154 struct i40e_aqc_set_vsi_promiscuous_modes *cmd = local 2183 struct i40e_aqc_set_vsi_promiscuous_modes *cmd = local 2215 struct i40e_aqc_set_vsi_promiscuous_modes *cmd = local 2249 struct i40e_aqc_set_vsi_promiscuous_modes *cmd = local 2283 struct i40e_aqc_set_vsi_promiscuous_modes *cmd = local 2318 struct i40e_aqc_set_vsi_promiscuous_modes *cmd = local 2350 struct i40e_aqc_add_get_update_vsi *cmd = local 2392 struct i40e_aqc_add_get_update_vsi *cmd = local 2505 struct i40e_aqc_driver_version *cmd = local 2629 struct i40e_aqc_add_veb *cmd = local 2738 struct i40e_aqc_macvlan *cmd = local 2780 struct i40e_aqc_macvlan *cmd = local 2820 struct i40e_aqc_macvlan *cmd = local 2860 struct i40e_aqc_macvlan *cmd = local 2904 struct i40e_aqc_pf_vf_message *cmd = local 2974 struct i40e_aqc_debug_reg_read_write *cmd = local 3035 struct i40e_aq_get_set_hmc_resource_profile *cmd = local 3108 struct i40e_aqc_request_resource *cmd = local 3142 struct i40e_aqc_nvm_update *cmd = local 3189 struct i40e_aqc_nvm_config_read *cmd = local 3228 struct i40e_aqc_nvm_config_write *cmd = local 3281 struct i40e_aqc_nvm_update *cmd = local 3559 struct i40e_aqc_list_capabilites *cmd; local 3608 struct i40e_aqc_nvm_update *cmd = local 3658 struct i40e_aqc_lldp_get_mib *cmd = local 3707 struct i40e_aqc_lldp_set_local_mib *cmd = local 3745 struct i40e_aqc_lldp_update_mib *cmd = local 3781 struct i40e_aqc_lldp_add_tlv *cmd = local 3832 struct i40e_aqc_lldp_update_tlv *cmd = local 3882 struct i40e_aqc_lldp_add_tlv *cmd = local 3921 struct i40e_aqc_lldp_stop *cmd = local 3946 struct i40e_aqc_lldp_start *cmd = local 4001 struct i40e_aqc_lldp_stop_start_specific_agent *cmd = local 4032 struct i40e_aqc_add_udp_tunnel *cmd = local 4061 struct i40e_aqc_remove_udp_tunnel *cmd = local 4125 struct i40e_aqc_switch_seid *cmd = local 4158 struct i40e_aqc_add_update_pv *cmd = local 4200 struct i40e_aqc_add_tag *cmd = local 4248 struct i40e_aqc_remove_tag *cmd = local 4298 struct i40e_aqc_add_remove_mcast_etag *cmd = local 4349 struct i40e_aqc_add_remove_mcast_etag *cmd = local 4397 struct i40e_aqc_update_tag *cmd = local 4545 struct i40e_aqc_add_remove_statistics *cmd = local 4578 struct i40e_aqc_set_port_parameters *cmd; local 4619 struct i40e_aqc_tx_sched_ind *cmd = local 4676 struct i40e_aqc_configure_vsi_bw_limit *cmd = local 4705 struct i40e_aqc_configure_switching_comp_bw_limit *cmd = local 5043 struct i40e_aqc_add_remove_control_packet_filter *cmd = local 5101 struct i40e_aqc_add_remove_cloud_filters *cmd = local 5138 struct i40e_aqc_add_remove_cloud_filters *cmd = local 5348 struct i40e_aqc_alternate_write_done *cmd = local 5381 struct i40e_aqc_alternate_write_done *cmd = local 5482 struct i40e_aqc_debug_dump_internals *cmd = local [all...] |
H A D | ixlvc.c | 1010 struct ixl_vc_cmd *cmd; local 1012 cmd = mgr->current; 1014 cmd->flags &= ~IXLV_VC_CMD_FLAG_BUSY; 1016 cmd->callback(cmd, cmd->arg, err); 1024 struct ixl_vc_cmd *cmd; local 1026 cmd = mgr->current; 1027 if (cmd == NULL || cmd 1055 struct ixl_vc_cmd *cmd; local 1065 struct ixl_vc_cmd *cmd; local 1088 ixl_vc_enqueue(struct ixl_vc_mgr *mgr, struct ixl_vc_cmd *cmd, uint32_t req, ixl_vc_callback_t *callback, void *arg) argument 1112 struct ixl_vc_cmd *cmd; local [all...] |
/freebsd-10-stable/contrib/less/ |
H A D | filename.c | 571 shellcmd(cmd) 572 char *cmd; 586 * Read the output of <$SHELL -c cmd>. 589 esccmd = shell_quote(cmd); 592 fd = popen(cmd, "r"); 605 fd = popen(cmd, "r"); 744 char *cmd; 763 cmd = (char *) ecalloc(len, sizeof(char)); 764 SNPRINTF4(cmd, len, "%s -p0x%x -d0x%x -e%s ", lessecho, openquote, closequote, esc); 767 sprintf(cmd 955 char *cmd; local [all...] |
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/ |
H A D | mlx4.h | 51 #include <linux/mlx4/cmd.h> 133 /*The flag indicates that the slave should delay the RESET cmd*/ 210 struct mlx4_cmd_info *cmd); 836 struct mlx4_cmd cmd; member in struct:mlx4_priv 936 struct mlx4_cmd_info *cmd); 941 struct mlx4_cmd_info *cmd); 946 struct mlx4_cmd_info *cmd); 951 struct mlx4_cmd_info *cmd); 956 struct mlx4_cmd_info *cmd); 961 struct mlx4_cmd_info *cmd); [all...] |
/freebsd-10-stable/contrib/bmake/ |
H A D | compat.c | 234 char * volatile cmd = (char *)cmdp; 241 cmdNode = Lst_Member(gn->commands, cmd); 242 cmdStart = Var_Subst(NULL, cmd, gn, VARF_WANTRES); 255 cmd = cmdStart; 267 while ((*cmd == '@') || (*cmd == '-') || (*cmd == '+')) { 268 switch (*cmd) { 281 cmd++; 284 while (isspace((unsigned char)*cmd)) 233 char * volatile cmd = (char *)cmdp; local [all...] |
/freebsd-10-stable/sys/arm/at91/ |
H A D | at91_wdt.c | 63 u_int cmd; member in struct:wdt_softc 100 wdt_watchdog(void *argp, u_int cmd, int *error) argument 108 sc->cmd = 0; 109 interval = cmd & WD_INTERVAL; 113 sc->cmd = interval | WD_ACTIVE; 117 if ((sc->cmd & WD_ACTIVE) == 0) 118 sc->cmd = WD_PASSIVE; 132 if (sc->cmd & (WD_ACTIVE | WD_PASSIVE)) 135 sc->cmd &= WD_PASSIVE; 159 sc->cmd [all...] |
/freebsd-10-stable/tools/regression/geom_gpt/ |
H A D | gctl_test.t | 140 chomp(my $cmd = `make '-V\${.OBJDIR}/\${PROG}'`); 142 my $out = basename($cmd) . ".out"; 145 if (`$cmd` =~ "^FAIL Permission denied") { 175 system("$cmd $verbose $args | tee $out 2>&1"); 242 unlink($cmd);
|
/freebsd-10-stable/crypto/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 69 static long linebuffer_ctrl(BIO *h, int cmd, long arg1, void *arg2); 72 static long linebuffer_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); 266 static long linebuffer_ctrl(BIO *b, int cmd, long num, void *ptr) argument 277 switch (cmd) { 282 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 292 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 317 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 325 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 348 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 358 ret = BIO_ctrl(b->next_bio, cmd, nu 367 linebuffer_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument [all...] |
/freebsd-10-stable/usr.sbin/binmiscctl/ |
H A D | binmiscctl.c | 45 enum cmd { enum 397 int error = 0, cmd = -1; local 418 cmd = demux_cmd(argc, argv); 419 if (cmd == -1) 423 error = (*cmds[cmd].func)(argc, argv, &xbe_in); 426 cmds[cmd].name); 428 if (cmd != CMD_LIST) { 433 if (cmd == CMD_LOOKUP) { 439 error = sysctlbyname(cmd_sysctl_name[cmd], xbe_outp, xbe_out_szp, 466 cmds[cmd] [all...] |
/freebsd-10-stable/sys/dev/wds/ |
H A D | wd7000.c | 211 u_int8_t cmd; member in struct:wds_cmd 224 struct wds_cmd cmd; member in struct:wds_req 270 u_int8_t cmd; member in struct:wds_setup 824 stat, r->cmd.stat, r->cmd.venderr); 827 if (stat == ICMB_OK || (stat == ICMB_OKERR && r->cmd.stat == 0)) { 848 csio->scsi_status = r->cmd.stat; 854 csio->scsi_status = r->cmd.stat; 855 if (r->cmd.stat) { 920 scsi_ulto3b(WDSTOPHYS(wp, &r->cmd), [all...] |
/freebsd-10-stable/crypto/heimdal/lib/hx509/ |
H A D | test_nist2.in | 105 cmd="${hxtool} verify --time=2008-05-20 $args" 106 eval ${cmd} > /dev/null 127 echo "$cmd" >> nist2-failed-${name}.tmp
|
/freebsd-10-stable/sbin/fsck_ffs/ |
H A D | pass2.c | 240 cmd.value = inp->i_number; 242 &cmd, sizeof cmd) == -1) { 247 cmd.value = inp->i_dotdot; /* verify same value */ 248 cmd.size = inp->i_parent; /* new parent */ 250 &cmd, sizeof cmd) == -1) { 454 cmd.value = idesc->id_number; 456 &cmd, sizeof cmd) [all...] |
/freebsd-10-stable/usr.sbin/bluetooth/l2control/ |
H A D | l2control.c | 99 char *cmd = argv[0]; local 105 if (strcasecmp(cmd, "help") == 0) { 119 cmd = argv[0]; 122 c = find_l2cap_command(cmd, l2cap_commands); 124 fprintf(stdout, "Unknown command: \"%s\"\n", cmd); 162 cmd, strerror(errno)); 210 fprintf(stderr, "Usage: l2control [-hn] -a local cmd [params ..]\n"); 215 fprintf(stderr, " cmd Supported command " \
|
/freebsd-10-stable/usr.sbin/bluetooth/sdpcontrol/ |
H A D | sdpcontrol.c | 105 char *cmd = argv[0]; local 111 if (strcasecmp(cmd, "help") == 0) { 125 cmd = argv[0]; 128 c = find_sdp_command(cmd, sdp_commands); 130 fprintf(stdout, "Unknown command: \"%s\"\n", cmd); 159 cmd, strerror(sdp_error(xs)));
|
/freebsd-10-stable/sys/sys/ |
H A D | ttydevsw.h | 47 typedef int tsw_ioctl_t(struct tty *tp, u_long cmd, caddr_t data, 49 typedef int tsw_cioctl_t(struct tty *tp, int unit, u_long cmd, caddr_t data, 132 ttydevsw_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 138 return (tp->t_devsw->tsw_ioctl(tp, cmd, data, td)); 142 ttydevsw_cioctl(struct tty *tp, int unit, u_long cmd, caddr_t data, argument 149 return (tp->t_devsw->tsw_cioctl(tp, unit, cmd, data, td));
|
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_cmdline.c | 109 __archive_cmdline_parse(struct archive_cmdline *data, const char *cmd) argument 119 al = get_argument(&as, cmd); 139 cmd += al; 142 al = get_argument(&as, cmd); 149 cmd += al; 150 if (archive_strlen(&as) == 0 && *cmd == '\0')
|
/freebsd-10-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_ext2fs.c | 58 char cmd[1024]; local 64 snprintf(cmd, 1024, "newfs_ext2fs -F -s %"PRId64" %s >/dev/null", 66 res = system(cmd);
|