/freebsd-10-stable/sys/arm/samsung/exynos/ |
H A D | chrome_ec.h | 34 int ec_command(uint8_t cmd, uint8_t *dout, uint8_t dout_len,
|
/freebsd-10-stable/sys/dev/tdfx/ |
H A D | tdfx_pci.h | 54 static int tdfx_do_query(u_int cmd, struct tdfx_pio_data *piod); 56 static int tdfx_query_fetch(u_int cmd, struct tdfx_pio_data *piod); 57 static int tdfx_query_update(u_int cmd, struct tdfx_pio_data *piod); 60 static int tdfx_do_pio(u_int cmd, struct tdfx_pio_data *piod);
|
/freebsd-10-stable/sys/dev/vt/ |
H A D | vt_consolectl.c | 49 consolectl_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, argument 53 switch (cmd) { 66 (char)IOCGROUP(cmd), IOCBASECMD(cmd));
|
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 279 struct ib_uverbs_get_context cmd; local 290 if (copy_from_user(&cmd, buf, sizeof cmd)) 300 INIT_UDATA(&udata, buf + sizeof cmd, 301 (unsigned long) cmd.response + sizeof resp, 302 in_len - sizeof cmd, out_len - sizeof resp); 329 if (copy_to_user((void __user *) (unsigned long) cmd.response, 369 struct ib_uverbs_query_device cmd; local 377 if (copy_from_user(&cmd, buf, sizeof cmd)) 438 struct ib_uverbs_query_port cmd; local 487 struct ib_uverbs_alloc_pd cmd; local 561 struct ib_uverbs_dealloc_pd cmd; local 596 struct ib_uverbs_reg_mr cmd; local 697 struct ib_uverbs_dereg_mr cmd; local 735 struct ib_uverbs_create_comp_channel cmd; local 764 struct ib_uverbs_create_cq cmd; local 865 struct ib_uverbs_resize_cq cmd; local 902 struct ib_uverbs_poll_cq cmd; local 966 struct ib_uverbs_req_notify_cq cmd; local 988 struct ib_uverbs_destroy_cq cmd; local 1040 struct ib_uverbs_create_qp cmd; local 1195 struct ib_uverbs_query_qp cmd; local 1295 struct ib_uverbs_modify_qp cmd; local 1382 struct ib_uverbs_destroy_qp cmd; local 1437 struct ib_uverbs_post_send cmd; local 1678 struct ib_uverbs_post_recv cmd; local 1727 struct ib_uverbs_post_srq_recv cmd; local 1776 struct ib_uverbs_create_ah cmd; local 1865 struct ib_uverbs_destroy_ah cmd; local 1902 struct ib_uverbs_attach_mcast cmd; local 1949 struct ib_uverbs_detach_mcast cmd; local 1986 struct ib_uverbs_create_srq cmd; local 2089 struct ib_uverbs_create_xsrq cmd; local 2220 struct ib_uverbs_modify_srq cmd; local 2250 struct ib_uverbs_query_srq cmd; local 2290 struct ib_uverbs_destroy_srq cmd; local 2432 struct ib_uverbs_open_xrc_domain cmd; local 2573 struct ib_uverbs_close_xrc_domain cmd; local 2676 struct ib_uverbs_create_xrc_rcv_qp cmd; local 2753 struct ib_uverbs_modify_xrc_rcv_qp cmd; local 2829 struct ib_uverbs_query_xrc_rcv_qp cmd; local 2930 struct ib_uverbs_reg_xrc_rcv_qp cmd; local 2993 struct ib_uverbs_unreg_xrc_rcv_qp cmd; local [all...] |
H A D | ucma.c | 300 struct rdma_ucm_get_event cmd; local 308 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) 339 if (copy_to_user((void __user *)(unsigned long)cmd.response, 359 struct rdma_ucm_create_id cmd; local 367 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) 376 ctx->uid = cmd.uid; 377 ctx->cm_id = rdma_create_id(ucma_event_handler, ctx, cmd.ps); 384 if (copy_to_user((void __user *)(unsigned long)cmd 468 struct rdma_ucm_destroy_id cmd; local 502 struct rdma_ucm_bind_addr cmd; local 522 struct rdma_ucm_resolve_addr cmd; local 544 struct rdma_ucm_resolve_route cmd; local 628 struct rdma_ucm_query_route cmd; local 697 struct rdma_ucm_connect cmd; local 721 struct rdma_ucm_listen cmd; local 742 struct rdma_ucm_accept cmd; local 768 struct rdma_ucm_reject cmd; local 787 struct rdma_ucm_disconnect cmd; local 807 struct rdma_ucm_init_qp_attr cmd; local 927 struct rdma_ucm_set_option cmd; local 963 struct rdma_ucm_notify cmd; local 983 struct rdma_ucm_join_mcast cmd; local 1042 struct rdma_ucm_destroy_id cmd; local 1123 struct rdma_ucm_migrate_id cmd; local 1291 ucma_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument [all...] |
/freebsd-10-stable/contrib/opie/ |
H A D | opieauto.c | 50 char cmd[1+1+1+1+4+1+OPIE_SEED_MAX+1+4+1+4+1+4+1+4+1]; variable 89 if (((cmd[0] != 'S') && (cmd[0] != 's')) || (cmd[1] != '=') || (cmd[2] != ' ')) { 91 fprintf(stderr, "%s: got bogus command: %s\n", myname, cmd); 99 if (((algorithm = strtoul(&cmd[3], &c, 10)) < 3) || (algorithm > 5) || (*c != ' ')) { 101 fprintf(stderr, "%s: got bogus algorithm: %s\n", myname, cmd); 108 fprintf(stderr, "%s: got bogus sequence: %s\n", myname, cmd); 113 if (cmd[ [all...] |
/freebsd-10-stable/tools/regression/execve/ |
H A D | execve.t | 5 cmd="./`basename $0 .t`"
|
/freebsd-10-stable/usr.sbin/timed/timedc/ |
H A D | extern.h | 38 extern struct cmd cmdtab[];
|
/freebsd-10-stable/contrib/netbsd-tests/fs/ffs/ |
H A D | t_mount.c | 58 char cmd[1024]; local 66 snprintf(cmd, sizeof(cmd), "newfs -G -b %d -F -s 10000 " 68 if (system(cmd)) 99 char cmd[1024]; local 107 snprintf(cmd, sizeof(cmd), "newfs -G -b %d -F -s 10000 " 109 if (system(cmd))
|
/freebsd-10-stable/sys/mips/nlm/dev/sec/ |
H A D | nlmrsa.c | 80 static int xlp_get_rsa_opsize(struct xlp_rsa_command *cmd, unsigned int bits); 81 static void xlp_free_cmd_params(struct xlp_rsa_command *cmd); 141 struct xlp_rsa_command *cmd = NULL; local 163 cmd = malloc(sizeof(struct xlp_rsa_command), M_DEVBUF, 165 KASSERT(cmd != NULL, ("%s:cmd is NULL\n", __func__)); 166 cmd->rsasrc = contigmalloc(sizeof(nlm_rsa_ucode_data), 172 KASSERT(cmd->rsasrc != NULL, 173 ("%s:cmd->rsasrc is NULL\n", __func__)); 174 memcpy(cmd 213 struct xlp_rsa_command *cmd; local 391 xlp_free_cmd_params(struct xlp_rsa_command *cmd) argument 407 xlp_get_rsa_opsize(struct xlp_rsa_command *cmd, unsigned int bits) argument 464 nlm_crypto_complete_rsa_request(struct xlp_rsa_softc *sc, struct xlp_rsa_command *cmd) argument 496 struct xlp_rsa_command *cmd; local [all...] |
H A D | nlmseclib.h | 124 struct xlp_sec_command cmd; member in struct:xlp_sec_session 143 void print_crypto_params(struct xlp_sec_command *cmd, struct nlm_fmn_msg m); 145 void print_cmd(struct xlp_sec_command *cmd); 147 int nlm_crypto_form_srcdst_segs(struct xlp_sec_command *cmd); 149 struct xlp_sec_command *cmd); 151 struct xlp_sec_command *cmd); 153 struct xlp_sec_command *cmd); 154 int nlm_get_digest_param(struct xlp_sec_command *cmd); 155 int nlm_get_cipher_param(struct xlp_sec_command *cmd);
|
/freebsd-10-stable/contrib/ipfilter/ |
H A D | mlo_rule.c | 42 int ipfrule(lkmtp, cmd, ver) 44 int cmd, ver; 46 DISPATCH(lkmtp, cmd, ver, ipfruleaction, ipfruleaction, ipfruleaction); 51 static int ipfruleaction(lkmtp, cmd) 53 int cmd; 57 switch (cmd)
|
/freebsd-10-stable/etc/periodic/security/ |
H A D | 200.chkmounts | 56 [ -n "$ignore" ] && cmd="egrep -v ${ignore#|}" || cmd=cat 60 mount -p | sort | ${cmd} |
|
/freebsd-10-stable/sys/dev/mrsas/ |
H A D | mrsas_cam.c | 66 struct mrsas_mpt_cmd *cmd, union ccb *ccb); 68 mrsas_build_ldio_rw(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, 71 mrsas_build_ldio_nonrw(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, 74 mrsas_build_syspdio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, 77 mrsas_setup_io(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, 83 void mrsas_release_mpt_cmd(struct mrsas_mpt_cmd *cmd); 84 void mrsas_unmap_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd); 85 void mrsas_cmd_done(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd); 94 static void mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim); 114 mrsas_map_mpt_cmd_status(struct mrsas_mpt_cmd *cmd, u_int8_ 399 struct mrsas_mpt_cmd *cmd; local 456 struct mrsas_mpt_cmd *cmd; local 685 struct mrsas_mpt_cmd *cmd = NULL; local 715 mrsas_release_mpt_cmd(struct mrsas_mpt_cmd *cmd) argument 758 mrsas_build_ldio_rw(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, union ccb *ccb) argument 811 mrsas_setup_io(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, union ccb *ccb, u_int32_t device_id, MRSAS_RAID_SCSI_IO_REQUEST * io_request) argument 980 mrsas_build_ldio_nonrw(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, union ccb *ccb) argument 1038 mrsas_build_syspdio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, union ccb *ccb, struct cam_sim *sim, u_int8_t fp_possible) argument 1146 mrsas_map_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, union ccb *ccb) argument 1185 mrsas_unmap_request(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd) argument 1210 struct mrsas_mpt_cmd *cmd = (struct mrsas_mpt_cmd *)arg; local 1288 mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim) argument 1318 mrsas_cmd_done(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd) argument [all...] |
/freebsd-10-stable/contrib/nvi/vi/ |
H A D | v_ex.c | 45 EXCMD cmd; local 47 ex_cinit(sp, &cmd, C_SUBAGAIN, 2, vp->m_start.lno, vp->m_start.lno, 1); 48 argv_exp0(sp, &cmd, L(""), 1); 49 return (v_exec_ex(sp, vp, &cmd)); 97 EXCMD cmd; local 113 ex_cinit(sp, &cmd, C_JOIN, 2, vp->m_start.lno, lno, 0); 114 return (v_exec_ex(sp, vp, &cmd)); 126 EXCMD cmd; local 128 ex_cinit(sp, &cmd, C_SHIFTL, 2, vp->m_start.lno, vp->m_stop.lno, 0); 129 argv_exp0(sp, &cmd, 142 EXCMD cmd; local 158 EXCMD cmd; local 174 EXCMD cmd; local 207 EXCMD cmd; local 223 EXCMD cmd; local 238 EXCMD cmd; local [all...] |
/freebsd-10-stable/usr.sbin/i2c/ |
H A D | i2c.c | 122 scan_bus(struct iiccmd cmd, char *dev, int skip, char *skip_addr) argument 179 cmd.slave = i << 1; 180 cmd.last = 1; 181 cmd.count = 0; 182 error = ioctl(fd, I2CRSTCARD, &cmd); 186 cmd.slave = i << 1; 187 cmd.last = 1; 188 error = ioctl(fd, I2CSTART, &cmd); 191 cmd.slave = i << 1; 192 cmd 212 reset_bus(struct iiccmd cmd, char *dev) argument 258 struct iiccmd cmd; local 374 struct iiccmd cmd; local 471 struct iiccmd cmd; local [all...] |
/freebsd-10-stable/contrib/sendmail/smrsh/ |
H A D | smrsh.c | 106 ** cmd -- it's a command: prepend CMDDIR/ 115 addcmd(s, cmd, len) 117 bool cmd; 125 len + 1 + (cmd ? (strlen(CMDDIR) + 1) : 0)) 134 if (cmd) 147 register char *cmd; local 250 cmd = &q[strlen(q)]; 254 cmd = p; 257 while (cmd > q) 259 if ((*--cmd [all...] |
/freebsd-10-stable/sys/dev/flash/ |
H A D | at45d.c | 124 struct spi_command cmd; local 127 memset(&cmd, 0, sizeof(cmd)); 132 cmd.tx_cmd = txBuf; 133 cmd.rx_cmd = rxBuf; 134 cmd.rx_cmd_sz = cmd.tx_cmd_sz = 2; 135 err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd); 144 struct spi_command cmd; local 147 memset(&cmd, 304 struct spi_command cmd; local [all...] |
/freebsd-10-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_misc.c | 270 ng_l2cap_cmd_p cmd = TAILQ_FIRST(&con->cmd_list); local 272 ng_l2cap_unlink_cmd(cmd); 273 if (cmd->flags & NG_L2CAP_CMD_PENDING) 274 ng_l2cap_command_untimeout(cmd); 275 ng_l2cap_free_cmd(cmd); 422 ng_l2cap_cmd_p cmd = NULL; local 428 cmd = malloc(sizeof(*cmd), M_NETGRAPH_L2CAP, 430 if (cmd == NULL) 433 cmd 450 ng_l2cap_cmd_p cmd = NULL; local 515 ng_l2cap_command_timeout(ng_l2cap_cmd_p cmd, int timo) argument 538 ng_l2cap_command_untimeout(ng_l2cap_cmd_p cmd) argument [all...] |
/freebsd-10-stable/tests/sys/acl/ |
H A D | aclfuzzer.sh | 192 0|10|11|12|13|15) cmd=f_prepend_random_acl_on ;; 193 1) cmd=f_getfacl ;; 194 2) cmd=f_ls_mode ;; 195 3) cmd=f_chmod ;; 196 4|18|19) cmd=f_touch ;; 197 5) cmd=f_rm ;; 198 6|16|17) cmd=f_mkdir ;; 199 7) cmd=f_rmdir ;; 200 8) cmd=f_mv ;; 203 $cmd "XX [all...] |
/freebsd-10-stable/sys/dev/malo/ |
H A D | if_malohal.c | 61 pCmd->cmdhdr.cmd = htole16(_cmd); \ 131 device_printf(dev, "unable to allocate memory for cmd tag, " 139 device_printf(dev, "unable to create dmamap for cmd buffers, " 148 device_printf(dev, "unable to allocate memory for cmd buffer, " 158 device_printf(dev, "unable to load cmd buffer, error %u\n", 181 * Low level firmware cmd block handshake support. 200 malo_hal_waitforcmd(struct malo_hal *mh, uint16_t cmd) argument 206 if (mh->mh_cmdbuf[0] == le16toh(cmd)) 217 malo_hal_execute_cmd(struct malo_hal *mh, unsigned short cmd) argument 223 device_printf(mh->mh_dev, "firmware hung, skipping cmd 251 struct malo_cmd_caltable *cmd; local 555 struct malo_cmd_get_hwspec *cmd; local 607 struct malo_cmd_rf_antenna *cmd; local 640 struct malo_cmd_radio_control *cmd; local 679 struct malo_cmd_fw_set_rf_channel *cmd; local 699 struct malo_cmd_rf_tx_power *cmd; local 733 struct malo_cmd_fw_set_aid *cmd; local 799 struct malo_cmd_prescan *cmd; local 817 struct malo_cmd_postscan *cmd; local 838 struct malo_cmd_fw_setslot *cmd; local 857 struct malo_cmd_set_rate *cmd; local 899 struct malo_cmd_mcast *cmd; local [all...] |
/freebsd-10-stable/contrib/gdb/gdb/mi/ |
H A D | mi-parse.c | 150 mi_parse (char *cmd) argument 157 while (isspace (*cmd)) 158 cmd++; 161 for (chp = cmd; *chp >= '0' && *chp <= '9'; chp++) 163 parse->token = xmalloc ((chp - cmd + 1) * sizeof (char *)); 164 memcpy (parse->token, cmd, (chp - cmd)); 165 parse->token[chp - cmd] = '\0'; 188 parse->cmd = mi_lookup (parse->command); 189 if (parse->cmd [all...] |
/freebsd-10-stable/sys/compat/svr4/ |
H A D | svr4_ioctl.c | 59 svr4_decode_cmd(cmd, dir, c, num, argsiz) 60 u_long cmd; 64 if (cmd & SVR4_IOC_VOID) 66 if (cmd & SVR4_IOC_IN) 68 if (cmd & SVR4_IOC_OUT) 71 if (cmd & SVR4_IOC_INOUT) 72 *argsiz = (cmd >> 16) & 0xff; 76 *c = (cmd >> 8) & 0xff; 77 *num = cmd & 0xff; 89 u_long cmd; local [all...] |
/freebsd-10-stable/sys/dev/mfi/ |
H A D | mfi_linux.c | 76 mfi_linux_modevent(module_t mod, int cmd, void *data) argument 90 u_long cmd = args->cmd; local 92 switch (cmd) { 94 cmd = MFI_LINUX_CMD_2; 97 cmd = MFI_LINUX_SET_AEN_2; 104 error = fo_ioctl(fp, cmd, (caddr_t)args->arg, p->td_ucred, p);
|
/freebsd-10-stable/sys/dev/syscons/ |
H A D | scvesactl.c | 54 vesa_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 61 switch (cmd) { 69 return sc_set_text_mode(scp, tp, cmd & 0xff, 0, 0, 0, 0); 79 mode = (cmd & 0xff) + M_VESA_BASE; 105 mode = (cmd & 0xff) + M_VESA_BASE; 108 if (IOCGROUP(cmd) == 'V') { 112 mode = (cmd & 0xff) + M_VESA_BASE; 114 if (((cmd & IOC_DIRMASK) == IOC_VOID) && 122 return (*prev_user_ioctl)(tp, cmd, data, td);
|