Home
last modified time | relevance | path

Searched refs:iset (Results 1 – 14 of 14) sorted by relevance

/titanic_50/usr/src/uts/sun4/io/px/
H A Dpx_tools.c250 pcitool_intr_set_t iset; in pxtool_set_intr() local
260 bzero(&iset, sizeof (pcitool_intr_set_t)); in pxtool_set_intr()
263 copyinout_size = (size_t)&iset.flags - (size_t)&iset; in pxtool_set_intr()
265 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pxtool_set_intr()
268 switch (iset.user_version) { in pxtool_set_intr()
274 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pxtool_set_intr()
279 iset.status = PCITOOL_OUT_OF_RANGE; in pxtool_set_intr()
284 if (iset.flags & PCITOOL_INTR_FLAG_SET_GROUP) { in pxtool_set_intr()
285 iset.status = PCITOOL_IO_ERROR; in pxtool_set_intr()
290 iset.status = PCITOOL_IO_ERROR; in pxtool_set_intr()
[all …]
/titanic_50/usr/src/uts/sun4v/io/niumx/
H A Dniumx_tools.c407 pcitool_intr_set_t iset; in niumxtool_set_intr() local
417 bzero(&iset, sizeof (pcitool_intr_set_t)); in niumxtool_set_intr()
420 copyinout_size = (size_t)&iset.flags - (size_t)&iset; in niumxtool_set_intr()
422 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in niumxtool_set_intr()
425 switch (iset.user_version) { in niumxtool_set_intr()
431 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in niumxtool_set_intr()
436 iset.status = PCITOOL_OUT_OF_RANGE; in niumxtool_set_intr()
441 if (iset.flags & PCITOOL_INTR_FLAG_SET_GROUP) { in niumxtool_set_intr()
442 iset.status = PCITOOL_IO_ERROR; in niumxtool_set_intr()
447 iset.status = PCITOOL_IO_ERROR; in niumxtool_set_intr()
[all …]
/titanic_50/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/
H A DIntrs.xs75 pcitool_intr_set_t iset;
81 iset.old_cpu = oldcpu;
82 iset.ino = ino;
83 iset.cpu_id = cpu;
84 iset.flags = (num_ino > 1) ? PCITOOL_INTR_FLAG_SET_GROUP : 0;
85 iset.user_version = PCITOOL_VERSION;
87 ret = ioctl(fd, PCITOOL_DEVICE_SET_INTR, &iset);
/titanic_50/usr/src/uts/i86pc/io/pci/
H A Dpci_tools.c131 pcitool_intr_set_t iset; in pcitool_set_intr() local
139 copyinout_size = (size_t)&iset.flags - (size_t)&iset; in pcitool_set_intr()
141 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
144 switch (iset.user_version) { in pcitool_set_intr()
150 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
155 iset.status = PCITOOL_OUT_OF_RANGE; in pcitool_set_intr()
160 if (iset.flags & PCITOOL_INTR_FLAG_SET_MSI) { in pcitool_set_intr()
162 iset.status = PCITOOL_IO_ERROR; in pcitool_set_intr()
171 iset.status = PCITOOL_IO_ERROR; in pcitool_set_intr()
176 if (iset.old_cpu > type_info.avgi_num_cpu) { in pcitool_set_intr()
[all …]
/titanic_50/usr/src/uts/sun4u/io/pci/
H A Dpci_tools.c418 pcitool_intr_set_t iset; in pcitool_set_intr() local
425 bzero(&iset, sizeof (pcitool_intr_set_t)); in pcitool_set_intr()
428 copyinout_size = (size_t)&iset.flags - (size_t)&iset; in pcitool_set_intr()
430 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
433 switch (iset.user_version) { in pcitool_set_intr()
439 if (ddi_copyin(arg, &iset, copyinout_size, mode) != DDI_SUCCESS) in pcitool_set_intr()
444 iset.status = PCITOOL_OUT_OF_RANGE; in pcitool_set_intr()
449 if ((iset.flags & PCITOOL_INTR_FLAG_SET_GROUP) || in pcitool_set_intr()
450 (iset.flags & PCITOOL_INTR_FLAG_SET_MSI)) { in pcitool_set_intr()
451 iset.status = PCITOOL_IO_ERROR; in pcitool_set_intr()
[all …]
/titanic_50/usr/src/cmd/pcitool/
H A Dpcitool.c1692 pcitool_intr_set_t iset; in set_interrupts() local
1699 iset.msi = intr = input_args_p->intr_msi; in set_interrupts()
1700 iset.flags = PCITOOL_INTR_FLAG_SET_MSI; in set_interrupts()
1703 iset.ino = intr = input_args_p->intr_ino; in set_interrupts()
1704 iset.flags = 0; in set_interrupts()
1708 iset.cpu_id = input_args_p->intr_cpu; in set_interrupts()
1709 iset.old_cpu = input_args_p->old_cpu; in set_interrupts()
1710 iset.user_version = PCITOOL_VERSION; in set_interrupts()
1711 iset.flags |= (input_args_p->flags & SETGRP_FLAG) ? in set_interrupts()
1715 if (ioctl(fd, PCITOOL_DEVICE_SET_INTR, &iset) != 0) { in set_interrupts()
[all …]
/titanic_50/usr/src/cmd/pfexecd/
H A Dpfexecd.c359 priv_set_t *lset, *iset; in callback_pfexec() local
403 lset = iset = NULL; in callback_pfexec()
425 iset = get_privset(value, &res->pfr_allowed, path); in callback_pfexec()
432 (gid != (gid_t)-1 && egid == gid) || iset != NULL; in callback_pfexec()
441 if (iset != NULL) { in callback_pfexec()
443 priv_copyset(iset, PFEXEC_REPLY_IPRIV(res)); in callback_pfexec()
445 priv_freeset(iset); in callback_pfexec()
455 egid != (gid_t)-1 || gid != (gid_t)-1 || iset != NULL || in callback_pfexec()
/titanic_50/usr/src/cmd/sgs/link_audit/common/
H A Dtruss.c47 static sigset_t iset; variable
145 (void) sigfillset(&iset); in la_version()
252 (void) sigprocmask(SIG_BLOCK, &iset, &oset); in la_sparcv9_pltenter()
293 (void) sigprocmask(SIG_BLOCK, &iset, &oset); in la_pltexit64()
H A Dperfcnt.c69 static sigset_t iset; variable
134 (void) sigfillset(&iset); in la_version()
216 (void) sigprocmask(SIG_BLOCK, &iset, &oset); in la_pltexit64()
H A Dwho.c44 static sigset_t iset; variable
259 (void) sigfillset(&iset); in la_version()
305 (void) sigprocmask(SIG_BLOCK, &iset, &oset); in la_sparcv9_pltenter()
H A Dbindings.c50 static const sigset_t iset = { ~0U, ~0U, ~0U, ~0U }; variable
244 (void) sigprocmask(SIG_BLOCK, &iset, &omask); in la_version()
389 (void) sigprocmask(SIG_BLOCK, &iset, &omask); in la_sparcv9_pltenter()
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_util.c586 pcitool_intr_set_t iset; in mac_set_intr() local
589 iset.old_cpu = oldcpuid; in mac_set_intr()
590 iset.ino = ino; in mac_set_intr()
591 iset.cpu_id = cpu_num; in mac_set_intr()
592 iset.user_version = PCITOOL_VERSION; in mac_set_intr()
593 err = ldi_ioctl(lh, PCITOOL_DEVICE_SET_INTR, (intptr_t)&iset, FKIOCTL, in mac_set_intr()
/titanic_50/usr/src/uts/common/os/
H A Dklpd.c852 priv_set_t *iset; in pfexec_call() local
953 iset = PFEXEC_REPLY_IPRIV(prp); in pfexec_call()
955 if (iset != NULL) { in pfexec_call()
956 if (!priv_issubset(iset, &CR_LPRIV(ncr))) in pfexec_call()
958 priv_union(iset, &CR_IPRIV(ncr)); in pfexec_call()
/titanic_50/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c63 static const sigset_t iset = { ~0U, ~0U, ~0U, ~0U }; variable
78 (void) sigprocmask(SIG_BLOCK, &iset, oset); in prof_mutex_lock()