/freebsd-9.3-release/contrib/smbfs/smbutil/ |
H A D | smbutil.c | 49 struct commands *cmd; local 51 for (cmd = commands; cmd->name; cmd++) { 52 if (strcmp(cmd->name, name) == 0) 53 return cmd; 78 struct commands *cmd; local 84 cmd = lookupcmd(cp); 85 if (cmd == NULL) 87 if (cmd 96 struct commands *cmd; local [all...] |
/freebsd-9.3-release/usr.bin/systat/ |
H A D | mode.h | 41 extern int cmdmode(const char *cmd, const char *args);
|
/freebsd-9.3-release/usr.sbin/lpr/lpc/ |
H A D | lpc.h | 42 struct cmd { struct
|
/freebsd-9.3-release/usr.sbin/ntp/scripts/ |
H A D | ntptrace | 23 $cmd = "$ntpq -n -c rv $host"; 24 open(PH, $cmd . "|") || die "failed to start command $cmd: $!"; 33 close(PH) || die "$cmd failed"; 52 $cmd = "$ntpq -n -c \"pstat $peer\" $host"; 53 open(PH, $cmd . "|") || die "failed to start command $cmd: $!"; 58 close(PH) || die "$cmd failed";
|
/freebsd-9.3-release/contrib/less/ |
H A D | lsystem.c | 41 lsystem(cmd, donemsg) 42 char *cmd; 59 if (cmd[0] == '-') 60 cmd++; 65 putstr(cmd); 71 if (*cmd == '\0') 72 cmd = getenv("COMSPEC"); 133 if (*cmd == '\0') 137 char *esccmd = shell_quote(cmd); 149 if (*cmd [all...] |
/freebsd-9.3-release/usr.bin/usbhidaction/ |
H A D | usbhidaction.c | 94 struct command *cmd; local 202 for (cmd = commands; cmd; cmd = cmd->next) { 203 if (cmd->item.report_ID != 0 && 204 buf[0] != cmd->item.report_ID) 206 if (cmd->item.flags & HIO_VARIABLE) 207 val = hid_get_data(buf, &cmd->item); 209 uint32_t pos = cmd 284 struct command *cmd, *cmds; local 466 docmd(struct command *cmd, int value, const char *hid, int argc, char **argv) argument 511 freecommands(struct command *cmd) argument [all...] |
/freebsd-9.3-release/contrib/ofed/libibcm/src/ |
H A D | cm.c | 81 #define CM_CREATE_MSG_CMD_RESP(msg, cmd, resp, type, size) \ 85 size = sizeof(*hdr) + sizeof(*cmd); \ 90 cmd = msg + sizeof(*hdr); \ 91 hdr->cmd = type; \ 92 hdr->in = sizeof(*cmd); \ 94 memset(cmd, 0, sizeof(*cmd)); \ 98 cmd->response = (uintptr_t)resp;\ 101 #define CM_CREATE_MSG_CMD(msg, cmd, type, size) \ 105 size = sizeof(*hdr) + sizeof(*cmd); \ 262 struct cm_abi_create_id *cmd; local 292 struct cm_abi_destroy_id *cmd; local 321 struct cm_abi_attr_id *cmd; local 350 struct cm_abi_init_qp_attr *cmd; local 378 struct cm_abi_listen *cmd; local 399 struct cm_abi_req *cmd; local 456 struct cm_abi_rep *cmd; local 494 struct cm_abi_private_data *cmd; local 540 struct cm_abi_establish *cmd; local 557 struct cm_abi_notify *cmd; local 588 struct cm_abi_info *cmd; local 643 struct cm_abi_mra *cmd; local 670 struct cm_abi_lap *cmd; local 703 struct cm_abi_sidr_req *cmd; local 742 struct cm_abi_sidr_rep *cmd; local 825 struct cm_abi_event_get *cmd; local [all...] |
/freebsd-9.3-release/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_evnt.c | 277 ng_l2cap_cmd_p cmd = NULL; local 288 cmd = ng_l2cap_cmd_by_ident(con, ident); 289 if (cmd != NULL) { 291 if (ng_l2cap_command_untimeout(cmd) != 0) { 296 ng_l2cap_unlink_cmd(cmd); 298 switch (cmd->code) { 300 ng_l2cap_l2ca_con_rsp(cmd->ch,cmd->token,cp->reason,0); 301 ng_l2cap_free_chan(cmd->ch); 305 ng_l2cap_l2ca_cfg_rsp(cmd 406 ng_l2cap_cmd_p cmd = NULL; local 660 ng_l2cap_cmd_p cmd = NULL; local 814 ng_l2cap_cmd_p cmd = NULL; local 904 ng_l2cap_cmd_p cmd = NULL; local 973 ng_l2cap_cmd_p cmd = NULL; local 1013 ng_l2cap_cmd_p cmd = NULL; local 1051 ng_l2cap_cmd_p cmd = NULL; local 1100 ng_l2cap_cmd_p cmd = NULL; local 1175 ng_l2cap_cmd_p cmd = NULL; local 1203 ng_l2cap_cmd_p cmd = NULL; local 1231 ng_l2cap_cmd_p cmd = NULL; local [all...] |
/freebsd-9.3-release/usr.sbin/mlxcontrol/ |
H A D | interface.c | 173 struct mlx_usercommand *cmd = (struct mlx_usercommand *)arg; local 176 error = ioctl(fd, MLX_COMMAND, cmd); 178 cmd->mu_error = error; 188 struct mlx_usercommand cmd; local 191 cmd.mu_datasize = sizeof(*enq); 192 cmd.mu_buf = enq; 193 cmd.mu_bufptr = 8; 194 cmd.mu_command[0] = MLX_CMD_ENQUIRY2; 197 mlx_perform(unit, mlx_command, (void *)&cmd); 199 return(cmd 210 struct mlx_usercommand cmd; local 230 struct mlx_usercommand cmd; local 275 struct mlx_usercommand cmd; local [all...] |
/freebsd-9.3-release/contrib/wpa/hostapd/ |
H A D | hostapd_cli.c | 97 " wps_ap_pin <cmd> [params..] enable/disable AP PIN\n" 181 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) argument 192 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, 195 printf("'%s' command timed out.\n", cmd); 198 printf("'%s' command failed.\n", cmd); 209 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) argument 211 return _wpa_ctrl_command(ctrl, cmd, 1); 230 char *cmd; local 236 cmd 381 char cmd[256]; local 433 wpa_ctrl_command_sta(struct wpa_ctrl *ctrl, char *cmd, char *addr, size_t addr_len) argument 472 char addr[32], cmd[64]; local 508 char cmd[256]; local 571 const char *cmd; member in struct:hostapd_cli_cmd 605 struct hostapd_cli_cmd *cmd, *match = NULL; local 667 char cmd[256], *res, *argv[max_args], *pos; local [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/cli/ |
H A D | cli-dump.h | 30 extern char *scan_filename_with_cleanup (char **cmd, const char *defname); 32 extern char *scan_expression_with_cleanup (char **cmd, const char *defname);
|
/freebsd-9.3-release/lib/libc/sys/ |
H A D | fcntl.c | 40 __fcntl_compat(int fd, int cmd, ...) argument 48 va_start(args, cmd); 53 return (__sys_fcntl(fd, cmd, arg)); 55 if (cmd == F_GETLK || cmd == F_SETLK || cmd == F_SETLKW) { 67 switch (cmd) { 87 return (__sys_fcntl(fd, cmd, arg));
|
/freebsd-9.3-release/lib/libstand/ |
H A D | dev.c | 55 noioctl(f, cmd, data) 57 u_long cmd;
|
/freebsd-9.3-release/sbin/devfs/ |
H A D | extern.h | 40 struct cmd { struct 44 typedef struct cmd ctbl_t[];
|
/freebsd-9.3-release/usr.sbin/apmd/ |
H A D | apmdparse.y | 71 %type <evcmd> cmd 148 | cmd_list cmd 162 cmd 171 struct event_cmd_exec *cmd = malloc(len); 172 cmd->evcmd.next = NULL; 173 cmd->evcmd.len = len; 174 cmd->evcmd.name = "exec"; 175 cmd->evcmd.op = &event_cmd_exec_ops; 176 cmd->line = $2; 177 $$ = (struct event_cmd *) cmd; [all...] |
/freebsd-9.3-release/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-9.3-release/crypto/openssl/test/ |
H A D | tcrl | 3 cmd='../util/shlib_wrap.sh ../apps/openssl crl' 15 $cmd -in fff.p -inform p -outform d >f.d 18 #$cmd -in fff.p -inform p -outform t >f.t 21 $cmd -in fff.p -inform p -outform p >f.p 25 $cmd -in f.d -inform d -outform d >ff.d1 28 #$cmd -in f.t -inform t -outform d >ff.d2 31 $cmd -in f.p -inform p -outform d >ff.d3 35 #$cmd -in f.d -inform d -outform t >ff.t1 38 #$cmd -in f.t -inform t -outform t >ff.t2 41 #$cmd [all...] |
H A D | tpkcs7 | 3 cmd='../util/shlib_wrap.sh ../apps/openssl pkcs7' 15 $cmd -in fff.p -inform p -outform d >f.d 18 $cmd -in fff.p -inform p -outform p >f.p 22 $cmd -in f.d -inform d -outform d >ff.d1 25 $cmd -in f.p -inform p -outform d >ff.d3 29 $cmd -in f.d -inform d -outform p >ff.p1 32 $cmd -in f.p -inform p -outform p >ff.p3
|
H A D | tpkcs7d | 3 cmd='../util/shlib_wrap.sh ../apps/openssl pkcs7' 15 $cmd -in fff.p -inform p -outform d >f.d 18 $cmd -in fff.p -inform p -outform p >f.p 22 $cmd -in f.d -inform d -outform d >ff.d1 25 $cmd -in f.p -inform p -outform d >ff.d3 29 $cmd -in f.d -inform d -outform p >ff.p1 32 $cmd -in f.p -inform p -outform p >ff.p3
|
H A D | tsid | 3 cmd='../util/shlib_wrap.sh ../apps/openssl sess_id' 15 $cmd -in fff.p -inform p -outform d >f.d 18 #$cmd -in fff.p -inform p -outform t >f.t 21 $cmd -in fff.p -inform p -outform p >f.p 25 $cmd -in f.d -inform d -outform d >ff.d1 28 #$cmd -in f.t -inform t -outform d >ff.d2 31 $cmd -in f.p -inform p -outform d >ff.d3 35 #$cmd -in f.d -inform d -outform t >ff.t1 38 #$cmd -in f.t -inform t -outform t >ff.t2 41 #$cmd [all...] |
/freebsd-9.3-release/sys/dev/smbus/ |
H A D | smbconf.h | 93 #define smbus_writeb(bus,slave,cmd,byte) \ 94 (SMBUS_WRITEB(device_get_parent(bus), slave, cmd, byte)) 95 #define smbus_writew(bus,slave,cmd,word) \ 96 (SMBUS_WRITEW(device_get_parent(bus), slave, cmd, word)) 97 #define smbus_readb(bus,slave,cmd,byte) \ 98 (SMBUS_READB(device_get_parent(bus), slave, cmd, byte)) 99 #define smbus_readw(bus,slave,cmd,word) \ 100 (SMBUS_READW(device_get_parent(bus), slave, cmd, word)) 101 #define smbus_pcall(bus,slave,cmd,sdata,rdata) \ 102 (SMBUS_PCALL(device_get_parent(bus), slave, cmd, sdat [all...] |
/freebsd-9.3-release/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-9.3-release/crypto/heimdal/lib/roken/ |
H A D | flock.c | 51 int code, cmd; local 58 cmd = F_SETLK; 60 cmd = F_SETLKW; /* Blocking */ 69 code = fcntl(fd, cmd, &arg); 73 code = fcntl(fd, cmd, &arg);
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | lockf.c | 44 int cmd; local 52 cmd = F_SETLK; 56 cmd = F_SETLKW; 60 cmd = F_SETLK; 78 return (_fcntl(filedes, cmd, &fl));
|
/freebsd-9.3-release/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...] |