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

/osnet-11/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 DPcontrol.c285 (void) strcpy(fname, "ctl");
624 (void) strcpy(fname, "ctl");
1182 long *ctl; local
1194 ctl = malloc(sz);
1195 if (ctl == NULL)
1198 ctl[0] = PCSPRIV;
1200 (void) memcpy(&ctl[1], pprv, PRIV_PRPRIV_SIZE(pprv));
1202 if (write(P->ctlfd, ctl, sz) != sz)
1207 free(ctl);
1337 (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...]
H A DPsyscall.c237 } ctl; local
257 ctl.cmd = PCSSIG;
258 ctl.siginfo = P->status.pr_lwp.pr_info;
271 (void) write(ctlfd, &ctl, sizeof (ctl));
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c47 sbd_ioctl_arg_t *ctl; local
50 if (a->fd == -1 || a->ctl == NULL)
53 ctl = (sbd_ioctl_arg_t *)a->ctl;
54 ctl->ic_type = type;
55 ctl->ic_name[0] = '\0';
56 ctl->ic_unit = 0;
57 ctl->i_len = 0;
58 ctl->i_opts = NULL;
60 DBG("ioctl(%d SBD_CMD_GETNCM, 0x%p)\n", a->fd, (void *)ctl);
86 sbd_ioctl_arg_t *ctl; local
531 sbd_ioctl_arg_t *ctl; local
652 sbd_ioctl_arg_t *ctl = (sbd_ioctl_arg_t *)a->ctl; local
688 sbd_ioctl_arg_t ctl; local
[all...]
H A Dap.h122 void *ctl; member in struct:__anon906
/osnet-11/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...]
/osnet-11/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...]
/osnet-11/usr/src/lib/librpcsvc/common/
H A Dbindresvport.c104 struct strbuf ctl[1], data[1]; local
109 ctl->maxlen = sizeof (ctlbuf);
110 ctl->buf = ctlbuf;
114 if (getmsg(fd, ctl, data, &flags) < 0)
/osnet-11/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);
/osnet-11/usr/src/lib/watchmalloc/common/
H A Dmalloc.c1328 if ((ctlfd = open("/proc/self/ctl", O_WRONLY)) < 0 ||
1345 } ctl; local
1351 premptyset(&ctl.fltset);
1355 ctl.fltset = pstatus.pr_flttrace;
1358 praddset(&ctl.fltset, FLTWATCH);
1359 ctl.cmd = PCSFAULT;
1360 (void) write(ctlfd, &ctl, sizeof (ctl));
1380 if ((ctlfd = open("/proc/self/ctl", O_WRONLY)) < 0 ||
1407 ctl_t ctl; local
1431 ctl_t ctl; local
[all...]
/osnet-11/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())
/osnet-11/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c1322 struct strbuf ctl; local
1326 ctl.buf = (void *)dlreqp->dlm_msg;
1327 ctl.len = dlreqp->dlm_msgsz;
1333 retval = putmsg(fd, (dlreqp == NULL ? NULL: &ctl),
1367 struct strbuf ctl, data; local
1389 ctl.buf = (dlreplyp == NULL) ? bufc : (void *)dlreplyp->dlm_msg;
1390 ctl.len = 0;
1391 ctl.maxlen = (dlreplyp == NULL) ? sizeof (bufc) : dlreplyp->dlm_msgsz;
1413 if ((retval = getmsg(fd, &ctl, &data, &flags)) < 0)
1455 ctl
[all...]
/osnet-11/usr/src/cmd/ldap/common/
H A Dcommon.c1705 LDAPControl *ctl; local
1711 if (( ctl = (LDAPControl *)calloc( 1, sizeof( LDAPControl ))) == NULL ||
1712 ( ctl->ldctl_oid = strdup( LDAP_CONTROL_MANAGEDSAIT )) == NULL ) {
1717 ctl->ldctl_iscritical = 1;
1719 return( ctl );
1728 LDAPControl *ctl = NULL; local
1736 rc = ldap_create_proxiedauth_control( ld, proxyauth_id, &ctl);
1738 rc = ldap_create_proxyauth_control( ld, proxyauth_id, 1, &ctl);
1742 if (ctl)
1743 ldap_control_free( ctl);
1754 LDAPControl *ctl = NULL; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Getopt/
H A DLong.pm467 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
[all...]
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dctl_p.c45 #include <isc/ctl.h>
H A Dctl_clnt.c46 #include <isc/ctl.h>
H A Dctl_srvr.c48 #include <isc/ctl.h>
/osnet-11/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c2546 struct zs_ctl *ctl = (struct zs_ctl *)ctlin; local
2548 (void) close(ctl->zsctl_door);
2549 zs_usage_free((zs_usage_t)ctl->zsctl_start);
2550 free(ctl);
2560 zs_usage_read_internal(struct zs_ctl *ctl, int init) argument
2574 fd = ctl->zsctl_door;
2576 cmd[1] = ctl->zsctl_gen;
2606 ctl->zsctl_gen = usage->zsu_gen;
2681 if (usage->zsu_hrstart > ctl->zsctl_start->zsu_hrtime) {
2692 (zs_usage_t)ctl
2701 struct zs_ctl *ctl = (struct zs_ctl *)ctlin; local
2720 struct zs_ctl *ctl; local
[all...]
/osnet-11/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 &&
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c1125 i_devfs_update_minor_perm(char *drv, int ctl, argument
1146 err = modctl(ctl, buf, buflen);
/osnet-11/usr/src/grub/grub-0.97/docs/
H A Dtexinfo.tex4824 \def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth
4829 \ctl\leaders\hrule height\circthick\hfil\ctr
/osnet-11/usr/src/grub/grub2/docs/
H A Dtexinfo.tex5775 \def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth
5780 \ctl\leaders\hrule height\circthick\hfil\ctr

Completed in 121 milliseconds