Searched refs:ctl (Results 1 - 25 of 178) sorted by relevance

12345678

/freebsd-11.0-release/lib/libc/db/test/hash.tests/
H A Dtread2.c64 HASHINFO ctl; local
69 ctl.nelem = INITIAL;
70 ctl.hash = NULL;
71 ctl.bsize = 64;
72 ctl.ffactor = 1;
73 ctl.cachesize = atoi(*argv++);
74 ctl.lorder = 0;
75 if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) {
H A Dtverify.c64 HASHINFO ctl; local
70 ctl.nelem = INITIAL;
71 ctl.hash = NULL;
72 ctl.bsize = 64;
73 ctl.ffactor = 1;
74 ctl.cachesize = 1024 * 1024; /* 1 MEG */
75 ctl.lorder = 0;
76 if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) {
H A Dtcreat3.c60 HASHINFO ctl; local
67 ctl.hash = NULL;
68 ctl.bsize = atoi(*argv++);
69 ctl.ffactor = atoi(*argv++);
70 ctl.nelem = atoi(*argv++);
71 ctl.lorder = 0;
73 O_CREAT|O_TRUNC|O_RDWR, 0600, DB_HASH, &ctl))){
H A Dtdel.c61 HASHINFO ctl; local
68 ctl.nelem = INITIAL;
69 ctl.hash = NULL;
70 ctl.bsize = atoi(*argv++);
71 ctl.ffactor = atoi(*argv++);
72 ctl.cachesize = 1024 * 1024; /* 1 MEG */
73 ctl.lorder = 0;
75 if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
H A Dthash4.c63 HASHINFO ctl; local
71 ctl.hash = NULL;
72 ctl.bsize = atoi(*argv++);
73 ctl.ffactor = atoi(*argv++);
74 ctl.nelem = atoi(*argv++);
75 ctl.cachesize = atoi(*argv++);
76 ctl.lorder = 0;
77 if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
/freebsd-11.0-release/usr.sbin/bhyve/
H A Dfwctl.h38 struct ctl { struct
45 static struct ctl __CONCAT(__ctl, __LINE__) = { \
/freebsd-11.0-release/tools/tools/netmap/
H A DMakefile6 PROGS = pkt-gen bridge vale-ctl
31 vale-ctl: vale-ctl.o
32 $(CC) $(CFLAGS) -o vale-ctl vale-ctl.o
/freebsd-11.0-release/contrib/amd/scripts/
H A DMakefile.am11 ctl-amd \
12 ctl-hlfsd \
35 ctl-amd.in \
36 ctl-hlfsd.in \
H A Dctl-amd.in3 # usage: ctl-amd [start|stop|status|restart|condrestart|reload]
111 ctl-amd stop
118 ctl-amd start
124 ctl-amd stop
125 ctl-amd start
/freebsd-11.0-release/contrib/ipfilter/ipsend/
H A Ddlcommon.c49 struct strbuf ctl; local
54 ctl.maxlen = 0;
55 ctl.len = sizeof (info_req);
56 ctl.buf = (char *) &info_req;
60 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
70 struct strbuf ctl; local
73 ctl.maxlen = MAXDLBUF;
74 ctl.len = 0;
75 ctl.buf = bufp;
77 strgetmsg(fd, &ctl, (struc
99 struct strbuf ctl; local
123 struct strbuf ctl; local
152 struct strbuf ctl; local
179 struct strbuf ctl; local
202 struct strbuf ctl; local
224 struct strbuf ctl; local
248 struct strbuf ctl; local
274 struct strbuf ctl; local
299 struct strbuf ctl; local
330 struct strbuf data, ctl; local
359 struct strbuf ctl; local
380 struct strbuf ctl; local
409 struct strbuf ctl; local
438 struct strbuf ctl; local
464 struct strbuf ctl; local
[all...]
/freebsd-11.0-release/usr.sbin/nandsim/
H A Dnandsim.c196 /* If --all or -a is specified, ctl==chip==0xff */
281 int chip = 0, ctl = 0, err = 0, fd, idx, idx2, start, stop; local
286 err = parse_devstring(gargv[2], &ctl, &chip);
289 } else if (ctl == 0xff) {
295 start = ctl;
296 stop = ctl;
351 int chip = 0, ctl = 0, err = 0, fd, running, state; local
353 err = parse_devstring(gargv[2], &ctl, &chip);
357 err = is_ctrl_created(ctl, &state);
361 error(MSG_NOCTRL, ctl);
388 int chip = 0, ctl = 0, err = 0, fd, running; local
418 int chip, ctl, err = 0, fd = -1, i; local
520 int chip = 0, ctl = 0, err = 0, fd; local
567 int c, cdevd, chip = 0, ctl = 0, err = 0, fd, idx; local
662 int chip = 0, ctl = 0, err = 0, fd, i, start = 0, state, stop = 0; local
719 int chip = 0, ctl = 0, err = 0, fd, idx, start = 0, stop = 0; local
770 int cdevd, chip = 0, ctl = 0, err = 0; local
807 int chip = 0, ctl = 0, err = EX_OK, fd, dumpfd; local
935 int chip = 0, ctl = 0, err = 0, fd, dumpfd = -1; local
1073 int chip = 0, ctl = 0, err = 0, fd, idx, idx2, state; local
[all...]
/freebsd-11.0-release/sys/dev/sound/pci/hda/
H A Dhdaa.h209 struct hdaa_audio_ctl *ctl; member in struct:hdaa_devinfo
243 #define MINQDB(ctl) \
244 ((0 - (ctl)->offset) * ((ctl)->size + 1))
246 #define MAXQDB(ctl) \
247 (((ctl)->step - (ctl)->offset) * ((ctl)->size + 1))
249 #define RANGEQDB(ctl) \
250 ((ctl)
[all...]
H A Dhdaa.c203 index == NULL || devinfo->ctl == NULL ||
207 return (&devinfo->ctl[(*index)++]);
214 struct hdaa_audio_ctl *ctl; local
217 if (devinfo == NULL || devinfo->ctl == NULL)
221 while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
222 if (ctl->enable == 0)
224 if (ctl->widget->nid != nid)
226 if (dir && ctl->ndir != dir)
228 if (index >= 0 && ctl->ndir == HDAA_CTL_IN &&
229 ctl
384 struct hdaa_audio_ctl *ctl; local
1675 hdaa_audio_ctl_amp_set(struct hdaa_audio_ctl *ctl, uint32_t mute, int left, int right) argument
2321 hdaa_audio_ctl_dev_set(struct hdaa_audio_ctl *ctl, int ossdev, int mute, int *left, int *right) argument
2355 struct hdaa_audio_ctl *ctl; local
2432 struct hdaa_audio_ctl *ctl; local
2682 struct hdaa_audio_ctl *ctl; local
2758 struct hdaa_audio_ctl *ctl; local
4152 struct hdaa_audio_ctl *ctl; local
4286 struct hdaa_audio_ctl *ctl; local
4415 struct hdaa_audio_ctl *ctl; local
4517 struct hdaa_audio_ctl *ctl; local
4624 struct hdaa_audio_ctl *ctl; local
5105 struct hdaa_audio_ctl *ctl; local
5551 struct hdaa_audio_ctl *ctl; local
6111 struct hdaa_audio_ctl *ctl; local
[all...]
/freebsd-11.0-release/contrib/libpcap/
H A Dpcap-enet.c150 struct eniocb ctl; local
170 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) {
178 ctl.en_rtout = 1 * ctl.en_hz;
179 ctl.en_tr_etherhead = 1;
180 ctl.en_tap_network = 1;
181 ctl.en_multi_packet = 1;
182 ctl.en_maxlen = BUFSPACE;
184 ctl.en_rtout = 64; /* randomly picked value for HZ */
186 if (ioctl(if_fd, EIOCSETP, &ctl)
[all...]
H A Dpcap-dlpi.c171 static struct strbuf ctl = { variable in typeref:struct:strbuf
216 if (getmsg(p->fd, &ctl, &data, &flags) < 0) {
1009 struct strbuf ctl; local
1012 ctl.maxlen = 0;
1013 ctl.len = len;
1014 ctl.buf = ptr;
1017 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) {
1030 struct strbuf ctl; local
1040 ctl.maxlen = MAXDLBUF;
1041 ctl
1385 struct strbuf ctl, data; local
1494 struct strbuf ctl; local
[all...]
/freebsd-11.0-release/sys/x86/x86/
H A Dmca.c528 uint64_t ctl; local
534 ctl = rdmsr(MSR_MC_CTL2(bank));
545 limit = ctl & MC_CTL2_THRESHOLD;
549 ctl &= ~MC_CTL2_THRESHOLD;
550 ctl |= limit;
581 if ((ctl & MC_CTL2_THRESHOLD) != limit) {
582 ctl &= ~MC_CTL2_THRESHOLD;
583 ctl |= limit;
804 uint64_t ctl; local
808 ctl
816 wrmsr(MSR_MC_CTL2(i), ctl); local
827 wrmsr(MSR_MC_CTL2(i), ctl); local
834 wrmsr(MSR_MC_CTL2(i), ctl); local
848 uint64_t ctl; local
861 wrmsr(MSR_MC_CTL2(i), ctl); local
873 uint64_t ctl, mask; local
924 wrmsr(MSR_MC_CTL(i), ctl); local
[all...]
/freebsd-11.0-release/usr.bin/talk/
H A DMakefile5 SRCS= ctl.c ctl_transact.c display.c get_addrs.c get_iface.c get_names.c \
/freebsd-11.0-release/usr.sbin/ctladm/
H A DMakefile5 .PATH: ${.CURDIR}/../../sys/cam/ctl
/freebsd-11.0-release/sys/modules/ctl/
H A DMakefile1 # $FreeBSD: releng/11.0/sys/modules/ctl/Makefile 287621 2015-09-10 12:40:31Z mav $
3 .PATH: ${.CURDIR}/../../cam/ctl
5 KMOD= ctl
7 SRCS= ctl.c
/freebsd-11.0-release/sys/cam/ctl/
H A Dctl_tpc_local.c29 __FBSDID("$FreeBSD: releng/11.0/sys/cam/ctl/ctl_tpc_local.c 288221 2015-09-25 18:15:34Z mav $");
47 #include <cam/ctl/ctl_io.h>
48 #include <cam/ctl/ctl.h>
49 #include <cam/ctl/ctl_frontend.h>
50 #include <cam/ctl/ctl_util.h>
51 #include <cam/ctl/ctl_backend.h>
52 #include <cam/ctl/ctl_ioctl.h>
53 #include <cam/ctl/ctl_ha.h>
54 #include <cam/ctl/ctl_privat
[all...]
H A Dctl_backend.c30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_backend.c#3 $
39 __FBSDID("$FreeBSD: releng/11.0/sys/cam/ctl/ctl_backend.c 288211 2015-09-25 07:27:23Z mav $");
54 #include <cam/ctl/ctl_io.h>
55 #include <cam/ctl/ctl.h>
56 #include <cam/ctl/ctl_frontend.h>
57 #include <cam/ctl/ctl_backend.h>
58 #include <cam/ctl/ctl_ioctl.h>
59 #include <cam/ctl/ctl_ha.h>
60 #include <cam/ctl/ctl_privat
[all...]
H A Dctl_frontend_ioctl.c30 __FBSDID("$FreeBSD: releng/11.0/sys/cam/ctl/ctl_frontend_ioctl.c 298810 2016-04-29 21:05:48Z pfg $");
48 #include <cam/ctl/ctl_io.h>
49 #include <cam/ctl/ctl.h>
50 #include <cam/ctl/ctl_frontend.h>
51 #include <cam/ctl/ctl_util.h>
52 #include <cam/ctl/ctl_backend.h>
53 #include <cam/ctl/ctl_ioctl.h>
54 #include <cam/ctl/ctl_ha.h>
55 #include <cam/ctl/ctl_privat
[all...]
/freebsd-11.0-release/tools/tools/net80211/wesside/dics/
H A Ddics.c115 } ctl; local
121 memset(&ctl, 0, sizeof(ctl));
126 msg.msg_control = &ctl;
127 msg.msg_controllen = sizeof(ctl);
138 if ( ctl.hdr.cmsg_level != IPPROTO_IP ||
140 ctl.hdr.cmsg_type != IP_TTL
142 ctl.hdr.cmsg_type != IP_RECVTTL
147 ctl.hdr.cmsg_len, ctl
[all...]
/freebsd-11.0-release/sys/boot/i386/common/
H A Ddrv.c39 v86.ctl = V86_FLAGS;
70 v86.ctl = V86_FLAGS;
77 v86.ctl = V86_ADDR | V86_CALLF | V86_FLAGS;
104 v86.ctl = V86_FLAGS;
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Host/freebsd/
H A DHostThreadFreeBSD.cpp47 int ctl[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PID | KERN_PROC_INC_THREAD, (int)pid}; local
51 error = sysctl(ctl, 4, kp, &len, nullptr, 0);

Completed in 132 milliseconds

12345678