/osnet-11/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 | 237 } ctl; local 257 ctl.cmd = PCSSIG; 258 ctl.siginfo = P->status.pr_lwp.pr_info; 271 (void) write(ctlfd, &ctl, sizeof (ctl));
|
H A D | Pcontrol.c | 285 (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...] |
/osnet-11/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);
|
/osnet-11/usr/src/lib/librpcsvc/common/ |
H A D | bindresvport.c | 104 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/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 &&
|
/osnet-11/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...] |
/osnet-11/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())
|
/osnet-11/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...] |
/osnet-11/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 1328 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/libdevinfo/ |
H A D | devinfo_devperm.c | 1125 i_devfs_update_minor_perm(char *drv, int ctl, argument 1146 err = modctl(ctl, buf, buflen);
|
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.h | 122 void *ctl; member in struct:__anon906
|
H A D | ap_sbd.c | 47 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...] |
/osnet-11/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 1322 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 D | common.c | 1705 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/lib/libzonestat/common/ |
H A D | libzonestat.c | 2546 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...] |