/freebsd-10-stable/contrib/bmake/ |
H A D | metachar.h | 41 hasmeta(const char *cmd) argument 43 while (!ismeta(*cmd)) 44 cmd++; 46 return *cmd != '\0'; 50 needshell(const char *cmd, int white) argument 52 while (!ismeta(*cmd) && *cmd != ':' && *cmd != '=') { 53 if (white && isspace((unsigned char)*cmd)) 55 cmd [all...] |
/freebsd-10-stable/contrib/ntp/libparse/ |
H A D | trim_info.c | 42 unsigned int cmd, 48 for (i = 0; tbl[i].cmd != 0xFF; i++) 50 if (tbl[i].cmd == cmd) 41 trimble_convert( unsigned int cmd, cmd_info_t *tbl ) argument
|
/freebsd-10-stable/contrib/amd/scripts/ |
H A D | wait4amd.in | 35 cmd=$* 36 if [ -z "${cmd}" ] 38 cmd="rlogin $hostname" 40 echo "Running: $cmd" 41 $cmd
|
/freebsd-10-stable/sys/mips/nlm/dev/sec/ |
H A D | nlmseclib.c | 61 struct xlp_sec_command *cmd) 71 cmd->ctrlp->cipherkeylen, vtophys(cmd->ctrlp)); 73 m.msg[1] = nlm_crypto_form_pkt_fmn_entry1(0, cmd->ctrlp->hashkeylen, 74 NLM_CRYPTO_PKT_DESC_SIZE(cmd->nsegs), vtophys(cmd->paramp)); 77 m.msg[2] = (uintptr_t)cmd; 93 nlm_crypto_form_srcdst_segs(struct xlp_sec_command *cmd) argument 99 crp = cmd->crp; 100 cipdesc = cmd 60 nlm_crypto_complete_sec_request(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd) argument 157 nlm_crypto_do_cipher(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd) argument 190 nlm_crypto_do_digest(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd) argument 213 nlm_crypto_do_cipher_digest(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd) argument 253 nlm_get_digest_param(struct xlp_sec_command *cmd) argument 279 nlm_get_cipher_param(struct xlp_sec_command *cmd) argument [all...] |
/freebsd-10-stable/lib/libc/gen/ |
H A D | semctl.c | 40 int __semctl(int semid, int semnum, int cmd, union semun *arg); 41 int freebsd7___semctl(int semid, int semnum, int cmd, union semun_old *arg); 44 semctl(int semid, int semnum, int cmd, ...) argument 50 va_start(ap, cmd); 51 if (cmd == IPC_SET || cmd == IPC_STAT || cmd == GETALL 52 || cmd == SETVAL || cmd == SETALL) { 60 return (__semctl(semid, semnum, cmd, semun_pt 64 freebsd7_semctl(int semid, int semnum, int cmd, ...) argument [all...] |
/freebsd-10-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_cmds.c | 66 ng_l2cap_cmd_p cmd = NULL; local 71 TAILQ_FOREACH(cmd, &con->cmd_list, next) { 72 KASSERT((cmd->con == con), 76 if (!(cmd->flags & NG_L2CAP_CMD_PENDING)) 80 if (cmd == NULL) 84 m = cmd->aux; 85 cmd->aux = NULL; 88 switch (cmd->code) { 104 ng_l2cap_unlink_cmd(cmd); 105 ng_l2cap_free_cmd(cmd); 232 ng_l2cap_cmd_p cmd = NULL; local 330 ng_l2cap_cmd_p cmd = NULL; local [all...] |
H A D | ng_l2cap_misc.h | 62 #define ng_l2cap_link_cmd(con, cmd) \ 64 TAILQ_INSERT_TAIL(&(con)->cmd_list, (cmd), next); \ 68 #define ng_l2cap_unlink_cmd(cmd) \ 70 TAILQ_REMOVE(&((cmd)->con->cmd_list), (cmd), next); \ 71 ng_l2cap_con_unref((cmd)->con); \ 74 #define ng_l2cap_free_cmd(cmd) \ 76 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \ 77 NG_FREE_M((cmd)->aux); \ 78 bzero((cmd), sizeo [all...] |
/freebsd-10-stable/sys/dev/nvme/ |
H A D | nvme_ns_cmd.c | 37 struct nvme_command *cmd; local 44 cmd = &req->cmd; 45 cmd->opc = NVME_OPC_READ; 46 cmd->nsid = ns->id; 49 *(uint64_t *)&cmd->cdw10 = lba; 50 cmd->cdw12 = lba_count-1; 62 struct nvme_command *cmd; local 70 cmd = &req->cmd; 91 struct nvme_command *cmd; local 117 struct nvme_command *cmd; local 146 struct nvme_command *cmd; local 171 struct nvme_command *cmd; local [all...] |
H A D | nvme_ctrlr_cmd.c | 37 struct nvme_command *cmd; local 42 cmd = &req->cmd; 43 cmd->opc = NVME_OPC_IDENTIFY; 49 cmd->cdw10 = 1; 59 struct nvme_command *cmd; local 64 cmd = &req->cmd; 65 cmd->opc = NVME_OPC_IDENTIFY; 70 cmd 81 struct nvme_command *cmd; local 105 struct nvme_command *cmd; local 129 struct nvme_command *cmd; local 150 struct nvme_command *cmd; local 172 struct nvme_command *cmd; local 190 struct nvme_command *cmd; local 257 struct nvme_command *cmd; local 316 struct nvme_command *cmd; local [all...] |
/freebsd-10-stable/usr.bin/svn/svn/ |
H A D | Makefile | 11 SRCS= add-cmd.c auth-cmd.c blame-cmd.c cat-cmd.c changelist-cmd.c \ 12 checkout-cmd.c cl-conflicts.c cleanup-cmd.c commit-cmd.c \ 13 conflict-callbacks.c copy-cmd.c delete-cmd [all...] |
/freebsd-10-stable/lib/libkse/thread/ |
H A D | thr_fcntl.c | 39 int __fcntl(int fd, int cmd,...); 40 extern int __fcntl_compat(int fd, int cmd,...); 45 __fcntl(int fd, int cmd,...) argument 53 va_start(ap, cmd); 54 switch (cmd) { 56 ret = __sys_fcntl(fd, cmd, va_arg(ap, int)); 65 ret = __sys_fcntl(fd, cmd, va_arg(ap, int)); 69 ret = __sys_fcntl(fd, cmd); 72 ret = __fcntl_compat(fd, cmd, va_arg(ap, void *));
|
/freebsd-10-stable/usr.sbin/pkg_install/lib/ |
H A D | exec.c | 36 char *cmd; local 42 cmd = malloc(maxargs); 43 if (!cmd) { 49 if (vsnprintf(cmd, maxargs, fmt, args) > maxargs) { 55 printf("Executing %s\n", cmd); 57 ret = system(cmd); 59 free(cmd); 67 char *cmd, *rp; local 78 cmd = alloca(maxargs); 79 if (!cmd) { [all...] |
/freebsd-10-stable/contrib/netbsd-tests/bin/sh/dotcmd/ |
H A D | scoped_command | 57 # scoped_command scope cmd msg var_suffix 72 cmd="echo 'before ${3}' 94 a) ${cmd};; 100 ${cmd} 109 ${cmd} 120 ${cmd} 129 ${cmd} 137 ${cmd} 145 ${cmd};
|
/freebsd-10-stable/contrib/gdb/gdb/mi/ |
H A D | mi-parse.h | 37 const struct mi_cmd *cmd; member in struct:mi_parse 49 extern struct mi_parse *mi_parse (char *cmd); 53 extern void mi_parse_free (struct mi_parse *cmd);
|
/freebsd-10-stable/contrib/wpa/src/utils/ |
H A D | edit.h | 12 int edit_init(void (*cmd_cb)(void *ctx, char *cmd), 14 char ** (*completion_cb)(void *ctx, const char *cmd, int pos), 17 int (*filter_cb)(void *ctx, const char *cmd));
|
/freebsd-10-stable/tools/regression/zfs/ |
H A D | misc.sh | 27 # Use correct arguments to cmd line programs 135 cmd="mktemp -d /tmp/zfs-regression.XXXXXXXXXX" 136 TMPDIR=`${cmd}` || die "failed: ${cmd}" 137 cmd="mount -t tmpfs none ${TMPDIR}" 138 ${cmd} || die "failed: ${cmd}" 145 cmd="umount ${TMPDIR} && rmdir ${TMPDIR}" 146 eval "${cmd}" || die "failed: ${cmd}" [all...] |
/freebsd-10-stable/sbin/ipfw/ |
H A D | ipv6.c | 88 print_ip6(ipfw_insn_ip6 *cmd, char const *s) argument 91 int len = F_LEN((ipfw_insn *) cmd) - 1; 92 struct in6_addr *a = &(cmd->addr6); 95 printf("%s%s ", cmd->o.len & F_NOT ? " not": "", s); 97 if (cmd->o.opcode == O_IP6_SRC_ME || cmd->o.opcode == O_IP6_DST_ME) { 101 if (cmd->o.opcode == O_IP6) { 114 (cmd->o.opcode == O_IP6_SRC || cmd->o.opcode == O_IP6_DST) ? 139 fill_icmp6types(ipfw_insn_icmp6 *cmd, cha argument 168 print_icmp6types(ipfw_insn_u32 *cmd) argument 184 print_flow6id( ipfw_insn_u32 *cmd) argument 212 fill_ext6hdr( ipfw_insn *cmd, char *av) argument 337 fill_ip6(ipfw_insn_ip6 *cmd, char *av, int cblen) argument 466 fill_flow6( ipfw_insn_u32 *cmd, char *av, int cblen) argument 496 add_srcip6(ipfw_insn *cmd, char *av, int cblen) argument 518 add_dstip6(ipfw_insn *cmd, char *av, int cblen) argument [all...] |
/freebsd-10-stable/sbin/nandfs/ |
H A D | nandfs.c | 55 char *cmd; local 60 cmd = argv[1]; 64 if (strcmp(cmd, "lssnap") == 0) 66 else if (strcmp(cmd, "mksnap") == 0) 68 else if (strcmp(cmd, "rmsnap") == 0)
|
/freebsd-10-stable/contrib/ofed/libibverbs/src/ |
H A D | ibverbs.h | 84 #define IBV_INIT_CMD(cmd, size, opcode) \ 87 (cmd)->command = IB_USER_VERBS_CMD_##opcode; \ 89 (cmd)->command = IB_USER_VERBS_CMD_##opcode##_V2; \ 90 (cmd)->in_words = (size) / 4; \ 91 (cmd)->out_words = 0; \ 94 #define IBV_INIT_CMD_RESP(cmd, size, opcode, out, outsize) \ 97 (cmd)->command = IB_USER_VERBS_CMD_##opcode; \ 99 (cmd)->command = IB_USER_VERBS_CMD_##opcode##_V2; \ 100 (cmd)->in_words = (size) / 4; \ 101 (cmd) [all...] |
H A D | cmd.c | 55 struct ibv_get_context_v2 *cmd; local 64 cmd_size = sizeof *cmd + new_cmd_size - sizeof *new_cmd; 65 cmd = alloca(cmd_size); 66 memcpy(cmd->driver_data, new_cmd->driver_data, new_cmd_size - sizeof *new_cmd); 68 IBV_INIT_CMD_RESP(cmd, cmd_size, GET_CONTEXT, resp, resp_size); 69 cmd->cq_fd_tab = (uintptr_t) &cq_fd; 71 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) 86 int ibv_cmd_get_context(struct ibv_context *context, struct ibv_get_context *cmd, argument 91 return ibv_cmd_get_context_v2(context, cmd, cmd_size, resp, resp_size); 93 IBV_INIT_CMD_RESP(cmd, cmd_siz 106 ibv_cmd_query_device(struct ibv_context *context, struct ibv_device_attr *device_attr, uint64_t *raw_fw_ver, struct ibv_query_device *cmd, size_t cmd_size) argument 165 ibv_cmd_query_port(struct ibv_context *context, uint8_t port_num, struct ibv_port_attr *port_attr, struct ibv_query_port *cmd, size_t cmd_size) argument 204 ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd, struct ibv_alloc_pd *cmd, size_t cmd_size, struct ibv_alloc_pd_resp *resp, size_t resp_size) argument 223 struct ibv_dealloc_pd cmd; local 234 ibv_cmd_reg_mr(struct ibv_pd *pd, void *addr, size_t length, uint64_t hca_va, int access, struct ibv_mr *mr, struct ibv_reg_mr *cmd, size_t cmd_size, struct ibv_reg_mr_resp *resp, size_t resp_size) argument 264 struct ibv_dereg_mr cmd; local 280 struct ibv_create_cq_v2 *cmd; local 304 ibv_cmd_create_cq(struct ibv_context *context, int cqe, struct ibv_comp_channel *channel, int comp_vector, struct ibv_cq *cq, struct ibv_create_cq *cmd, size_t cmd_size, struct ibv_create_cq_resp *resp, size_t resp_size) argument 335 struct ibv_poll_cq cmd; local 382 struct ibv_req_notify_cq cmd; local 394 ibv_cmd_resize_cq(struct ibv_cq *cq, int cqe, struct ibv_resize_cq *cmd, size_t cmd_size, struct ibv_resize_cq_resp *resp, size_t resp_size) argument 415 struct ibv_destroy_cq_v1 cmd; local 428 struct ibv_destroy_cq cmd; local 452 ibv_cmd_create_srq(struct ibv_pd *pd, struct ibv_srq *srq, struct ibv_srq_init_attr *attr, struct ibv_create_srq *cmd, size_t cmd_size, struct ibv_create_srq_resp *resp, size_t resp_size) argument 487 ibv_cmd_create_xrc_srq(struct ibv_pd *pd, struct ibv_srq *srq, struct ibv_srq_init_attr *attr, uint32_t xrcd_handle, uint32_t xrc_cq, struct ibv_create_xrc_srq *cmd, size_t cmd_size, struct ibv_create_srq_resp *resp, size_t resp_size) argument 521 struct ibv_modify_srq_v3 *cmd; local 543 ibv_cmd_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *srq_attr, int srq_attr_mask, struct ibv_modify_srq *cmd, size_t cmd_size) argument 565 ibv_cmd_query_srq(struct ibv_srq *srq, struct ibv_srq_attr *srq_attr, struct ibv_query_srq *cmd, size_t cmd_size) argument 588 struct ibv_destroy_srq_v1 cmd; local 601 struct ibv_destroy_srq cmd; local 624 ibv_cmd_create_qp(struct ibv_pd *pd, struct ibv_qp *qp, struct ibv_qp_init_attr *attr, struct ibv_create_qp *cmd, size_t cmd_size, struct ibv_create_qp_resp *resp, size_t resp_size) argument 684 ibv_cmd_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_qp_init_attr *init_attr, struct ibv_query_qp *cmd, size_t cmd_size) argument 768 ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_modify_qp *cmd, size_t cmd_size) argument 835 struct ibv_create_xrc_rcv_qp cmd; local 866 struct ibv_modify_xrc_rcv_qp cmd; local 936 struct ibv_query_xrc_rcv_qp cmd; local 1016 struct ibv_destroy_qp_v1 cmd; local 1030 struct ibv_post_send *cmd; local 1120 struct ibv_post_recv *cmd; local 1181 struct ibv_post_srq_recv *cmd; local 1242 struct ibv_create_ah cmd; local 1273 struct ibv_destroy_ah cmd; local 1286 struct ibv_destroy_qp cmd; local 1311 struct ibv_attach_mcast cmd; local 1327 struct ibv_detach_mcast cmd; local 1346 struct ibv_open_xrc_domain cmd; local 1365 struct ibv_close_xrc_domain cmd; local 1380 struct ibv_reg_xrc_rcv_qp cmd; local 1396 struct ibv_unreg_xrc_rcv_qp cmd; local [all...] |
/freebsd-10-stable/contrib/opie/libopie/ |
H A D | generator.c | 147 char cmd[1+1+1+1+4+1+OPIE_SEED_MAX+1+4+1+4+1+4+1+4+1]; local 208 if ((i = read(s, cmd, sizeof(cmd)-1)) < 0) { 216 cmd[i] = 0; 217 if ((cmd[0] != 'C') || (cmd[1] != '+') || (cmd[2] != ' ')) { 219 syslog(LOG_DEBUG, "opiegenerator: got invalid/failing C+ response: %s\n", cmd); 226 window = strtoul(&cmd[3], &c, 10); 229 syslog(LOG_DEBUG, "opiegenerator: got bogus option response: %s\n", cmd); [all...] |
/freebsd-10-stable/sbin/ifconfig/ |
H A D | ifvxlan.c | 202 struct ifvxlancmd cmd; local 214 bzero(&cmd, sizeof(cmd)); 215 cmd.vxlcmd_vni = val; 217 if (do_cmd(s, VXLAN_CMD_SET_VNI, &cmd, sizeof(cmd), 1) < 0) 224 struct ifvxlancmd cmd; local 229 bzero(&cmd, sizeof(cmd)); 245 cmd 286 struct ifvxlancmd cmd; local 348 struct ifvxlancmd cmd; local 410 struct ifvxlancmd cmd; local 432 struct ifvxlancmd cmd; local 454 struct ifvxlancmd cmd; local 482 struct ifvxlancmd cmd; local 504 struct ifvxlancmd cmd; local 526 struct ifvxlancmd cmd; local 545 struct ifvxlancmd cmd; local 567 struct ifvxlancmd cmd; local 586 struct ifvxlancmd cmd; local [all...] |
/freebsd-10-stable/sbin/restore/ |
H A D | interactive.c | 81 char *cmd; /* the current command */ member in struct:arglist 104 char cmd[BUFSIZ]; local 126 getcmd(curdir, cmd, name, sizeof(name), &arglist); 127 switch (cmd[0]) { 132 if (strncmp(cmd, "add", strlen(cmd)) != 0) 145 if (strncmp(cmd, "cd", strlen(cmd)) != 0) 160 if (strncmp(cmd, "delete", strlen(cmd)) ! 305 getcmd(char *curdir, char *cmd, char *name, size_t size, struct arglist *ap) argument [all...] |
/freebsd-10-stable/sys/dev/mmc/ |
H A D | mmc_subr.c | 75 mmc_wait_for_cmd(device_t busdev, device_t dev, struct mmc_command *cmd, argument 84 memset(cmd->resp, 0, sizeof(cmd->resp)); 85 cmd->retries = 0; /* Retries done here, not in hardware. */ 86 cmd->mrq = &mreq; 87 if (cmd->data != NULL) 88 cmd->data->mrq = &mreq; 89 mreq.cmd = cmd; 93 err = cmd 109 mmc_wait_for_app_cmd(device_t busdev, device_t dev, uint16_t rca, struct mmc_command *cmd, int retries) argument 155 struct mmc_command cmd; local 231 struct mmc_command cmd; local 254 struct mmc_command cmd; local [all...] |
/freebsd-10-stable/sys/mips/atheros/ |
H A D | pcf2123_rtc.c | 74 struct spi_command cmd; local 84 memset(&cmd, 0, sizeof(cmd)); 90 cmd.rx_cmd = rxBuf; 91 cmd.tx_cmd = txBuf; 92 cmd.rx_cmd_sz = sizeof(rxBuf); 93 cmd.tx_cmd_sz = sizeof(txBuf); 94 err = SPIBUS_TRANSFER(device_get_parent(dev), dev, &cmd); 104 struct spi_command cmd; local 109 memset(&cmd, 145 struct spi_command cmd; local [all...] |