diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2020-04-02 11:09:47 +0000 |
|---|---|---|
| committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2020-04-02 11:09:47 +0000 |
| commit | 080b163baec0c5a81b2717cf504cac1e0e1f143f (patch) | |
| tree | 4eacda3b227a9fa30fbb91930f726a8eeb045ba3 /usr/src/uts/common/sys/ddi_implfuncs.h | |
| parent | ee42d232c75feb49ab18a118a8a3b7fc3ea9f0c4 (diff) | |
| parent | 30c304d9746f4a048a7de56d31333b0fa8e43dee (diff) | |
| download | illumos-joyent-080b163baec0c5a81b2717cf504cac1e0e1f143f.tar.gz | |
[illumos-gate merge]
commit 30c304d9746f4a048a7de56d31333b0fa8e43dee
7119 boot should handle change in physical path to ZFS root devices
commit 476d5ff73c235a63ab06a9852e510910a3ce1793
12432 vntsd: NULL pointer errors
commit 86e38daa32bf0ca85f79384da2d3e43bf87f328b
12402 audiocmihd: variable may be used uninitialized
commit f70049b72ff8162093254e3d617172d6df9705f1
12415 ecpp: variable may be used uninitialized
Diffstat (limited to 'usr/src/uts/common/sys/ddi_implfuncs.h')
| -rw-r--r-- | usr/src/uts/common/sys/ddi_implfuncs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/ddi_implfuncs.h b/usr/src/uts/common/sys/ddi_implfuncs.h index e7d218844b..522366aa23 100644 --- a/usr/src/uts/common/sys/ddi_implfuncs.h +++ b/usr/src/uts/common/sys/ddi_implfuncs.h @@ -25,6 +25,7 @@ */ /* * Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved. + * Copyright 2020 Joshua M. Clulow <josh@sysmgr.org> */ #ifndef _SYS_DDI_IMPLFUNCS_H @@ -237,6 +238,16 @@ extern void i_ddi_decr_locked_memory(proc_t *, rctl_qty_t); */ extern void translate_devid(dev_info_t *dip); +/* + * Support routine for file systems that need to scan block devices searching + * for a label as part of mounting the root file system. + */ +extern void preroot_walk_block_devices(int (*)(const char *, void *), void *); + +#define PREROOT_WALK_BLOCK_DEVICES_NEXT 1 +#define PREROOT_WALK_BLOCK_DEVICES_CANCEL 2 + + #endif /* _KERNEL */ #ifdef __cplusplus |
