/freebsd-11-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-11-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-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | ioctl.h | 36 #define _IOC_SIZE(cmd) IOCPARM_LEN(cmd)
|
/freebsd-11-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-11-stable/lib/libc/gen/ |
H A D | semctl.c | 42 int __semctl(int semid, int semnum, int cmd, union semun *arg); 44 int freebsd7___semctl(int semid, int semnum, int cmd, union semun_old *arg); 45 int freebsd7_semctl(int semid, int semnum, int cmd, ...); 49 semctl(int semid, int semnum, int cmd, ...) argument 55 va_start(ap, cmd); 56 if (cmd == IPC_SET || cmd == IPC_STAT || cmd == GETALL 57 || cmd == SETVAL || cmd 70 freebsd7_semctl(int semid, int semnum, int cmd, ...) argument [all...] |
/freebsd-11-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) { 103 ng_l2cap_unlink_cmd(cmd); 104 ng_l2cap_free_cmd(cmd); 244 ng_l2cap_cmd_p cmd = NULL; local 343 ng_l2cap_cmd_p cmd = NULL; local [all...] |
H A D | ng_l2cap_misc.h | 64 #define ng_l2cap_link_cmd(con, cmd) \ 66 TAILQ_INSERT_TAIL(&(con)->cmd_list, (cmd), next); \ 70 #define ng_l2cap_unlink_cmd(cmd) \ 72 TAILQ_REMOVE(&((cmd)->con->cmd_list), (cmd), next); \ 73 ng_l2cap_con_unref((cmd)->con); \ 76 #define ng_l2cap_free_cmd(cmd) \ 78 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \ 79 NG_FREE_M((cmd)->aux); \ 80 bzero((cmd), sizeo [all...] |
/freebsd-11-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-11-stable/tools/tools/perforce/ |
H A D | awkdiff | 21 cmd = "p4 print \"" $4 "\" | sed '/^\\/\\/depot/d' | diff -u /dev/null /dev/stdin | sed s@/dev/stdin@" new_file "@" 22 #print "x" cmd "x" 23 system(cmd) 29 cmd = "p4 print \"" $2 "\" | sed '/^\\/\\/depot/d' | diff -u /dev/stdin /dev/null | sed s@/dev/stdin@" del_file "@" 30 #print "x" cmd "x" 31 system(cmd)
|
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_ioctl.h | 34 extern int ath_ioctl(struct ieee80211com *ic, u_long cmd, void *data);
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | ibverbs.h | 67 #define IBV_INIT_CMD(cmd, size, opcode) \ 70 (cmd)->command = IB_USER_VERBS_CMD_##opcode; \ 72 (cmd)->command = IB_USER_VERBS_CMD_##opcode##_V2; \ 73 (cmd)->in_words = (size) / 4; \ 74 (cmd)->out_words = 0; \ 77 #define IBV_INIT_CMD_RESP(cmd, size, opcode, out, outsize) \ 80 (cmd)->command = IB_USER_VERBS_CMD_##opcode; \ 82 (cmd)->command = IB_USER_VERBS_CMD_##opcode##_V2; \ 83 (cmd)->in_words = (size) / 4; \ 84 (cmd) [all...] |
H A D | cmd.c | 47 int ibv_cmd_get_context(struct ibv_context *context, struct ibv_get_context *cmd, argument 54 IBV_INIT_CMD_RESP(cmd, cmd_size, GET_CONTEXT, resp, resp_size); 56 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) 116 struct ibv_query_device *cmd, size_t cmd_size) 120 IBV_INIT_CMD_RESP(cmd, cmd_size, QUERY_DEVICE, &resp, sizeof resp); 122 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) 137 struct ibv_query_device_ex *cmd, 158 IBV_INIT_CMD_RESP_EX_V(cmd, cmd_core_size, cmd_size, 161 cmd->comp_mask = 0; 162 cmd 113 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 133 ibv_cmd_query_device_ex(struct ibv_context *context, const struct ibv_query_device_ex_input *input, struct ibv_device_attr_ex *attr, size_t attr_size, uint64_t *raw_fw_ver, struct ibv_query_device_ex *cmd, size_t cmd_core_size, size_t cmd_size, struct ibv_query_device_resp_ex *resp, size_t resp_core_size, size_t resp_size) argument 244 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 283 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 302 struct ibv_dealloc_pd cmd; local 313 ibv_cmd_open_xrcd(struct ibv_context *context, struct verbs_xrcd *xrcd, int vxrcd_size, struct ibv_xrcd_init_attr *attr, struct ibv_open_xrcd *cmd, size_t cmd_size, struct ibv_open_xrcd_resp *resp, size_t resp_size) argument 347 struct ibv_close_xrcd cmd; local 358 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 386 ibv_cmd_rereg_mr(struct ibv_mr *mr, uint32_t flags, void *addr, size_t length, uint64_t hca_va, int access, struct ibv_pd *pd, struct ibv_rereg_mr *cmd, size_t cmd_sz, struct ibv_rereg_mr_resp *resp, size_t resp_sz) argument 417 struct ibv_dereg_mr cmd; local 428 ibv_cmd_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type, struct ibv_mw *mw, struct ibv_alloc_mw *cmd, size_t cmd_size, struct ibv_alloc_mw_resp *resp, size_t resp_size) argument 452 ibv_cmd_dealloc_mw(struct ibv_mw *mw, struct ibv_dealloc_mw *cmd, size_t cmd_size) argument 465 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 490 ibv_cmd_create_cq_ex(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr, struct ibv_cq_ex *cq, struct ibv_create_cq_ex *cmd, size_t cmd_core_size, size_t cmd_size, struct ibv_create_cq_resp_ex *resp, size_t resp_core_size, size_t resp_size) argument 540 struct ibv_poll_cq cmd; local 587 struct ibv_req_notify_cq cmd; local 599 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 619 struct ibv_destroy_cq cmd; local 640 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 675 ibv_cmd_create_srq_ex(struct ibv_context *context, struct verbs_srq *srq, int vsrq_sz, struct ibv_srq_init_attr_ex *attr_ex, struct ibv_create_xsrq *cmd, size_t cmd_size, struct ibv_create_srq_resp *resp, size_t resp_size) argument 756 struct ibv_modify_srq_v3 *cmd; local 778 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 800 ibv_cmd_query_srq(struct ibv_srq *srq, struct ibv_srq_attr *srq_attr, struct ibv_query_srq *cmd, size_t cmd_size) argument 823 struct ibv_destroy_srq cmd; local 843 create_qp_ex_common(struct verbs_qp *qp, struct ibv_qp_init_attr_ex *qp_attr, struct verbs_xrcd *vxrcd, struct ibv_create_qp_common *cmd) argument 933 ibv_cmd_create_qp_ex2(struct ibv_context *context, struct verbs_qp *qp, int vqp_sz, struct ibv_qp_init_attr_ex *qp_attr, struct ibv_create_qp_ex *cmd, size_t cmd_core_size, size_t cmd_size, struct ibv_create_qp_resp_ex *resp, size_t resp_core_size, size_t resp_size) argument 992 ibv_cmd_create_qp_ex(struct ibv_context *context, struct verbs_qp *qp, int vqp_sz, struct ibv_qp_init_attr_ex *attr_ex, struct ibv_create_qp *cmd, size_t cmd_size, struct ibv_create_qp_resp *resp, size_t resp_size) argument 1037 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 1095 ibv_cmd_open_qp(struct ibv_context *context, struct verbs_qp *qp, int vqp_sz, struct ibv_qp_open_attr *attr, struct ibv_open_qp *cmd, size_t cmd_size, struct ibv_create_qp_resp *resp, size_t resp_size) argument 1145 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 1234 copy_modify_qp_fields(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_modify_qp_common *cmd) argument 1318 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 1339 ibv_cmd_modify_qp_ex(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask, struct ibv_modify_qp_ex *cmd, size_t cmd_core_size, size_t cmd_size, struct ibv_modify_qp_resp_ex *resp, size_t resp_core_size, size_t resp_size) argument 1373 struct ibv_post_send *cmd; local 1463 struct ibv_post_recv *cmd; local 1524 struct ibv_post_srq_recv *cmd; local 1587 struct ibv_create_ah cmd; local 1617 struct ibv_destroy_ah cmd; local 1630 struct ibv_destroy_qp cmd; local 1652 struct ibv_attach_mcast cmd; local 1668 struct ibv_detach_mcast cmd; local 1838 struct ibv_create_flow *cmd; local 1895 struct ibv_destroy_flow cmd; local 1908 ibv_cmd_create_wq(struct ibv_context *context, struct ibv_wq_init_attr *wq_init_attr, struct ibv_wq *wq, struct ibv_create_wq *cmd, size_t cmd_core_size, size_t cmd_size, struct ibv_create_wq_resp *resp, size_t resp_core_size, size_t resp_size) argument 1965 ibv_cmd_modify_wq(struct ibv_wq *wq, struct ibv_wq_attr *attr, struct ibv_modify_wq *cmd, size_t cmd_core_size, size_t cmd_size) argument 2000 struct ibv_destroy_wq cmd; local 2024 ibv_cmd_create_rwq_ind_table(struct ibv_context *context, struct ibv_rwq_ind_table_init_attr *init_attr, struct ibv_rwq_ind_table *rwq_ind_table, struct ibv_create_rwq_ind_table *cmd, size_t cmd_core_size, size_t cmd_size, struct ibv_create_rwq_ind_table_resp *resp, size_t resp_core_size, size_t resp_size) argument 2079 struct ibv_destroy_rwq_ind_table cmd; local [all...] |
/freebsd-11-stable/usr.bin/svn/svn/ |
H A D | Makefile | 9 SRCS= add-cmd.c \ 10 auth-cmd.c \ 11 blame-cmd.c \ 12 cat-cmd.c \ 13 changelist-cmd.c \ 14 checkout-cmd.c \ 16 cleanup-cmd.c \ 17 commit-cmd.c \ 19 copy-cmd.c \ 20 delete-cmd [all...] |
/freebsd-11-stable/sys/cam/nvme/ |
H A D | nvme_all.c | 66 nvme_ns_cmd(struct ccb_nvmeio *nvmeio, uint8_t cmd, uint32_t nsid, argument 70 bzero(&nvmeio->cmd, sizeof(struct nvme_command)); 71 nvmeio->cmd.opc = cmd; 72 nvmeio->cmd.nsid = nsid; 73 nvmeio->cmd.cdw10 = cdw10; 74 nvmeio->cmd.cdw11 = cdw11; 75 nvmeio->cmd.cdw12 = cdw12; 76 nvmeio->cmd.cdw13 = cdw13; 77 nvmeio->cmd 110 nvme_op_string(const struct nvme_command *cmd) argument 119 nvme_cmd_string(const struct nvme_command *cmd, char *cmd_string, size_t len) argument [all...] |
/freebsd-11-stable/sys/dev/nvme/ |
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-11-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-11-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-11-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-11-stable/sys/dev/ow/ |
H A D | own.h | 42 own_send_command(device_t pdev, struct ow_cmd *cmd) argument 46 return OWN_SEND_COMMAND(ndev, pdev, cmd); 80 own_self_command(device_t pdev, struct ow_cmd *cmd, uint8_t xpt_cmd) argument 84 memset(cmd, 0, sizeof(*cmd)); 86 cmd->rom_cmd[0] = MATCH_ROM; 87 memcpy(&cmd->rom_cmd[1], mep, sizeof(romid_t)); 88 cmd->rom_len = 1 + sizeof(romid_t); 89 cmd->xpt_cmd[0] = xpt_cmd; 90 cmd 94 own_command_wait(device_t pdev, struct ow_cmd *cmd) argument [all...] |
/freebsd-11-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-11-stable/sbin/nandfs/ |
H A D | nandfs.c | 57 char *cmd; local 62 cmd = argv[1]; 66 if (strcmp(cmd, "lssnap") == 0) 68 else if (strcmp(cmd, "mksnap") == 0) 70 else if (strcmp(cmd, "rmsnap") == 0)
|
/freebsd-11-stable/sbin/ipfw/ |
H A D | ipv6.c | 88 print_ip6(struct buf_pr *bp, ipfw_insn_ip6 *cmd) argument 92 struct in6_addr *a = &(cmd->addr6); 95 len = F_LEN((ipfw_insn *) cmd) - 1; 96 if (cmd->o.opcode == O_IP6_SRC_ME || cmd->o.opcode == O_IP6_DST_ME) { 100 if (cmd->o.opcode == O_IP6) { 113 mb = (cmd->o.opcode == O_IP6_SRC || 114 cmd->o.opcode == O_IP6_DST) ? 128: 141 fill_icmp6types(ipfw_insn_icmp6 *cmd, char *av, int cblen) argument 146 memset(cmd, 168 print_icmp6types(struct buf_pr *bp, ipfw_insn_u32 *cmd) argument 184 print_flow6id(struct buf_pr *bp, ipfw_insn_u32 *cmd) argument 212 fill_ext6hdr( ipfw_insn *cmd, char *av) argument 330 fill_ip6(ipfw_insn_ip6 *cmd, char *av, int cblen, struct tidx *tstate) argument 453 fill_flow6( ipfw_insn_u32 *cmd, char *av, int cblen) argument 483 add_srcip6(ipfw_insn *cmd, char *av, int cblen, struct tidx *tstate) argument 505 add_dstip6(ipfw_insn *cmd, char *av, int cblen, struct tidx *tstate) argument [all...] |
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_power.c | 157 struct iwm_beacon_filter_cmd *cmd) 162 0, sizeof(struct iwm_beacon_filter_cmd), cmd); 167 le32toh(cmd->ba_enable_beacon_abort)); 170 le32toh(cmd->ba_escape_timer)); 173 le32toh(cmd->bf_debug_flag)); 176 le32toh(cmd->bf_enable_beacon_filter)); 179 le32toh(cmd->bf_energy_delta)); 182 le32toh(cmd->bf_escape_timer)); 185 le32toh(cmd->bf_roaming_energy_delta)); 188 le32toh(cmd 156 iwm_mvm_beacon_filter_send_cmd(struct iwm_softc *sc, struct iwm_beacon_filter_cmd *cmd) argument 203 iwm_mvm_beacon_filter_set_cqm_params(struct iwm_softc *sc, struct iwm_node *in, struct iwm_beacon_filter_cmd *cmd) argument 210 iwm_mvm_power_log(struct iwm_softc *sc, struct iwm_mac_power_cmd *cmd) argument 251 iwm_mvm_power_config_skip_dtim(struct iwm_softc *sc, struct iwm_mac_power_cmd *cmd) argument 281 iwm_mvm_power_build_cmd(struct iwm_softc *sc, struct iwm_node *in, struct iwm_mac_power_cmd *cmd) argument 324 struct iwm_mac_power_cmd cmd = {}; local 334 _iwm_mvm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_node *in, struct iwm_beacon_filter_cmd *cmd) argument 351 struct iwm_beacon_filter_cmd cmd = { local 362 struct iwm_beacon_filter_cmd cmd = {}; local 403 struct iwm_beacon_filter_cmd cmd = { local 457 struct iwm_device_power_cmd cmd = { local [all...] |
/freebsd-11-stable/contrib/opie/libopie/ |
H A D | generator.c | 148 char cmd[1+1+1+1+4+1+OPIE_SEED_MAX+1+4+1+4+1+4+1+4+1]; local 209 if ((i = read(s, cmd, sizeof(cmd)-1)) < 0) { 217 cmd[i] = 0; 218 if ((cmd[0] != 'C') || (cmd[1] != '+') || (cmd[2] != ' ')) { 220 syslog(LOG_DEBUG, "opiegenerator: got invalid/failing C+ response: %s\n", cmd); 227 window = strtoul(&cmd[3], &c, 10); 230 syslog(LOG_DEBUG, "opiegenerator: got bogus option response: %s\n", cmd); [all...] |
/freebsd-11-stable/sbin/restore/ |
H A D | interactive.c | 79 char *cmd; /* the current command */ member in struct:arglist 102 char cmd[BUFSIZ]; local 124 getcmd(curdir, cmd, name, sizeof(name), &arglist); 125 switch (cmd[0]) { 130 if (strncmp(cmd, "add", strlen(cmd)) != 0) 143 if (strncmp(cmd, "cd", strlen(cmd)) != 0) 158 if (strncmp(cmd, "delete", strlen(cmd)) ! 303 getcmd(char *curdir, char *cmd, char *name, size_t size, struct arglist *ap) argument [all...] |