Home
last modified time | relevance | path

Searched refs:devfsadm_state (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_comm.c72 volatile uint_t devfsadm_state; variable
130 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()
H A Dsdev_subr.c1742 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()
/titanic_44/usr/src/uts/common/sys/fs/
H A Dsdev_impl.h330 extern volatile uint_t devfsadm_state; /* atomic mask for devfsadm status */
332 #define DEVNAME_DEVFSADM_SET_RUNNING(devfsadm_state) \ argument
333 devfsadm_state = DEVNAME_DEVFSADM_RUNNING
334 #define DEVNAME_DEVFSADM_SET_STOP(devfsadm_state) \ argument
335 devfsadm_state = DEVNAME_DEVFSADM_STOPPED
336 #define DEVNAME_DEVFSADM_SET_RUN(devfsadm_state) \ argument
337 devfsadm_state = DEVNAME_DEVFSADM_RUN
338 #define DEVNAME_DEVFSADM_IS_RUNNING(devfsadm_state) \ argument
339 devfsadm_state == DEVNAME_DEVFSADM_RUNNING
340 #define DEVNAME_DEVFSADM_HAS_RUN(devfsadm_state) \ argument
[all …]