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

/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c2233 pm_dep_wk_t *new_work; local
2235 new_work = kmem_zalloc(sizeof (pm_dep_wk_t), KM_SLEEP);
2236 new_work->pdw_type = cmd;
2237 new_work->pdw_wait = wait;
2238 new_work->pdw_done = 0;
2239 new_work->pdw_ret = 0;
2240 new_work->pdw_pwr = cached_pwr;
2241 cv_init(&new_work->pdw_cv, NULL, CV_DEFAULT, NULL);
2243 new_work->pdw_keeper = kmem_zalloc(strlen(keeper) + 1,
2245 (void) strcpy(new_work
[all...]

Completed in 62 milliseconds