/freebsd-10-stable/sys/mips/rmi/dev/sec/ |
H A D | rmisec.c | 350 struct xlr_sec_command *cmd = NULL; local 365 cmd = &ses->cmd; 366 if (cmd == NULL) { 422 bzero(&cmd->op, sizeof(xlr_sec_io_t)); 424 cmd->op.source_buf = (uint64_t) (unsigned long)crp->crp_buf; 425 cmd->op.source_buf_size = crp->crp_ilen; 427 cmd->op.dest_buf = (uint64_t) (unsigned long)crp->crp_buf; 428 cmd->op.dest_buf_size = crp->crp_ilen; 430 cmd [all...] |
/freebsd-10-stable/sys/powerpc/powermac/ |
H A D | smu.c | 63 volatile uint8_t cmd; member in struct:smu_cmd 169 static int smu_run_cmd(device_t dev, struct smu_cmd *cmd, int wait); 414 smu_send_cmd(device_t dev, struct smu_cmd *cmd) argument 425 sc->sc_cur_cmd = cmd; 428 sc->sc_cmd->cmd = cmd->cmd; 429 sc->sc_cmd->len = cmd->len; 430 memcpy(sc->sc_cmd->data, cmd->data, sizeof(cmd 486 smu_run_cmd(device_t dev, struct smu_cmd *cmd, int wait) argument 546 struct smu_cmd cmd; local 575 struct smu_cmd cmd; local 662 struct smu_cmd cmd; local 692 struct smu_cmd cmd; local 733 struct smu_cmd cmd; local 769 struct smu_cmd cmd; local 816 struct smu_cmd cmd; local 1088 struct smu_cmd cmd; local 1264 static struct smu_cmd cmd; local 1279 struct smu_cmd cmd; local 1318 struct smu_cmd cmd; local 1336 struct smu_cmd cmd; local 1361 static struct smu_cmd cmd; local 1490 struct smu_cmd cmd; local 1538 smu_run_cmd(device_get_parent(dev), &cmd, 1); local 1548 smu_run_cmd(device_get_parent(dev), &cmd, 1); local [all...] |
/freebsd-10-stable/sys/dev/smbus/ |
H A D | smbconf.h | 104 #define smbus_writeb(bus,slave,cmd,byte) \ 105 (SMBUS_WRITEB(device_get_parent(bus), slave, cmd, byte)) 106 #define smbus_writew(bus,slave,cmd,word) \ 107 (SMBUS_WRITEW(device_get_parent(bus), slave, cmd, word)) 108 #define smbus_readb(bus,slave,cmd,byte) \ 109 (SMBUS_READB(device_get_parent(bus), slave, cmd, byte)) 110 #define smbus_readw(bus,slave,cmd,word) \ 111 (SMBUS_READW(device_get_parent(bus), slave, cmd, word)) 112 #define smbus_pcall(bus,slave,cmd,sdata,rdata) \ 113 (SMBUS_PCALL(device_get_parent(bus), slave, cmd, sdat [all...] |
/freebsd-10-stable/sys/teken/ |
H A D | gensequences | 69 cmd = prefix suffix; 72 if (l_cmd_name[cmd] != "") 73 die(cmd " already exists"); 74 l_cmd_prefix[cmd] = prefix; 75 l_cmd_suffix[cmd] = suffix; 76 l_cmd_args[cmd] = $4; 77 l_cmd_abbr[cmd] = $1; 78 l_cmd_name[cmd] = $2; 79 l_cmd_c_name[cmd] = "teken_subr_" tolower($2); 80 gsub(" ", "_", l_cmd_c_name[cmd]); [all...] |
/freebsd-10-stable/lib/libc/gen/ |
H A D | lockf.c | 45 int cmd; local 53 cmd = F_SETLK; 57 cmd = F_SETLKW; 61 cmd = F_SETLK; 83 __libc_interposing[INTERPOS_fcntl])(filedes, cmd, &fl));
|
H A D | ulimit.c | 39 ulimit(int cmd, ...) argument 45 if (cmd == UL_GETFSIZE) { 52 } else if (cmd == UL_SETFSIZE) { 53 va_start(ap, cmd);
|
/freebsd-10-stable/contrib/wpa/hostapd/ |
H A D | hostapd_cli.c | 80 " wps_ap_pin <cmd> [params..] enable/disable AP PIN\n" 167 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) argument 178 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, 181 printf("'%s' command timed out.\n", cmd); 184 printf("'%s' command failed.\n", cmd); 195 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) argument 197 return _wpa_ctrl_command(ctrl, cmd, 1); 222 char *cmd; local 228 cmd 368 char cmd[256]; local 435 char cmd[64]; local 457 char cmd[64]; local 589 wpa_ctrl_command_sta(struct wpa_ctrl *ctrl, char *cmd, char *addr, size_t addr_len) argument 628 char addr[32], cmd[64]; local 666 char cmd[256]; local 730 char cmd[256]; local 750 char cmd[256]; local 769 const char *cmd; member in struct:hostapd_cli_cmd 814 struct hostapd_cli_cmd *cmd, *match = NULL; local 880 tokenize_cmd(char *cmd, char *argv[]) argument 940 hostapd_cli_edit_cmd_cb(void *ctx, char *cmd) argument [all...] |
/freebsd-10-stable/sys/dev/flash/ |
H A D | mx25l.c | 125 struct spi_command cmd; local 128 memset(&cmd, 0, sizeof(cmd)); 133 cmd.tx_cmd = txBuf; 134 cmd.rx_cmd = rxBuf; 135 cmd.rx_cmd_sz = 2; 136 cmd.tx_cmd_sz = 2; 137 err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd); 153 struct spi_command cmd; local 158 memset(&cmd, 194 struct spi_command cmd; local 213 struct spi_command cmd; local 239 struct spi_command cmd; local 320 struct spi_command cmd; local 431 mx25l_ioctl(struct disk *dp, u_long cmd, void *data, int fflag, struct thread *td) argument [all...] |
/freebsd-10-stable/contrib/wpa/src/utils/ |
H A D | edit_readline.c | 19 static void (*edit_cmd_cb)(void *ctx, char *cmd); 21 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) = 92 static void readline_cmd_handler(char *cmd) argument 94 if (cmd && *cmd) { 99 if (h == NULL || os_strcmp(cmd, h->line) != 0) 100 add_history(cmd); 103 if (cmd == NULL) { 107 trunc_nl(cmd); 108 edit_cmd_cb(edit_cb_ctx, cmd); 112 edit_init(void (*cmd_cb)(void *ctx, char *cmd), void (*eof_cb)(void *ctx), char ** (*completion_cb)(void *ctx, const char *cmd, int pos), void *ctx, const char *history_file, const char *ps) argument 147 edit_deinit(const char *history_file, int (*filter_cb)(void *ctx, const char *cmd)) argument [all...] |
/freebsd-10-stable/usr.sbin/mpsutil/ |
H A D | mpsutil.c | 56 struct mpsutil_usage **cmd; local 61 SET_FOREACH(cmd, MPS_DATASET(usage)) { 62 if (*cmd == NULL) 65 (*cmd)->handler(&args, &desc); 66 if (strncmp((*cmd)->set, "top", 3) == 0) 68 (*cmd)->name, args, desc); 71 (*cmd)->set, (*cmd)->name, args, desc); 93 struct mpsutil_command **cmd; local 119 SET_FOREACH(cmd, MPS_DATASE 135 struct mpsutil_command **cmd; local [all...] |
/freebsd-10-stable/sys/dev/mrsas/ |
H A D | mrsas_ioctl.c | 52 void mrsas_free_frame(struct mrsas_softc *sc, struct mrsas_mfi_cmd *cmd); 53 void *mrsas_alloc_frame(struct mrsas_softc *sc, struct mrsas_mfi_cmd *cmd); 60 extern void mrsas_release_mfi_cmd(struct mrsas_mfi_cmd *cmd); 63 struct mrsas_mfi_cmd *cmd); 82 struct mrsas_mfi_cmd *cmd = NULL; local 113 cmd = mrsas_get_mfi_cmd(sc); 114 if (!cmd) { 115 device_printf(sc->mrsas_dev, "Failed to get a free cmd for IOCTL\n"); 120 * into our cmd's frames. cmd 362 struct mrsas_mfi_cmd *cmd; local 427 struct mrsas_mfi_cmd *cmd; local 477 mrsas_alloc_frame(struct mrsas_softc *sc, struct mrsas_mfi_cmd *cmd) argument 524 mrsas_free_frame(struct mrsas_softc *sc, struct mrsas_mfi_cmd *cmd) argument [all...] |
/freebsd-10-stable/contrib/ipfilter/ |
H A D | mln_rule.c | 44 int ipfrule_lkmentry(lkmtp, cmd, ver) 46 int xxxinit(lkmtp, cmd, ver) 49 int cmd, ver; 51 DISPATCH(lkmtp, cmd, ver, ipfruleaction, ipfruleaction, ipfruleaction); 54 static int ipfruleaction(lkmtp, cmd) 56 int cmd; 60 switch (cmd)
|
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ucm.c | 396 struct ib_ucm_event_get cmd; local 404 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) 435 if (copy_to_user((void __user *)(unsigned long)cmd.response, 442 if (cmd.data_len < uevent->data_len) { 446 if (copy_to_user((void __user *)(unsigned long)cmd.data, 454 if (cmd.info_len < uevent->info_len) { 458 if (copy_to_user((void __user *)(unsigned long)cmd.info, 481 struct ib_ucm_create_id cmd; local 489 if (copy_from_user(&cmd, inbu 528 struct ib_ucm_destroy_id cmd; local 574 struct ib_ucm_attr_id cmd; local 606 struct ib_ucm_init_qp_attr cmd; local 654 struct ib_ucm_listen cmd; local 680 struct ib_ucm_notify cmd; local 750 struct ib_ucm_req cmd; local 808 struct ib_ucm_rep cmd; local 848 struct ib_ucm_private_data cmd; local 902 struct ib_ucm_info cmd; local 951 struct ib_ucm_mra cmd; local 979 struct ib_ucm_lap cmd; local 1013 struct ib_ucm_sidr_req cmd; local 1053 struct ib_ucm_sidr_rep cmd; local [all...] |
/freebsd-10-stable/contrib/texinfo/makeinfo/ |
H A D | sectioning.h | 60 sectioning_underscore (char *cmd), 61 insert_and_underscore (int level, char *cmd); 66 extern void sectioning_html (int level, char *cmd);
|
/freebsd-10-stable/contrib/wpa/wpa_supplicant/examples/ |
H A D | wps-ap-cli | 53 read -p "Command: " cmd 55 case "$cmd" in 69 echo "Unknown command: $cmd"
|
/freebsd-10-stable/sys/dev/bktr/ |
H A D | bktr_i2c.h | 43 extern int bti2c_smb_writeb(device_t dev, u_char slave, char cmd, char byte); 44 extern int bti2c_smb_writew(device_t dev, u_char slave, char cmd, short word); 45 extern int bti2c_smb_readb(device_t dev, u_char slave, char cmd, char *byte);
|
/freebsd-10-stable/usr.bin/systat/ |
H A D | mode.c | 74 cmdmode(const char *cmd, const char *args) argument 76 if (prefix(cmd, "mode")) { 94 if(prefix(cmd, "reset")) {
|
/freebsd-10-stable/sbin/ipfw/ |
H A D | ipfw2.c | 75 * Check if we have enough space in cmd buffer. Note that since 76 * first 8? u32 words are reserved by reserved header, full cmd 84 #define CHECK_CMDLEN CHECK_LENGTH(cblen, F_LEN((ipfw_insn *)cmd)) 452 * do_setcmd3 - pass ipfw control cmd to kernel 610 print_newports(ipfw_insn_u16 *cmd, int proto, int opcode) argument 612 uint16_t *p = cmd->ports; 623 for (i = F_LEN((ipfw_insn *)cmd) - 1; i > 0; i--, p += 2) { 702 fill_newports(ipfw_insn_u16 *cmd, char *av, int proto, int cblen) argument 704 uint16_t a, b, *p = cmd->ports; 742 cmd 751 fill_dscp(ipfw_insn *cmd, char *av, int cblen) argument 868 print_flags(char const *name, ipfw_insn *cmd, struct _s_x *list) argument 899 print_ip(ipfw_insn_ip *cmd, char const *s) argument 1012 fill_icmptypes(ipfw_insn_u32 *cmd, char *av) argument 1036 print_icmptypes(ipfw_insn_u32 *cmd) argument 1051 print_dscp(ipfw_insn_u32 *cmd) argument 1098 show_prerequisites(int *flags, int want, int cmd) argument 1128 ipfw_insn *cmd, *tagptr = NULL; local 1853 uint8_t cmd, new_set; local 2205 fill_ip(ipfw_insn_ip *cmd, char *av, int cblen) argument 2422 fill_flags(ipfw_insn *cmd, enum ipfw_opcodes opcode, struct _s_x *flags, char *p) argument 2510 fill_iface(ipfw_insn_if *cmd, char *arg, int cblen) argument 2587 next_cmd(ipfw_insn *cmd, int *len) argument 2600 fill_comment(ipfw_insn *cmd, char **av, int cblen) argument 2633 fill_cmd(ipfw_insn *cmd, enum ipfw_opcodes opcode, int flags, uint16_t arg) argument 2645 add_mac(ipfw_insn *cmd, char *av[], int cblen) argument 2664 add_mactype(ipfw_insn *cmd, char *av, int cblen) argument 2678 add_proto0(ipfw_insn *cmd, char *av, u_char *protop) argument 2697 add_proto(ipfw_insn *cmd, char *av, u_char *protop) argument 2718 add_proto_compat(ipfw_insn *cmd, char *av, u_char *protop) argument 2739 add_srcip(ipfw_insn *cmd, char *av, int cblen) argument 2756 add_dstip(ipfw_insn *cmd, char *av, int cblen) argument 2773 add_ports(ipfw_insn *cmd, char *av, u_char proto, int opcode, int cblen) argument 2787 add_src(ipfw_insn *cmd, char *av, u_char proto, int cblen) argument 2818 add_dst(ipfw_insn *cmd, char *av, u_char proto, int cblen) argument 2872 ipfw_insn *src, *dst, *cmd, *action, *prev=NULL; local 4091 int cmd = co.do_pipe ? IP_DUMMYNET_FLUSH : IP_FW_FLUSH; local [all...] |
/freebsd-10-stable/sys/dev/terasic/de4led/ |
H A D | terasic_de4led.c | 126 const char *cmd; local 151 sc->tdl_unit, "de4led_0_cmd", &cmd) == 0) 152 led_set("de4led_0", cmd); 154 sc->tdl_unit, "de4led_1_cmd", &cmd) == 0) 155 led_set("de4led_1", cmd); 157 sc->tdl_unit, "de4led_2_cmd", &cmd) == 0) 158 led_set("de4led_2", cmd); 160 sc->tdl_unit, "de4led_3_cmd", &cmd) == 0) 161 led_set("de4led_3", cmd); 163 sc->tdl_unit, "de4led_4_cmd", &cmd) [all...] |
/freebsd-10-stable/sys/cam/ata/ |
H A D | ata_all.c | 72 ata_op_string(struct ata_cmd *cmd) argument 75 if (cmd->control & 0x04) 77 switch (cmd->command) { 79 switch (cmd->features) { 86 switch (cmd->features) { 115 switch (cmd->features) { 133 if (cmd->features == 0xec) 135 switch (cmd->lba_low) { 154 switch(cmd->features) { 194 switch (cmd 224 ata_cmd_string(struct ata_cmd *cmd, char *cmd_string, size_t len) argument 243 ata_cmd_sbuf(struct ata_cmd *cmd, struct sbuf *sb) argument 440 ata_28bit_cmd(struct ccb_ataio *ataio, uint8_t cmd, uint8_t features, uint32_t lba, uint8_t sector_count) argument 460 ata_48bit_cmd(struct ccb_ataio *ataio, uint8_t cmd, uint16_t features, uint64_t lba, uint16_t sector_count) argument 491 ata_ncq_cmd(struct ccb_ataio *ataio, uint8_t cmd, uint64_t lba, uint16_t sector_count) argument [all...] |
/freebsd-10-stable/sys/amd64/include/xen/ |
H A D | hypercall.h | 199 int cmd, unsigned long arg) 201 return _hypercall2(int, sched_op_compat, cmd, arg); 206 int cmd, void *arg) 208 return _hypercall2(int, sched_op, cmd, arg); 249 unsigned int cmd, void *arg) 251 return _hypercall2(int, memory_op, cmd, arg); 270 int cmd, void *arg) 272 int rc = _hypercall2(int, event_channel_op, cmd, arg); 277 op.cmd = cmd; 198 HYPERVISOR_sched_op_compat( int cmd, unsigned long arg) argument 205 HYPERVISOR_sched_op( int cmd, void *arg) argument 248 HYPERVISOR_memory_op( unsigned int cmd, void *arg) argument 269 HYPERVISOR_event_channel_op( int cmd, void *arg) argument 288 HYPERVISOR_xen_version( int cmd, void *arg) argument 295 HYPERVISOR_console_io( int cmd, unsigned int count, char *str) argument 302 HYPERVISOR_physdev_op( int cmd, void *arg) argument 321 HYPERVISOR_grant_table_op( unsigned int cmd, void *uop, unsigned int count) argument 336 HYPERVISOR_vm_assist( unsigned int cmd, unsigned int type) argument 343 HYPERVISOR_vcpu_op( int cmd, unsigned int vcpuid, void *extra_args) argument 395 HYPERVISOR_callback_op( int cmd, const void *arg) argument [all...] |
/freebsd-10-stable/sys/i386/include/xen/ |
H A D | hypercall.h | 180 int cmd, unsigned long arg) 182 return _hypercall2(int, sched_op_compat, cmd, arg); 187 int cmd, void *arg) 189 return _hypercall2(int, sched_op, cmd, arg); 232 unsigned int cmd, void *arg) 234 return _hypercall2(int, memory_op, cmd, arg); 265 int cmd, void *arg) 267 int rc = _hypercall2(int, event_channel_op, cmd, arg); 272 op.cmd = cmd; 179 HYPERVISOR_sched_op_compat( int cmd, unsigned long arg) argument 186 HYPERVISOR_sched_op( int cmd, void *arg) argument 231 HYPERVISOR_memory_op( unsigned int cmd, void *arg) argument 264 HYPERVISOR_event_channel_op( int cmd, void *arg) argument 282 HYPERVISOR_xen_version( int cmd, void *arg) argument 289 HYPERVISOR_console_io( int cmd, int count, char *str) argument 296 HYPERVISOR_physdev_op( int cmd, void *arg) argument 313 HYPERVISOR_grant_table_op( unsigned int cmd, void *uop, unsigned int count) argument 333 HYPERVISOR_vm_assist( unsigned int cmd, unsigned int type) argument 340 HYPERVISOR_vcpu_op( int cmd, int vcpuid, void *extra_args) argument 373 HYPERVISOR_callback_op( int cmd, void *arg) argument [all...] |
/freebsd-10-stable/usr.bin/rpcgen/ |
H A D | rpc_main.c | 141 struct commandline cmd; local 143 (void) memset((char *)&cmd, 0, sizeof (struct commandline)); 145 if (!parseargs(argc, argv, &cmd)) 152 if (cmd.Ssflag || cmd.Scflag || cmd.makefileflag) { 153 checkfiles(cmd.infile, cmd.outfile); 156 checkfiles(cmd.infile, NULL); 158 if (cmd 793 mkfile_output(struct commandline *cmd) argument 989 parseargs(int argc, const char *argv[], struct commandline *cmd) argument [all...] |
/freebsd-10-stable/crypto/heimdal/lib/roken/ |
H A D | rcmd.c | 44 const char *cmd, 40 rcmd(char **ahost, unsigned short inport, const char *locuser, const char *remuser, const char *cmd, int *fd2p) argument
|
/freebsd-10-stable/etc/rc.d/ |
H A D | bridge | 38 cmd="" 55 ifconfig $bridge $cmd $iface > /dev/null 2>&1 80 cmd="addm" 86 cmd="deletem"
|