/freebsd-9.3-release/sys/dev/aac/ |
H A D | aac_linux.c | 79 u_long cmd; local 84 cmd = args->cmd; 89 error = (fo_ioctl(fp, cmd, (caddr_t)args->arg, td->td_ucred, td));
|
/freebsd-9.3-release/sys/dev/aacraid/ |
H A D | aacraid_linux.c | 80 u_long cmd; local 89 cmd = args->cmd; 94 error = (fo_ioctl(fp, cmd, (caddr_t)args->arg, td->td_ucred, td));
|
/freebsd-9.3-release/sys/i386/include/ |
H A D | iodev.h | 43 int iodev_ioctl(u_long cmd, caddr_t data);
|
/freebsd-9.3-release/usr.sbin/mptutil/ |
H A D | mptutil.c | 95 struct mptutil_command **cmd; local 115 SET_FOREACH(cmd, MPT_DATASET(top)) { 116 if (strcmp((*cmd)->name, av[0]) == 0) { 117 if ((*cmd)->handler(ac, av))
|
/freebsd-9.3-release/usr.sbin/timed/timedc/ |
H A D | cmdtab.c | 47 struct cmd cmdtab[] = {
|
H A D | timedc.c | 62 static struct cmd *getcmd(char *); 69 register struct cmd *c; 83 if (c == (struct cmd *)-1) { 116 if (c == (struct cmd *)-1) { 143 static struct cmd * 148 register struct cmd *c, *found; 170 return((struct cmd *)-1); 210 register struct cmd *c; 250 if (c == (struct cmd *)-1) 252 else if (c == (struct cmd *) [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/cli/ |
H A D | cli-decode.h | 225 extern void set_cmd_cfunc (struct cmd_list_element *cmd, 228 extern void set_cmd_sfunc (struct cmd_list_element *cmd, 232 extern void set_cmd_completer (struct cmd_list_element *cmd, 236 around in cmd objects to test the value of the commands sfunc(). */ 237 extern int cmd_cfunc_eq (struct cmd_list_element *cmd, 241 extern void set_cmd_context (struct cmd_list_element *cmd, void *context); 242 extern void *get_cmd_context (struct cmd_list_element *cmd); 263 struct cmd_list_element **cmd);
|
H A D | cli-decode.c | 62 set_cmd_cfunc (struct cmd_list_element *cmd, cmd_cfunc_ftype *cfunc) 65 cmd->func = NULL; 67 cmd->func = do_cfunc; 68 cmd->function.cfunc = cfunc; /* Ok. */ 78 set_cmd_sfunc (struct cmd_list_element *cmd, cmd_sfunc_ftype *sfunc) 81 cmd->func = NULL; 83 cmd->func = do_sfunc; 84 cmd->function.sfunc = sfunc; /* Ok. */ 88 cmd_cfunc_eq (struct cmd_list_element *cmd, 91 return cmd 61 set_cmd_cfunc(struct cmd_list_element *cmd, cmd_cfunc_ftype *cfunc) argument 77 set_cmd_sfunc(struct cmd_list_element *cmd, cmd_sfunc_ftype *sfunc) argument 87 cmd_cfunc_eq(struct cmd_list_element *cmd, void (*cfunc) (char *args, int from_tty)) argument 94 set_cmd_context(struct cmd_list_element *cmd, void *context) argument 100 get_cmd_context(struct cmd_list_element *cmd) argument 106 cmd_type(struct cmd_list_element *cmd) argument 112 set_cmd_completer(struct cmd_list_element *cmd, char **(*completer) (char *text, char *word)) argument 201 deprecate_cmd(struct cmd_list_element *cmd, char *replacement) argument 1209 struct cmd_list_element *cmd = NULL; local 1282 lookup_cmd_composition(char *text, struct cmd_list_element **alias, struct cmd_list_element **prefix_cmd, struct cmd_list_element **cmd) argument 1530 cmd_func_p(struct cmd_list_element *cmd) argument 1538 cmd_func(struct cmd_list_element *cmd, char *args, int from_tty) argument [all...] |
/freebsd-9.3-release/usr.sbin/bluetooth/bthidcontrol/ |
H A D | bthidcontrol.c | 112 char *cmd = argv[0]; local 117 if (strcasecmp(cmd, "help") == 0) { 132 cmd = argv[0]; 135 c = find_bthid_command(cmd, sdp_commands); 137 c = find_bthid_command(cmd, hid_commands); 140 fprintf(stdout, "Unknown command: \"%s\"\n", cmd); 156 cmd, strerror(errno));
|
/freebsd-9.3-release/usr.sbin/ngctl/ |
H A D | main.c | 78 static int MatchCommand(const struct ngcmd *cmd, const char *s); 448 const struct ngcmd *cmd; local 453 if ((cmd = FindCommand(av[0])) == NULL) 455 if ((rtn = (*cmd->func)(ac, av)) == CMDRTN_USAGE) 456 warnx("usage: %s", cmd->cmd); 485 * See if string matches a prefix of "cmd" (or an alias) case insensitively 488 MatchCommand(const struct ngcmd *cmd, const char *s) argument 493 if (strlen(s) <= strcspn(cmd->cmd, WHITESPAC 543 const struct ngcmd *cmd; local [all...] |
/freebsd-9.3-release/bin/ed/ |
H A D | glbl.c | 82 char *cmd = NULL; local 87 cmd = "p\n"; /* null cmd-list == `p' */ 88 else if ((cmd = get_extended_line(&n, 0)) == NULL) 91 if (!interact && (cmd = get_extended_line(&n, 0)) == NULL) 113 if (cmd == NULL) { 116 } else cmd = ocmd; 117 } else if ((cmd = get_extended_line(&n, 0)) == NULL) 121 memcpy(ocmd, cmd, n + 1); 122 cmd [all...] |
/freebsd-9.3-release/crypto/heimdal/cf/ |
H A D | install-catman.sh | 7 cmd="$1"; shift 23 if test "$cmd" = install ; then 29 elif test "$cmd" = uninstall ; then 38 if test "$cmd" = install ; then 61 elif test "$cmd" = uninstall ; then
|
/freebsd-9.3-release/sys/arm/at91/ |
H A D | at91_wdt.c | 55 u_int cmd; member in struct:wdt_softc 92 wdt_watchdog(void *argp, u_int cmd, int *error) argument 100 sc->cmd = 0; 101 interval = cmd & WD_INTERVAL; 105 sc->cmd = interval | WD_ACTIVE; 109 if ((sc->cmd & WD_ACTIVE) == 0) 110 sc->cmd = WD_PASSIVE; 124 if (sc->cmd & (WD_ACTIVE | WD_PASSIVE)) 127 sc->cmd &= WD_PASSIVE; 151 sc->cmd [all...] |
H A D | at91_spi.c | 85 struct spi_command *cmd); 267 at91_spi_transfer(device_t dev, device_t child, struct spi_command *cmd) argument 273 KASSERT(cmd->tx_cmd_sz == cmd->rx_cmd_sz, 275 KASSERT(cmd->tx_data_sz == cmd->rx_data_sz, 289 if (cmd->cs < 0 || cmd->cs > 3) { 291 "Invalid chip select %d requested by %s\n", cmd->cs, 297 if (at91_is_rm92() && cmd [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/evp/ |
H A D | bio_md.c | 75 static long md_ctrl(BIO *h, int cmd, long arg1, void *arg2); 78 static long md_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); 167 static long md_ctrl(BIO *b, int cmd, long num, void *ptr) argument 177 switch (cmd) { 184 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 205 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 222 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 228 static long md_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument 234 switch (cmd) { 236 ret = BIO_callback_ctrl(b->next_bio, cmd, f [all...] |
/freebsd-9.3-release/sys/arm/xscale/i80321/ |
H A D | i80321_wdog.c | 112 iopwdog_watchdog_fn(void *private, u_int cmd, int *error) argument 116 cmd &= WD_INTERVAL; 117 if (cmd > 0 && cmd <= 63 118 && (uint64_t)1<<cmd <= (uint64_t)sc->wdog_period * 1000000000) {
|
/freebsd-9.3-release/sys/dev/adb/ |
H A D | adb_buttons.c | 115 u_int cmd; local 117 cmd = data[0]; 119 switch (cmd) { 158 if ((cmd & ~0x7f) == 0) 159 device_printf(dev, "unknown ADB button 0x%x\n", cmd);
|
/freebsd-9.3-release/sys/dev/mfi/ |
H A D | mfi_tbolt.c | 63 struct mfi_cmd_tbolt *cmd); 65 *sc, struct mfi_command *cmd); 71 struct mfi_cmd_tbolt *cmd); 73 *mfi_cmd, pMpi25IeeeSgeChain64_t sgl_ptr, struct mfi_cmd_tbolt *cmd); 419 mfi_init->header.cmd = MFI_CMD_INIT; 454 struct mfi_cmd_tbolt *cmd; local 505 * The first 256 bytes (SMID 0) is not used. Don't add to the cmd 519 cmd = sc->mfi_cmd_pool_tbolt[i]; 521 cmd->index = i + 1; 522 cmd 772 struct mfi_cmd_tbolt *cmd = NULL; local 813 struct mfi_cmd_tbolt *cmd; local 842 mfi_tbolt_build_ldio(struct mfi_softc *sc, struct mfi_command *mfi_cmd, struct mfi_cmd_tbolt *cmd) argument 881 mfi_tbolt_build_io(struct mfi_softc *sc, struct mfi_command *mfi_cmd, struct mfi_cmd_tbolt *cmd) argument 943 mfi_tbolt_make_sgl(struct mfi_softc *sc, struct mfi_command *mfi_cmd, pMpi25IeeeSgeChain64_t sgl_ptr, struct mfi_cmd_tbolt *cmd) argument 1043 struct mfi_cmd_tbolt *cmd; local 1066 mfi_tbolt_build_mpt_cmd(struct mfi_softc *sc, struct mfi_command *cmd) argument 1184 struct mfi_cmd_tbolt *cmd; local 1363 struct mfi_command *cmd = NULL; local [all...] |
/freebsd-9.3-release/contrib/ofed/libmlx4/src/ |
H A D | verbs.c | 50 struct ibv_query_device cmd; local 55 ret = ibv_cmd_query_device(context, attr, &raw_fw_ver, &cmd, sizeof cmd); 72 struct ibv_query_port cmd; local 74 return ibv_cmd_query_port(context, port, attr, &cmd, sizeof cmd); 79 struct ibv_alloc_pd cmd; local 87 if (ibv_cmd_alloc_pd(context, &pd->ibv_pd, &cmd, sizeof cmd, 114 struct ibv_reg_mr cmd; local 167 struct mlx4_create_cq cmd; local 227 struct mlx4_resize_cq cmd; local 299 struct mlx4_create_srq cmd; local 358 struct ibv_modify_srq cmd; local 366 struct ibv_query_srq cmd; local 445 struct mlx4_create_qp cmd; local 563 struct ibv_query_qp cmd; local 583 struct ibv_modify_qp cmd; local 748 struct mlx4_create_xrc_srq cmd; local [all...] |
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_ioctl.c | 199 switch (args->cmd & 0xffff) { 238 if ((args->cmd & 0xffff) == LINUX_HDIO_GET_GEO) { 246 } else if ((args->cmd & 0xffff) == LINUX_HDIO_GET_GEO_BIG) { 260 "ioctl fd=%d, cmd=0x%x ('%c',%d) is not implemented", 261 args->fd, (int)(args->cmd & 0xffff), 262 (int)(args->cmd & 0xff00) >> 8, 263 (int)(args->cmd & 0xff)); 280 switch (args->cmd & 0xffff) { 707 switch (args->cmd & 0xffff) { 786 args->cmd 2612 u_long cmd; local 3430 int error, cmd; local [all...] |
/freebsd-9.3-release/sbin/ipfw/ |
H A D | ipfw2.h | 38 int do_pipe; /* this cmd refers to a pipe/queue/sched */ 39 int do_nat; /* this cmd refers to a nat config */ 284 void print_ip6(struct _ipfw_insn_ip6 *cmd, char const *s); 285 void print_flow6id(struct _ipfw_insn_u32 *cmd); 286 void print_icmp6types(struct _ipfw_insn_u32 *cmd); 287 void print_ext6hdr(struct _ipfw_insn *cmd ); 289 struct _ipfw_insn *add_srcip6(struct _ipfw_insn *cmd, char *av, int cblen); 290 struct _ipfw_insn *add_dstip6(struct _ipfw_insn *cmd, char *av, int cblen); 292 void fill_flow6(struct _ipfw_insn_u32 *cmd, char *av, int cblen); 294 void fill_icmp6types(struct _ipfw_insn_icmp6 *cmd, cha [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/bio/ |
H A D | bf_nbio.c | 73 static long nbiof_ctrl(BIO *h, int cmd, long arg1, void *arg2); 76 static long nbiof_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); 203 static long nbiof_ctrl(BIO *b, int cmd, long num, void *ptr) argument 209 switch (cmd) { 212 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 219 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); 225 static long nbiof_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp) argument 231 switch (cmd) { 233 ret = BIO_callback_ctrl(b->next_bio, cmd, fp);
|
/freebsd-9.3-release/contrib/ofed/libibverbs/include/infiniband/ |
H A D | driver.h | 60 int ibv_cmd_get_context(struct ibv_context *context, struct ibv_get_context *cmd, 66 struct ibv_query_device *cmd, size_t cmd_size); 69 struct ibv_query_port *cmd, size_t cmd_size); 75 struct ibv_alloc_pd *cmd, size_t cmd_size, 81 struct ibv_mr *mr, struct ibv_reg_mr *cmd, 88 struct ibv_create_cq *cmd, size_t cmd_size, 94 struct ibv_resize_cq *cmd, size_t cmd_size, 100 struct ibv_create_srq *cmd, size_t cmd_size, 105 struct ibv_create_xrc_srq *cmd, size_t cmd_size, 110 struct ibv_modify_srq *cmd, size_ [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/sl/ |
H A D | sl.c | 47 char timestr[64], cmd[64]; local 61 strncpy(cmd, p, sizeof(cmd)); 62 cmd[sizeof(cmd)-1] = '\0'; 63 strupr(cmd); 65 printf(".Dt %s SECTION\n", cmd); 112 sl_match (SL_cmd *cmds, char *cmd, int exactp) argument 120 if (strcmp (cmd, c->name) == 0) 122 else if (strncmp (cmd, 354 sl_apropos(SL_cmd *cmd, const char *topic) argument [all...] |
/freebsd-9.3-release/sys/powerpc/powermac/ |
H A D | dbdma.c | 210 uint32_t cmd; local 212 cmd = chan->sc_slots_pa + slot * sizeof(struct dbdma_command); 213 dbdma_write_reg(chan, CHAN_CMDPTR, cmd); 283 struct dbdma_command cmd; local 286 cmd.cmd = command; 287 cmd.key = stream; 288 cmd.intr = interrupt; 289 cmd.branch = branch; 290 cmd [all...] |