Searched refs:cmd (Results 1 - 25 of 2101) sorted by relevance

1234567891011>>

/freebsd-head/contrib/bmake/
H A Dmetachar.h41 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-head/contrib/ntp/libparse/
H A Dtrim_info.c42 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-head/sys/compat/linuxkpi/common/include/linux/
H A Dioctl.h36 #define _IOC_SIZE(cmd) IOCPARM_LEN(cmd)
/freebsd-head/lib/libc/gen/
H A Dsemctl.c45 int __semctl(int semid, int semnum, int cmd, union semun *arg);
47 int freebsd7___semctl(int semid, int semnum, int cmd, union semun_old *arg);
48 int freebsd7_semctl(int semid, int semnum, int cmd, ...);
52 semctl(int semid, int semnum, int cmd, ...) argument
58 va_start(ap, cmd);
59 if (cmd == IPC_SET || cmd == IPC_STAT || cmd == GETALL
60 || cmd == SETVAL || cmd
73 freebsd7_semctl(int semid, int semnum, int cmd, ...) argument
[all...]
/freebsd-head/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.c68 ng_l2cap_cmd_p cmd = NULL; local
73 TAILQ_FOREACH(cmd, &con->cmd_list, next) {
74 KASSERT((cmd->con == con),
78 if (!(cmd->flags & NG_L2CAP_CMD_PENDING))
82 if (cmd == NULL)
86 m = cmd->aux;
87 cmd->aux = NULL;
90 switch (cmd->code) {
105 ng_l2cap_unlink_cmd(cmd);
106 ng_l2cap_free_cmd(cmd);
246 ng_l2cap_cmd_p cmd = NULL; local
345 ng_l2cap_cmd_p cmd = NULL; local
[all...]
H A Dng_l2cap_misc.h66 #define ng_l2cap_link_cmd(con, cmd) \
68 TAILQ_INSERT_TAIL(&(con)->cmd_list, (cmd), next); \
72 #define ng_l2cap_unlink_cmd(cmd) \
74 TAILQ_REMOVE(&((cmd)->con->cmd_list), (cmd), next); \
75 ng_l2cap_con_unref((cmd)->con); \
78 #define ng_l2cap_free_cmd(cmd) \
80 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \
81 NG_FREE_M((cmd)->aux); \
82 bzero((cmd), sizeo
[all...]
/freebsd-head/tools/tools/perforce/
H A Dawkdiff21 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-head/sys/dev/ath/
H A Dif_ath_ioctl.h34 extern int ath_ioctl(struct ieee80211com *ic, u_long cmd, void *data);
/freebsd-head/sys/mips/nlm/dev/sec/
H A Dnlmseclib.c63 struct xlp_sec_command *cmd)
73 cmd->ctrlp->cipherkeylen, vtophys(cmd->ctrlp));
75 m.msg[1] = nlm_crypto_form_pkt_fmn_entry1(0, cmd->ctrlp->hashkeylen,
76 NLM_CRYPTO_PKT_DESC_SIZE(cmd->nsegs), vtophys(cmd->paramp));
79 m.msg[2] = (uintptr_t)cmd;
95 nlm_crypto_form_srcdst_segs(struct xlp_sec_command *cmd, argument
101 crp = cmd->crp;
106 srcseg = nlm_crypto_fill_src_seg(cmd
62 nlm_crypto_complete_sec_request(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd) argument
167 nlm_crypto_do_cipher(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd, const struct crypto_session_params *csp) argument
191 nlm_crypto_do_digest(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd, const struct crypto_session_params *csp) argument
217 nlm_crypto_do_cipher_digest(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd, const struct crypto_session_params *csp) argument
250 nlm_get_digest_param(struct xlp_sec_command *cmd, const struct crypto_session_params *csp) argument
269 nlm_get_cipher_param(struct xlp_sec_command *cmd, const struct crypto_session_params *csp) argument
[all...]
H A Dnlmsec.c129 print_crypto_params(struct xlp_sec_command *cmd, struct nlm_fmn_msg m) argument
133 msg0 = cmd->ctrlp->desc0;
134 msg1 = cmd->paramp->desc0;
135 msg2 = cmd->paramp->desc1;
136 msg3 = cmd->paramp->desc2;
137 msg4 = cmd->paramp->desc3;
138 msg5 = cmd->paramp->segment[0][0];
139 msg6 = cmd->paramp->segment[0][1];
204 print_cmd(struct xlp_sec_command *cmd) argument
206 printf("session_num :%d\n",cmd
253 struct xlp_sec_command *cmd = NULL; local
454 xlp_copyiv(struct xlp_sec_softc *sc, struct xlp_sec_command *cmd, const struct crypto_session_params *csp) argument
507 xlp_alloc_cmd_params(struct xlp_sec_command *cmd, unsigned int nsegs) argument
549 xlp_free_cmd_params(struct xlp_sec_command *cmd) argument
569 struct xlp_sec_command *cmd = NULL; local
[all...]
/freebsd-head/contrib/ofed/libibverbs/
H A Dibverbs.h67 #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 Dcmd.c47 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-head/usr.bin/svn/svn/
H A DMakefile9 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-head/tests/sys/cddl/zfs/bin/
H A Dzfs_crypto.ksh32 cmd=$1
36 case $cmd in
59 print $cmd $options
H A Dzfs_version.ksh32 cmd=$1
56 case $cmd in
68 print "$cmd $options"
/freebsd-head/contrib/netbsd-tests/bin/sh/dotcmd/
H A Dscoped_command57 # 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-head/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c39 struct nvme_command *cmd; local
44 cmd = &req->cmd;
45 cmd->opc = NVME_OPC_IDENTIFY;
51 cmd->cdw10 = htole32(1);
61 struct nvme_command *cmd; local
66 cmd = &req->cmd;
67 cmd->opc = NVME_OPC_IDENTIFY;
72 cmd
82 struct nvme_command *cmd; local
106 struct nvme_command *cmd; local
130 struct nvme_command *cmd; local
151 struct nvme_command *cmd; local
174 struct nvme_command *cmd; local
196 struct nvme_command *cmd; local
262 struct nvme_command *cmd; local
322 struct nvme_command *cmd; local
[all...]
/freebsd-head/contrib/gdb/gdb/mi/
H A Dmi-parse.h37 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-head/contrib/wpa/src/utils/
H A Dedit.h12 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-head/sys/dev/ow/
H A Down.h41 own_send_command(device_t pdev, struct ow_cmd *cmd) argument
45 return OWN_SEND_COMMAND(ndev, pdev, cmd);
79 own_self_command(device_t pdev, struct ow_cmd *cmd, uint8_t xpt_cmd) argument
83 memset(cmd, 0, sizeof(*cmd));
85 cmd->rom_cmd[0] = MATCH_ROM;
86 memcpy(&cmd->rom_cmd[1], mep, sizeof(romid_t));
87 cmd->rom_len = 1 + sizeof(romid_t);
88 cmd->xpt_cmd[0] = xpt_cmd;
89 cmd
93 own_command_wait(device_t pdev, struct ow_cmd *cmd) argument
[all...]
/freebsd-head/tools/regression/zfs/
H A Dmisc.sh27 # 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-head/sys/cam/nvme/
H A Dnvme_all.c67 nvme_ns_cmd(struct ccb_nvmeio *nvmeio, uint8_t cmd, uint32_t nsid, argument
71 bzero(&nvmeio->cmd, sizeof(struct nvme_command));
72 nvmeio->cmd.opc = cmd;
73 nvmeio->cmd.nsid = htole32(nsid);
74 nvmeio->cmd.cdw10 = htole32(cdw10);
75 nvmeio->cmd.cdw11 = htole32(cdw11);
76 nvmeio->cmd.cdw12 = htole32(cdw12);
77 nvmeio->cmd.cdw13 = htole32(cdw13);
78 nvmeio->cmd
131 nvme_op_string(const struct nvme_command *cmd, int admin) argument
144 nvme_cmd_string(const struct nvme_command *cmd, char *cmd_string, size_t len) argument
163 nvme_cmd_sbuf(const struct nvme_command *cmd, struct sbuf *sb) argument
[all...]
/freebsd-head/contrib/bearssl/tools/
H A Dbrssl.c60 char *cmd; local
78 cmd = argv[1];
79 if (eqstr(cmd, "client")) {
83 } else if (eqstr(cmd, "server")) {
87 } else if (eqstr(cmd, "verify")) {
91 } else if (eqstr(cmd, "skey")) {
95 } else if (eqstr(cmd, "ta")) {
99 } else if (eqstr(cmd, "chain")) {
103 } else if (eqstr(cmd, "twrch")) {
112 } else if (eqstr(cmd, "imp
[all...]
/freebsd-head/sbin/nvmecontrol/
H A Dcomnd.h52 // we then need to allocate ctx and pass that into the cmd
73 struct cmd;
74 typedef void (cmd_fn_t)(const struct cmd *nf, int argc, char *argv[]);
76 struct cmd { struct
77 SLIST_ENTRY(cmd) link;
84 SLIST_HEAD(,cmd) subcmd;
85 struct cmd *parent;
88 void cmd_register(struct cmd *, struct cmd *);
96 int arg_parse(int argc, char * const *argv, const struct cmd *
[all...]
/freebsd-head/sbin/ipfw/
H A Dipv6.c88 print_ip6(struct buf_pr *bp, const ipfw_insn_ip6 *cmd) argument
92 const struct in6_addr *a = &(cmd->addr6);
95 len = F_LEN((const 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:
142 fill_icmp6types(ipfw_insn_icmp6 *cmd, char *av, int cblen) argument
147 memset(cmd,
169 print_icmp6types(struct buf_pr *bp, const ipfw_insn_u32 *cmd) argument
185 print_flow6id(struct buf_pr *bp, const ipfw_insn_u32 *cmd) argument
213 fill_ext6hdr( ipfw_insn *cmd, char *av) argument
331 fill_ip6(ipfw_insn_ip6 *cmd, char *av, int cblen, struct tidx *tstate) argument
450 fill_flow6( ipfw_insn_u32 *cmd, char *av, int cblen) argument
481 add_srcip6(ipfw_insn *cmd, char *av, int cblen, struct tidx *tstate) argument
503 add_dstip6(ipfw_insn *cmd, char *av, int cblen, struct tidx *tstate) argument
[all...]

Completed in 122 milliseconds

1234567891011>>