/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | mread.c | 69 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 D | mwrite.c | 166 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 D | mlisten.c | 179 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 D | proc_set.c | 75 } ctl; local 80 ctl.zoneid = zoneid; 81 ctl.cmd = PCSZONE; 83 if (write(Pctlfd(Pr), &ctl, sizeof (ctl)) < 0)
|
H A D | Psyscall.c | 244 } 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 D | send.c | 84 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.c | 79 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 D | bindresvport.c | 107 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 D | ctf_labels.c | 32 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 D | strclean.c | 61 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 D | strace.c | 181 struct strbuf ctl, dat; local 189 ctl.buf = cbuf; 190 ctl.maxlen = CTLSIZE; 229 while (getmsg(log, &ctl, &dat, &flag) >= 0) {
|
H A D | strerr.c | 107 struct strbuf ctl; local 116 ctl.buf = cbuf; 117 ctl.maxlen = CTLSIZE; 148 while (getmsg(fd, &ctl, &dat, &flag) >= 0) {
|
/illumos-gate/usr/src/boot/sys/boot/i386/btx/lib/ |
H A D | btxv86.h | 31 uint32_t ctl; /* Control flags */ member in struct:__v86
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_irq.c | 301 drm_control_t ctl; local 304 DRM_COPYFROM_WITH_RETURN(&ctl, (void *)data, sizeof (ctl)); 306 switch (ctl.func) {
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | strcalls.c | 53 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/lib/scsi/libses/common/ |
H A D | ses_snap.c | 30 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/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 229 struct modctl ctl; local 244 mdb_vread(&ctl, sizeof (struct modctl), addr); 245 mdb_vread(&mod, sizeof (struct module), (uintptr_t)ctl.mod_mp);
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_proxy.c | 223 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/uts/common/io/chxge/com/ |
H A D | mv88e1xxx.c | 76 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/common/io/iwi/ |
H A D | ipw2200_hw.c | 374 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/sun4u/io/pci/ |
H A D | pci_iommu.c | 484 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 D | syslog.c | 111 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/lib/libc/i386/sys/ |
H A D | ptrace.c | 71 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 D | syslog.c | 181 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 D | ptrace.c | 71 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...] |