Searched defs:ctl (Results 1 - 25 of 74) sorted by relevance

123

/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmread.c69 struct strbuf ctl; local
90 ctl.buf = buff;
91 ctl.maxlen = sizeof (buff);
92 ctl.len = 0;
96 if (Getmsg(md, &ctl, &dat, &flag) < 0)
H A Dmwrite.c166 struct strbuf ctl; local
180 ctl.buf = "xyzzy";
181 ctl.maxlen = ctl.len = strlen(ctl.buf)+1;
187 if (Putmsg(md, &ctl, &dat, flag) == 0)
H A Dmlisten.c179 struct strbuf ctl; local
187 ctl.buf = cbuff;
188 ctl.maxlen = sizeof (cbuff);
310 while (Getmsg(mdp, &ctl, &ctl, &flag) >= 0);
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_set.c75 } ctl; local
80 ctl.zoneid = zoneid;
81 ctl.cmd = PCSZONE;
83 if (write(Pctlfd(Pr), &ctl, sizeof (ctl)) < 0)
H A DPsyscall.c244 } ctl; local
264 ctl.cmd = PCSSIG;
265 ctl.siginfo = P->status.pr_lwp.pr_info;
278 (void) write(ctlfd, &ctl, sizeof (ctl));
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsend.c84 struct strbuf ctl; local
128 ctl.maxlen = sizeof (struct log_ctl);
129 ctl.len = sizeof (struct log_ctl);
130 ctl.buf = (caddr_t)&hdr;
140 if (_putmsg(s, &ctl, &dat, 0) == 0)
/illumos-gate/usr/src/lib/libast/common/sfio/
H A D_sfopen.c79 int ctl = sysfcntlf(f->file, F_GETFL, 0); local
80 ctl = (ctl & ~(O_TEXT|O_BINARY|O_APPEND)) | oflags;
81 sysfcntlf(f->file, F_SETFL, ctl);
/illumos-gate/usr/src/lib/librpcsvc/common/
H A Dbindresvport.c107 struct strbuf ctl[1], data[1]; local
112 ctl->maxlen = sizeof (ctlbuf);
113 ctl->buf = ctlbuf;
117 if (getmsg(fd, ctl, data, &flags) < 0)
/illumos-gate/usr/src/common/ctf/
H A Dctf_labels.c32 extract_label_info(ctf_file_t *fp, const ctf_lblent_t **ctl, uint_t *num_labels) argument
45 *ctl = (const ctf_lblent_t *)(fp->ctf_buf + h->cth_lbloff);
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrclean.c61 struct strbuf ctl, dat; local
115 ctl.len = sizeof (struct log_ctl);
116 ctl.maxlen = sizeof (struct log_ctl);
117 ctl.buf = (caddr_t)&lctl;
127 putmsg(fd, &ctl, &dat, 0);
H A Dstrace.c181 struct strbuf ctl, dat; local
189 ctl.buf = cbuf;
190 ctl.maxlen = CTLSIZE;
229 while (getmsg(log, &ctl, &dat, &flag) >= 0) {
H A Dstrerr.c107 struct strbuf ctl; local
116 ctl.buf = cbuf;
117 ctl.maxlen = CTLSIZE;
148 while (getmsg(fd, &ctl, &dat, &flag) >= 0) {
/illumos-gate/usr/src/uts/common/syscall/
H A Dstrcalls.c53 int getmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *flagsp);
54 int putmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int flags);
55 int getpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *prip,
57 int putpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int pri,
60 static int msgio(int fdes, struct strbuf *ctl, struct strbuf *data, int *rval,
64 getmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *flagsp) argument
90 if ((error = msgio(fdes, ctl, data, &rv, FREAD, &pri,
108 putmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int flags) argument
132 error = msgio(fdes, ctl, data, &rv, FWRITE, &pri, &realflags);
140 getpmsg(int fdes, struct strbuf *ctl, struc argument
168 putpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int intpri, int flags) argument
190 msgio(int fdes, struct strbuf *ctl, struct strbuf *data, int *rval, int mode, unsigned char *prip, int *flagsp) argument
293 getmsg32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int32_t *flagsp) argument
337 putmsg32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int32_t flags) argument
369 getpmsg32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int32_t *prip, int32_t *flagsp) argument
397 putpmsg32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int32_t intpri, int32_t flags) argument
419 msgio32(int fdes, struct strbuf32 *ctl, struct strbuf32 *data, int *rval, int mode, unsigned char *prip, int *flagsp) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/btx/lib/
H A Dbtxv86.h35 uint32_t ctl; /* Control flags */ member in struct:__v86
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c30 ses_snap_find_page(ses_snap_t *sp, ses2_diag_page_t page, boolean_t ctl) argument
35 if (pp->ssp_num == page && pp->ssp_control == ctl &&
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200_hw.c374 uint32_t src, dst, ctl, len, sum, off; local
433 ctl = IPW2200_CB_DEFAULT_CTL | mlen;
434 sum = ctl ^ src ^ dst;
438 ipw2200_csr_put32(sc, IPW2200_CSR_AUTOINC_DATA, ctl);
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dmv88e1xxx.c76 u32 ctl; local
82 (void) simple_mdio_read(cphy, MII_BMCR, &ctl);
83 ctl &= BMCR_RESET;
84 if (ctl)
86 } while (ctl && --time_out);
88 return ctl ? -1 : 0;
155 u32 ctl; local
157 (void) simple_mdio_read(phy, MII_BMCR, &ctl);
159 ctl &= ~(BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE);
161 ctl |
189 u32 ctl; local
202 u32 ctl; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_iommu.c484 uint64_t ctl = *iommu_p->iommu_ctrl_reg; local
494 obp_tsb_size = IOMMU_CTL_TO_TSBSIZE(ctl);
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/
H A Dsyslog.c111 struct strbuf ctl, dat; local
124 ctl.buf = (void *)&syslog_ctl;
125 ctl.len = sizeof (syslog_ctl);
161 if (syslog_file && putmsg(syslog_logfd, &ctl, &dat, 0) != 0) {
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_proxy.c223 int appr_ctl(ctl, ifs)
224 ap_ctl_t *ctl;
230 a = appr_lookup(ctl->apc_p, ctl->apc_label, ifs);
234 ctl->apc_label, ctl->apc_p);
238 printf("appr_ctl: no ctl function for %s/%d\n",
239 ctl->apc_label, ctl->apc_p);
242 error = (*a->apr_ctl)(a, ctl,
307 ap_ctl_t ctl; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/
H A Dkrtld.c227 struct modctl ctl; local
242 mdb_vread(&ctl, sizeof (struct modctl), addr);
243 mdb_vread(&mod, sizeof (struct module), (uintptr_t)ctl.mod_mp);
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dptrace.c71 int ctlfd; /* /proc/<pid>/ctl */
153 } ctl; local
168 char procname[64]; /* /proc/<pid>/ctl */
172 (void) strcat(procname, "/ctl");
175 ctl.cmd = PCSTRACE;
176 prfillset(&ctl.arg.signals);
177 if (write(fd, (char *)&ctl, sizeof (long)+sizeof (sigset_t))
180 ctl.cmd = PCSFAULT;
181 premptyset(&ctl.arg.faults);
182 if (write(fd, (char *)&ctl, sizeo
537 long ctl[2]; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsyslog.c181 struct strbuf ctl; local
333 ctl.maxlen = sizeof (struct log_ctl);
334 ctl.len = sizeof (struct log_ctl);
335 ctl.buf = (caddr_t)&hdr;
341 if ((putmsg(LogFile, &ctl, &dat, 0) >= 0) && syslogd_ok())
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Dptrace.c71 int ctlfd; /* /proc/<pid>/ctl */
153 } ctl; local
168 char procname[64]; /* /proc/<pid>/ctl */
172 (void) strcat(procname, "/ctl");
175 ctl.cmd = PCSTRACE;
176 prfillset(&ctl.arg.signals);
177 if (write(fd, (char *)&ctl, sizeof (long)+sizeof (sigset_t))
180 ctl.cmd = PCSFAULT;
181 premptyset(&ctl.arg.faults);
182 if (write(fd, (char *)&ctl, sizeo
545 long ctl[2]; local
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txc.c856 txc_ro_ctl_t ctl; local
897 TXC_FZC_CNTL_REG_READ64(handle, TXC_RO_CTL_REG, port, &ctl.value);
904 states->roecc.value = ctl.value;
909 states->ctl.value = ctl.value;
912 ctl.bits.ldw.clr_fail_state = 1;
913 TXC_FZC_CNTL_REG_WRITE64(handle, TXC_RO_CTL_REG, port, ctl.value);

Completed in 238 milliseconds

123