Lines Matching refs:ui_flags
391 uip->ui_flags = UI_INITED;
394 assert(uip->ui_flags != UI_NONE);
414 SET(uip->ui_flags, UI_HASPAGER);
441 SET(uip->ui_flags, UI_HASOBJREF); /* with a named reference */
1286 while (ISSET(uip->ui_flags, UI_MAPBUSY)) {
1287 SET(uip->ui_flags, UI_MAPWAITING);
1288 (void) msleep(&uip->ui_flags, &vp->v_lock,
1291 SET(uip->ui_flags, UI_MAPBUSY);
1302 if ( !ISSET(uip->ui_flags, UI_ISMAPPED))
1304 SET(uip->ui_flags, (UI_WASMAPPED | UI_ISMAPPED));
1306 CLR(uip->ui_flags, UI_MAPBUSY);
1308 if (ISSET(uip->ui_flags, UI_MAPWAITING)) {
1309 CLR(uip->ui_flags, UI_MAPWAITING);
1315 wakeup(&uip->ui_flags);
1481 while (ISSET(uip->ui_flags, UI_MAPBUSY)) {
1482 SET(uip->ui_flags, UI_MAPWAITING);
1483 (void) msleep(&uip->ui_flags, &vp->v_lock,
1486 SET(uip->ui_flags, UI_MAPBUSY);
1488 if (ISSET(uip->ui_flags, UI_ISMAPPED)) {
1489 CLR(uip->ui_flags, UI_ISMAPPED);
1501 CLR(uip->ui_flags, UI_MAPBUSY);
1502 if (ISSET(uip->ui_flags, UI_MAPWAITING)) {
1503 CLR(uip->ui_flags, UI_MAPWAITING);
1509 wakeup(&uip->ui_flags);