Home
last modified time | relevance | path

Searched refs:xcmd (Results 1 – 8 of 8) sorted by relevance

/NextBSD/contrib/ntp/ntpdc/
HDntpdc.c84 static int findcmd (char *, struct xcmd *, struct xcmd *, struct xcmd **);
89 static void printusage (struct xcmd *, FILE *);
111 static struct xcmd builtins[] = {
242 extern struct xcmd opcmds[];
1124 struct xcmd *xcmd; in docmd() local
1142 i = findcmd(tokens[0], builtins, opcmds, &xcmd); in docmd()
1160 for (i = 0; i < MAXARGS && xcmd->arg[i] != NO;) { in docmd()
1162 if (!(xcmd->arg[i] & OPT)) { in docmd()
1163 printusage(xcmd, stderr); in docmd()
1168 if ((xcmd->arg[i] & OPT) && (*tokens[i+ti] == '>')) in docmd()
[all …]
HDntpdc.h54 struct xcmd { struct
HDntpdc_ops.c95 struct xcmd opcmds[] = {
/NextBSD/contrib/ntp/ntpq/
HDntpq.c184 static int findcmd (const char *, struct xcmd *,
185 struct xcmd *, struct xcmd **);
190 static void printusage (struct xcmd *, FILE *);
235 struct xcmd builtins[] = {
408 extern struct xcmd opcmds[];
1494 struct xcmd *xcmd; in docmd() local
1506 i = findcmd(tokens[0], builtins, opcmds, &xcmd); in docmd()
1528 for (i = 0; i < MAXARGS && xcmd->arg[i] != NO; i++) { in docmd()
1530 if (!(xcmd->arg[i] & OPT)) { in docmd()
1531 printusage(xcmd, stderr); in docmd()
[all …]
HDntpq.h90 struct xcmd { struct
HDntpq-subs.c85 struct xcmd opcmds[] = {
/NextBSD/sys/dev/sound/pcm/
HDdsp.c1072 u_long xcmd; in dsp_ioctl() local
1083 xcmd = 0; in dsp_ioctl()
1809 if (xcmd == 0) { in dsp_ioctl()
1810 xcmd = SOUND_MIXER_READ_RECLEV; in dsp_ioctl()
1815 if (xcmd == 0) { in dsp_ioctl()
1816 xcmd = SOUND_MIXER_WRITE_RECLEV; in dsp_ioctl()
1821 if (xcmd == 0) { in dsp_ioctl()
1822 xcmd = SOUND_MIXER_READ_PCM; in dsp_ioctl()
1827 if (xcmd == 0) { in dsp_ioctl()
1828 xcmd = SOUND_MIXER_WRITE_PCM; in dsp_ioctl()
[all …]
/NextBSD/sys/ofed/drivers/infiniband/core/
HDuverbs_cmd.c2888 struct ib_uverbs_create_xsrq xcmd; in ib_uverbs_create_srq() local
2899 xcmd.response = cmd.response; in ib_uverbs_create_srq()
2900 xcmd.user_handle = cmd.user_handle; in ib_uverbs_create_srq()
2901 xcmd.srq_type = IB_SRQT_BASIC; in ib_uverbs_create_srq()
2902 xcmd.pd_handle = cmd.pd_handle; in ib_uverbs_create_srq()
2903 xcmd.max_wr = cmd.max_wr; in ib_uverbs_create_srq()
2904 xcmd.max_sge = cmd.max_sge; in ib_uverbs_create_srq()
2905 xcmd.srq_limit = cmd.srq_limit; in ib_uverbs_create_srq()
2911 ret = __uverbs_create_xsrq(file, &xcmd, &udata); in ib_uverbs_create_srq()