diff options
| author | jg <none@none> | 2006-09-25 08:38:36 -0700 |
|---|---|---|
| committer | jg <none@none> | 2006-09-25 08:38:36 -0700 |
| commit | 83c4dfe9546fd839e7a52bca7e9920da918f916e (patch) | |
| tree | b20d087d1ba86d49a6059c9bf59daeda3cc69db0 /usr/src/uts/common/sys/fs/sdev_impl.h | |
| parent | f92daba9919b6e68875ccdc9a5532cadf37959f1 (diff) | |
| download | illumos-gate-83c4dfe9546fd839e7a52bca7e9920da918f916e.tar.gz | |
6466789 decouple devices cache management implementation from consumers
--HG--
rename : usr/src/uts/common/os/devctl.c => usr/src/uts/common/os/devcache.c
rename : usr/src/uts/common/sys/devctl_impl.h => usr/src/uts/common/sys/devcache_impl.h
Diffstat (limited to 'usr/src/uts/common/sys/fs/sdev_impl.h')
| -rw-r--r-- | usr/src/uts/common/sys/fs/sdev_impl.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/fs/sdev_impl.h b/usr/src/uts/common/sys/fs/sdev_impl.h index e8f124566d..5b0a8b8426 100644 --- a/usr/src/uts/common/sys/fs/sdev_impl.h +++ b/usr/src/uts/common/sys/fs/sdev_impl.h @@ -520,6 +520,22 @@ typedef struct sdev_nc_node { #define SLF_REBUILT 0x02 /* reconfig performed during lookup attempt */ /* + * The nvlist name and nvpair identifiers in the + * /etc/devices/devname_cache nvlist format + */ +#define DP_DEVNAME_ID "devname" +#define DP_DEVNAME_NCACHE_ID "ncache" +#define DP_DEVNAME_NC_EXPIRECNT_ID "expire-counts" + +/* devname-cache list element */ +typedef struct nvp_devname { + char **nvp_paths; + int *nvp_expirecnts; + int nvp_npaths; + list_node_t nvp_link; +} nvp_devname_t; + +/* * name service globals and prototypes */ |
