Lines Matching defs:zsched

66  *   ZONE_IS_READY: zsched (the kernel dummy process for a zone) is
71 * ZONE_IS_BOOTING: in this shortlived-state, zsched attempts to start
75 * ZONE_IS_RUNNING: The zone is open for business: zsched has
99 * remains in this state until zsched exits. Calls to zone_find_by_*()
102 * ZONE_IS_DEAD: zsched has exited (zone_ntasks == 0). There are no
2549 /* Set security flags on the zone's zsched */
2999 * zsched has exited; the zone is dead.
3548 * zone's zsched process (curproc->p_zone->zone_zsched) before returning.
3802 * per-zone kernel threads are parented to zsched, just like regular
3805 * zsched is also responsible for launching init for the zone.
3808 zsched(void *arg)
3825 bcopy("zsched", PTOU(pp)->u_psargs, sizeof ("zsched"));
3826 bcopy("zsched", PTOU(pp)->u_comm, sizeof ("zsched"));
3833 * We are this zone's "zsched" process. As the zone isn't generally
3909 * add lwp and process counts to zsched's zone, and increment
4060 zone_status_wait_cpr(zone, ZONE_IS_BOOTING, "zsched");
4108 zone_status_wait_cpr(zone, ZONE_IS_DYING, "zsched");
4124 * in zsched will be dropped when the thread and process exit.
4664 * zsched() initializes this zone's kernel process. We
4686 * continue to use it. zsched() will do a zone_hold() if the
4697 * and initialize zsched appropriately. I'm not sure that that
4700 error = newproc(zsched, (void *)&zarg, syscid, minclsyspri, NULL, 0);
4739 * Wait for zsched to finish initializing the zone.
5165 * zsched will have exited, destructor callbacks executed, and the zone
5203 zone_status_set(zone, ZONE_IS_DYING); /* Tell zsched to exit */
5210 * wait for zsched to exit
5371 * Drop last reference (which was added by zsched()), this will
6102 * shared with zsched().
6145 * We don't need to hold any of zsched's locks here; not only do we know
6149 * By joining zsched's session here, we mimic the behavior in the