| /onnv/onnv-gate/usr/src/lib/libproc/common/ |
| proc_set.c | 75 } ctl; local 80 ctl.zoneid = zoneid; 81 ctl.cmd = PCSZONE; 83 if (write(Pctlfd(Pr), &ctl, sizeof (ctl)) < 0)
|
| Pcontrol.c | 286 (void) strcpy(fname, "ctl"); 630 (void) strcpy(fname, "ctl"); 1181 long *ctl; local 1193 ctl = malloc(sz); 1194 if (ctl == NULL) 1197 ctl[0] = PCSPRIV; 1199 (void) memcpy(&ctl[1], pprv, PRIV_PRPRIV_SIZE(pprv)); 1201 if (write(P->ctlfd, ctl, sz) != sz) 1206 free(ctl); 1336 (void) strcpy(fname, "ctl"); 1638 long ctl[3]; local 1905 long ctl[1 + \/* PCCFAULT *\/ local 2032 long ctl = PCCSIG; local 2044 long ctl = PCCFAULT; local 2057 long ctl[1 + sizeof (priovec_t) \/ sizeof (long) + \/* PCREAD *\/ local 2150 long ctl[ local 2278 long ctl[1 + sizeof (prwatch_t) \/ sizeof (long)]; local 2304 long ctl[1 + sizeof (prwatch_t) \/ sizeof (long)]; local 2336 long ctl[ local 2469 long ctl[2]; local 2489 long ctl[2]; local 3231 long ctl[3]; local 3433 long ctl[1 + \/* PCCFAULT *\/ local 3488 long ctl = PCCSIG; local 3500 long ctl = PCCFAULT; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/syscall/ |
| 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) 90 if ((error = msgio(fdes, ctl, data, &rv, FREAD, &pri, 108 putmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int flags) 132 error = msgio(fdes, ctl, data, &rv, FWRITE, &pri, &realflags); 140 getpmsg(int fdes, struct strbuf *ctl, struct strbuf *data, int *prip [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/lib/msgs/ |
| 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)
|
| 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)
|
| /onnv/onnv-gate/usr/src/uts/common/io/chxge/com/ |
| 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 |= BMCR_SPEED100 189 u32 ctl; local 202 u32 ctl; local [all...] |
| /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/ |
| ptrace.c | 460 long ctl[1 + sizeof (prgregset_t) / sizeof (long)]; local 532 ctl[0] = PCSREG; 533 bcopy(status.pr_reg, &ctl[1], sizeof (prgregset_t)); 535 if (write(fd, &ctl, sizeof (ctl)) != sizeof (ctl)) { 585 } ctl; local 586 struct _fpstate *fp = (struct _fpstate *)&ctl.regs; 593 bcopy(&status.pr_fpreg, &ctl.regs, sizeof (ctl.regs)) 666 } ctl; local 768 } ctl; local 860 } ctl; local 900 long ctl[2]; local 1133 long ctl[1 + 1 + sizeof (siginfo_t) \/ sizeof (long) + 2]; local 1181 long ctl[2]; local 1263 long ctl[2]; local 1420 } ctl; local 1488 long ctl[1 + sizeof (sysset_t) \/ sizeof (long) + 2]; local 1581 long ctl; local 1608 long ctl[2]; local 1763 long ctl[14 + 2 * sizeof (sysset_t) \/ sizeof (long)]; local [all...] |
| /onnv/onnv-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
| ap_sbd.c | 50 sbd_ioctl_arg_t *ctl; local 53 if (a->fd == -1 || a->ctl == NULL) 56 ctl = (sbd_ioctl_arg_t *)a->ctl; 57 ctl->ic_type = type; 58 ctl->ic_name[0] = '\0'; 59 ctl->ic_unit = 0; 60 ctl->i_len = 0; 61 ctl->i_opts = NULL; 63 DBG("ioctl(%d SBD_CMD_GETNCM, 0x%p)\n", a->fd, (void *)ctl); 89 sbd_ioctl_arg_t *ctl; local 534 sbd_ioctl_arg_t *ctl; local 655 sbd_ioctl_arg_t *ctl = (sbd_ioctl_arg_t *)a->ctl; local 691 sbd_ioctl_arg_t ctl; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/streams/log/ |
| 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);
|
| strace.c | 181 struct strbuf ctl, dat; local 189 ctl.buf = cbuf; 190 ctl.maxlen = CTLSIZE; 229 while (getmsg(log, &ctl, &dat, &flag) >= 0) {
|
| strerr.c | 107 struct strbuf ctl; local 116 ctl.buf = cbuf; 117 ctl.maxlen = CTLSIZE; 148 while (getmsg(fd, &ctl, &dat, &flag) >= 0) {
|
| /onnv/onnv-gate/usr/src/uts/intel/dtrace/ |
| fbt.c | 149 fbt_provide_module(void *arg, struct modctl *ctl) 151 struct module *mp = ctl->mod_mp; 155 char *modname = ctl->mod_modname; 168 if (ctl->mod_requisites != NULL) { 171 list = (struct modctl_list *)ctl->mod_requisites; 322 fbt->fbtp_ctl = ctl; 323 fbt->fbtp_loadcnt = ctl->mod_loadcnt; 412 fbt->fbtp_ctl = ctl; 413 fbt->fbtp_loadcnt = ctl->mod_loadcnt; 450 struct modctl *ctl = fbt->fbtp_ctl local 493 struct modctl *ctl = fbt->fbtp_ctl; local 533 struct modctl *ctl = fbt->fbtp_ctl; local 550 struct modctl *ctl = fbt->fbtp_ctl; local 566 struct modctl *ctl = fbt->fbtp_ctl; local 582 struct modctl *ctl = fbt->fbtp_ctl; local [all...] |
| sdt.c | 98 sdt_provide_module(void *arg, struct modctl *ctl) 100 struct module *mp = ctl->mod_mp; 101 char *modname = ctl->mod_modname; 149 sdp->sdp_loadcnt = ctl->mod_loadcnt; 150 sdp->sdp_ctl = ctl; 193 struct modctl *ctl = sdp->sdp_ctl; local 196 if (ctl != NULL && ctl->mod_loadcnt == sdp->sdp_loadcnt) { 197 if ((ctl->mod_loadcnt == sdp->sdp_loadcnt && 198 ctl->mod_loaded)) 236 struct modctl *ctl = sdp->sdp_ctl; local 280 struct modctl *ctl = sdp->sdp_ctl; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sparc/dtrace/ |
| sdt.c | 124 sdt_provide_module(void *arg, struct modctl *ctl) 126 struct module *mp = ctl->mod_mp; 127 char *modname = ctl->mod_modname; 152 primary = vmem_contains(heap_arena, (void *)ctl, 209 sdp->sdp_loadcnt = ctl->mod_loadcnt; 211 sdp->sdp_ctl = ctl; 254 struct modctl *ctl = sdp->sdp_ctl; local 256 if (ctl != NULL && ctl->mod_loadcnt == sdp->sdp_loadcnt) { 257 if ((ctl->mod_loadcnt == sdp->sdp_loadcnt & 276 struct modctl *ctl = sdp->sdp_ctl; local 321 struct modctl *ctl = sdp->sdp_ctl; local [all...] |
| fbt.c | 998 fbt_provide_module(void *arg, struct modctl *ctl) 1000 struct module *mp = ctl->mod_mp; 1001 char *modname = ctl->mod_modname; 1025 if (ctl->mod_requisites != NULL) { 1028 list = (struct modctl_list *)ctl->mod_requisites; 1067 primary = vmem_contains(heap_arena, (void *)ctl, 1468 struct modctl *ctl = fbt->fbtp_ctl; local 1490 struct modctl *ctl = fbt->fbtp_ctl; local 1550 struct modctl *ctl = fbt->fbtp_ctl; local 1573 struct modctl *ctl = fbt->fbtp_ctl; local 1592 struct modctl *ctl = fbt->fbtp_ctl; local 1611 struct modctl *ctl = fbt->fbtp_ctl; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/ |
| sysevent.c | 158 evchan_ctl_t *ctl; local 160 ctl = ddi_get_soft_state(evchan_ctlp, getminor(dev)); 161 if (ctl == NULL || ctl->chp == NULL) 194 return (evch_usrpostevent(ctl->chp, ev, uargs.flags)); 208 evchan_ctl_t *ctl; local 212 ctl = ddi_get_soft_state(evchan_ctlp, getminor(dev)); 213 if (ctl == NULL) { 240 ctl->chp = evch_usrchanopen((const char *)chan_name, 257 evchan_ctl_t *ctl; local 294 evchan_ctl_t *ctl; local 354 evchan_ctl_t *ctl; local 543 evchan_ctl_t *ctl; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| 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)
|
| /onnv/onnv-gate/usr/src/lib/libc/i386/sys/ |
| 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, sizeof (long)+sizeof (fltset_t) 537 long ctl[2]; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/sparc/sys/ |
| 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, sizeof (long)+sizeof (fltset_t) 545 long ctl[2]; local [all...] |
| /onnv/onnv-gate/usr/src/lib/librpcsvc/common/ |
| bindresvport.c | 108 struct strbuf ctl[1], data[1]; local 113 ctl->maxlen = sizeof (ctlbuf); 114 ctl->buf = ctlbuf; 118 if (getmsg(fd, ctl, data, &flags) < 0)
|
| /onnv/onnv-gate/usr/src/lib/libast/common/sfio/ |
| _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);
|
| /onnv/onnv-gate/usr/src/cmd/mdb/sun4u/modules/unix/ |
| unix.c | 515 TRAP_TRACE_CTL *ctls, *ctl; local 531 for (ctl = &ctls[0], i = 0; i < ncpu; i++, ctl++) { 532 if (ctl->d.vaddr_base == 0) 537 mdb_printf(" vaddr_base = 0x%lx\n", (long)ctl->d.vaddr_base); 538 mdb_printf(" last_offset = 0x%x\n", ctl->d.last_offset); 539 mdb_printf(" offset = 0x%x\n", ctl->d.offset); 540 mdb_printf(" limit = 0x%x\n", ctl->d.limit); 541 mdb_printf(" paddr_base = 0x%llx\n", ctl->d.paddr_base); 542 mdb_printf(" asi = 0x%02x\n}\n", ctl->d.asi) 673 TRAP_TRACE_CTL *ctls, *ctl; local 861 TRAP_TRACE_CTL *ctls, *ctl; local 961 TRAP_TRACE_CTL *ctls, *ctl; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/ipf/ |
| 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, a->apr_private) 307 ap_ctl_t ctl; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/arn/ |
| arn_regd.c | 434 uint8_t ctl, 594 chan->conformanceTestLimit[0] = ctl; 596 chan->conformanceTestLimit[1] = ctl; 598 chan->conformanceTestLimit[2] = ctl; 649 uint8_t ctl; local 791 ctl = rd->conformanceTestLimit; 797 ctl = rd->conformanceTestLimit | CTL_11B; 806 ctl = rd->conformanceTestLimit | CTL_11G; 866 maxChan, ctl, 999 uint32_t ctl = NO_CTL local [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Getopt/ |
| Long.pm | 467 my $ctl; # the opctl entry 469 ($found, $opt, $ctl, $arg, $key) = 481 $opt = $ctl->[CTL_CNAME]; 482 print STDERR ("\"$ctl->[CTL_CNAME]\"\n") if $debug; 489 if ( $ctl->[CTL_TYPE] eq '+' ) { 499 elsif ( $ctl->[CTL_DEST] == CTL_DEST_ARRAY ) { 509 elsif ( $ctl->[CTL_DEST] == CTL_DEST_HASH ) { 537 $ctl->[CTL_DEST] == CTL_DEST_HASH ? ", \"$key\"" : "", 545 $ctl->[CTL_DEST] == CTL_DEST_HASH ? ($key) : (), 569 elsif ( $ctl->[CTL_DEST] == CTL_DEST_ARRAY ) [all...] |