Searched refs:devfsadm_state (Results 1 – 3 of 3) sorted by relevance
72 volatile uint_t devfsadm_state; variable130 while (DEVNAME_DEVFSADM_IS_RUNNING(devfsadm_state) && in sdev_wait4lookup()158 dv->sdev_name, rv, devfsadm_state, in sdev_wait4lookup()174 dv->sdev_name, devfsadm_state, dv->sdev_state)); in sdev_wait4lookup()421 DEVNAME_DEVFSADM_SET_RUN(devfsadm_state); in sdev_config_all_thread()423 DEVNAME_DEVFSADM_SET_STOP(devfsadm_state); in sdev_config_all_thread()426 DEVNAME_DEVFSADM_SET_STOP(devfsadm_state); in sdev_config_all_thread()432 devfsadm_state)); in sdev_config_all_thread()445 DEVNAME_DEVFSADM_SET_RUNNING(devfsadm_state); in sdev_devfsadmd_thread()
1742 if (DEVNAME_DEVFSADM_IS_RUNNING(devfsadm_state)) { in sdev_call_devfsadmd()1744 ddv->sdev_name, nm, devfsadm_state)); in sdev_call_devfsadmd()1749 } else if (!DEVNAME_DEVFSADM_HAS_RUN(devfsadm_state)) { in sdev_call_devfsadmd()1751 ddv->sdev_name, nm, devfsadm_state)); in sdev_call_devfsadmd()1923 if (DEVNAME_DEVFSADM_IS_RUNNING(devfsadm_state) && in devname_lookup_func()2479 !DEVNAME_DEVFSADM_HAS_RUN(devfsadm_state) && in devname_readdir_func()2480 !DEVNAME_DEVFSADM_IS_RUNNING(devfsadm_state) && in devname_readdir_func()2499 } else if (DEVNAME_DEVFSADM_IS_RUNNING(devfsadm_state)) { in devname_readdir_func()
330 extern volatile uint_t devfsadm_state; /* atomic mask for devfsadm status */332 #define DEVNAME_DEVFSADM_SET_RUNNING(devfsadm_state) \ argument333 devfsadm_state = DEVNAME_DEVFSADM_RUNNING334 #define DEVNAME_DEVFSADM_SET_STOP(devfsadm_state) \ argument335 devfsadm_state = DEVNAME_DEVFSADM_STOPPED336 #define DEVNAME_DEVFSADM_SET_RUN(devfsadm_state) \ argument337 devfsadm_state = DEVNAME_DEVFSADM_RUN338 #define DEVNAME_DEVFSADM_IS_RUNNING(devfsadm_state) \ argument339 devfsadm_state == DEVNAME_DEVFSADM_RUNNING340 #define DEVNAME_DEVFSADM_HAS_RUN(devfsadm_state) \ argument[all …]