Searched refs:rset (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_bmc.c102 fd_set rset; local
128 FD_ZERO(&rset);
129 FD_SET(ibp->ib_fd, &rset);
131 if (select(ibp->ib_fd + 1, &rset, NULL, NULL, NULL) < 0) {
136 if (FD_ISSET(ibp->ib_fd, &rset) == 0) {
/illumos-gate/usr/src/uts/common/os/
H A Drctl.c515 rctl_set_t *rset = NULL; local
522 rset = p->p_rctls;
527 rset = p->p_task->tk_rctls;
533 rset = p->p_task->tk_proj->kpj_rctls;
538 rset = p->p_zone->zone_rctls;
545 return (rset);
1030 rctl_set_t *rset = kmem_zalloc(sizeof (rctl_set_t), KM_SLEEP); local
1032 mutex_init(&rset->rcs_lock, NULL, MUTEX_DEFAULT, NULL);
1033 rset->rcs_ctls = kmem_zalloc(rctl_set_size * sizeof (rctl_t *),
1035 rset
1097 rctl_set_init(rctl_entity_t entity, struct proc *p, rctl_entity_p_t *e, rctl_set_t *rset, rctl_alloc_gp_t *ragp) argument
1483 rctl_enforced_value(rctl_hndl_t hndl, rctl_set_t *rset, struct proc *p) argument
1565 rctl_set_t *rset; local
2041 rctl_set_t *rset = p->p_rctls; local
2196 rctl_set_t *rset = p->p_rctls; local
2452 rctl_global_action(rctl_t *r, rctl_set_t *rset, struct proc *p, rctl_val_t *v) argument
2544 rctl_local_action(rctl_t *r, rctl_set_t *rset, struct proc *p, rctl_val_t *v, uint_t safety) argument
2674 rctl_action(rctl_hndl_t hndl, rctl_set_t *rset, struct proc *p, uint_t safety) argument
2680 rctl_action_entity(rctl_hndl_t hndl, rctl_set_t *rset, struct proc *p, rctl_entity_p_t *e, uint_t safety) argument
2743 rctl_test(rctl_hndl_t rhndl, rctl_set_t *rset, struct proc *p, rctl_qty_t incr, uint_t flags) argument
2750 rctl_test_entity(rctl_hndl_t rhndl, rctl_set_t *rset, struct proc *p, rctl_entity_p_t *e, rctl_qty_t incr, uint_t flags) argument
[all...]
H A Dlgrp_topo.c137 lgrp_rsets_empty(klgrpset_t *rset) argument
142 if (!klgrpset_isempty(rset[i]))
169 lgrp_rsets_member(klgrpset_t *rset, lgrp_id_t lgrpid) argument
174 if (klgrpset_ismember(rset[i], lgrpid))
185 lgrp_rsets_member_all(klgrpset_t *rset, lgrp_id_t lgrpid) argument
190 if (!klgrpset_ismember(rset[i], lgrpid))
203 lgrp_rsets_replace(klgrpset_t *rset, int latency, lgrp_t *lgrp, int shift) argument
213 lgrp_rsets_copy(rset, rset_saved);
547 lgrp_new_parent(lgrp_t *child, int latency, klgrpset_t *rset, argument
563 lgrp_rsets_add(rset, ne
901 klgrpset_t rset[LGRP_RSRC_COUNT]; local
[all...]
H A Dlgrp.c343 * Set up the bootstrap rset
345 * the rset contains just the leaf, and both lpls can use the same rset
1831 * Add a resource named by lpl_leaf to rset of lpl_target
1867 * Start at the end of the rset array and work backwards towards the
1889 * rset.
1913 * Delete resource lpl_leaf from rset of lpl_target, assuming it's there.
1945 * Update the lgrp id <=> rset mapping
2047 * lpl_rset, lpl_rset_sz, lpl_id2rset - rset array references / size
2049 * Note that the lpl's rset an
2078 klgrpset_t rset; local
2841 lpl_t **rset; local
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_dialog.c170 sip_dlg_route_set_t *rset; local
175 rset = calloc(1, sizeof (*rset));
176 if (rset == NULL)
178 rset->sip_dlg_route_next = NULL;
189 rset->sip_dlg_route = calloc(1, vlen + 1);
190 if (rset->sip_dlg_route == NULL) {
191 free(rset);
197 rset->sip_dlg_route_lr = B_FALSE;
198 (void) strncpy(rset
257 sip_dialog_free_rset(sip_dlg_route_set_t *rset) argument
321 char *rset; local
493 sip_dlg_route_set_t *rset; local
[all...]
/illumos-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c771 ulong_t *rset; local
791 rset = &lgrp_info->info_rset[LGRP_RSRC_CPU * BT_BITOUL(nlgrps_max)];
798 if (!BT_TEST(rset, i))
918 ulong_t *rset; local
980 rset = &lgrp_info->info_rset[LGRP_RSRC_MEM *
988 if (!BT_TEST(rset, i))
1028 ulong_t *rset; local
1062 rset = &lgrp_info->info_rset[type * BT_BITOUL(nlgrps_max)];
1065 if (BT_TEST(rset, i)) {
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c253 fd_set rset, wset; local
298 FD_ZERO(&rset);
299 FD_SET(sockfd, &rset);
300 wset = rset;
303 eset = rset;
337 if ((n = select(sockfd +1, &rset, &wset, &eset,
343 if (FD_ISSET(sockfd, &wset) || FD_ISSET(sockfd, &rset)) {
368 if ((n = select(sockfd +1, &rset, &wset, NULL,
379 FD_ZERO(&rset);
380 FD_SET(sockfd, &rset);
[all...]
/illumos-gate/usr/src/cmd/lms/
H A DProtocol.cpp479 fd_set rset; local
488 FD_ZERO(&rset);
490 FD_SET(_serverSignalSocket, &rset);
502 FD_SET(serverSocket, &rset);
519 FD_SET(socket, &rset);
531 res = select(fdCount, &rset, NULL, NULL, &tv);
554 if (FD_ISSET(_serverSignalSocket, &rset)) { // Received a 'signal'
557 FD_CLR(_serverSignalSocket, &rset);
568 if (FD_ISSET(serverSocket, &rset)) {
572 FD_CLR(serverSocket, &rset);
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Drctlsys.c269 rctl_set_t *rset; local
274 if ((rset = rctl_entity_obtain_rset(krde, curproc)) == NULL) {
279 mutex_enter(&rset->rcs_lock);
280 if (rctl_set_find(rset, hndl, &rctl) == -1) {
281 mutex_exit(&rset->rcs_lock);
287 mutex_exit(&rset->rcs_lock);
293 mutex_exit(&rset->rcs_lock);
H A Dlgrpsys.c1465 ulong_t *rset; local
1467 rset = (ulong_t *)((uintptr_t)lgrp_info[i].info_rset +
1471 BT_SET(rset, k);
1983 uint_t *rset; local
1992 rset = (uint_t *)((uintptr_t)lgrp_rset +
1995 BT_SET32(rset, j);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Drctl.c379 rctl_set_t rset; local
384 if (mdb_vread(&rset, sizeof (rctl_set_t), wsp->walk_addr) == -1) {
385 mdb_warn("failed to read rset at %p", wsp->walk_addr);
396 (uintptr_t)rset.rcs_ctls) == -1) {
397 mdb_warn("cannot read rctl hash at %p", rset.rcs_ctls);
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_handlers.c182 fd_set rset; local
194 FD_ZERO(&rset);
196 FD_SET(pout[0], &rset);
197 FD_SET(perr[0], &rset);
199 (void) select(maxfd, &rset, NULL, NULL, NULL);
210 if (FD_ISSET(pout[0], &rset)) {
226 if (FD_ISSET(perr[0], &rset)) {
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c590 sigset_t oset, rset; local
605 (void) sigemptyset(&rset);
606 (void) sigaddset(&rset, SIGABRT);
607 (void) sigaddset(&rset, SIGKILL);
608 (void) sigaddset(&rset, SIGSTOP);
609 (void) sigaddset(&rset, SIGCANCEL);
613 if (sigismember(&rset, i) == 1) {
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmail.local.c399 goto rset;
491 else if (strcasecmp(buf, "rset") == 0) {
494 rset:
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c1461 int instance, int atype, int rset, offset_t offset, offset_t len,
1526 if (match_hinfo(hp, instance, atype, rset,
1770 int rset = edp->rnumber; local
1774 msg(4, "test_driver: %s %d inst %d 0x%x rset %d %llx %llx\n",
1775 name, logsize, inst, atype, rset, offset, len);
1801 inst, atype, rset, offset, len, 1) != 0) {
1460 get_hinfo(int fd, char *name, struct handle_info **hip, size_t *nhdls, int instance, int atype, int rset, offset_t offset, offset_t len, int new_semantics) argument
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn.c2972 domainset_t dset, rset; local
2998 rset = (dw->dw_errset | dw->dw_domset) & dw->dw_reqset;
2999 if (rset == dw->dw_reqset)
H A Didn_proto.c180 domainset_t xset, domainset_t rset,
4482 domainset_t rset, int (*transfunc)(), void *transarg)
4497 proc, domid, idnsync_str[cmd], cmd, z, xset, rset, zp->sc_cnt);
4505 sp->s_set_rdy = rset;
4645 PR_SYNC("%s:%d: cmd=%s(%d), z=%d, rset=0x%x, "
4481 idn_sync_enter(int domid, idn_synccmd_t cmd, domainset_t xset, domainset_t rset, int (*transfunc)(), void *transarg) argument

Completed in 135 milliseconds