/titanic_50/usr/src/uts/common/sys/ |
H A D | nvpair.h | 95 } nvlist_t; typedef 154 int nvlist_alloc(nvlist_t **, uint_t, int); 155 void nvlist_free(nvlist_t *); 156 int nvlist_size(nvlist_t *, size_t *, int); 157 int nvlist_pack(nvlist_t *, char **, size_t *, int, int); 158 int nvlist_unpack(char *, size_t, nvlist_t **, int); 159 int nvlist_dup(nvlist_t *, nvlist_t **, int); 160 int nvlist_merge(nvlist_t *, nvlist_t *, int); 162 uint_t nvlist_nvflag(nvlist_t *); 164 int nvlist_xalloc(nvlist_t **, uint_t, nv_alloc_t *); [all …]
|
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.h | 120 nvlist_t *, nvlist_t **); 122 nvlist_t *, nvlist_t **); 124 nvlist_t *, nvlist_t **); 125 extern int g4_dimm_label(topo_mod_t *, tnode_t *, topo_version_t, nvlist_t *, 126 nvlist_t **); 128 extern int g12f_dimm_label(topo_mod_t *, tnode_t *, topo_version_t, nvlist_t *, 129 nvlist_t **); 132 nvlist_t *, nvlist_t **); 134 nvlist_t *, nvlist_t **); 136 nvlist_t *, nvlist_t **); [all …]
|
/titanic_50/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.h | 42 int lzc_snapshot(nvlist_t *, nvlist_t *, nvlist_t **); 43 int lzc_create(const char *, dmu_objset_type_t, nvlist_t *); 44 int lzc_clone(const char *, const char *, nvlist_t *); 45 int lzc_destroy_snaps(nvlist_t *, boolean_t, nvlist_t **); 46 int lzc_bookmark(nvlist_t *, nvlist_t **); 47 int lzc_get_bookmarks(const char *, nvlist_t *, nvlist_t **); 48 int lzc_destroy_bookmarks(nvlist_t *, nvlist_t **); 52 int lzc_hold(nvlist_t *, int, nvlist_t **); 53 int lzc_release(nvlist_t *, nvlist_t **); 54 int lzc_get_holds(const char *, nvlist_t **); [all …]
|
H A D | libzfs_core.c | 121 nvlist_t *source, nvlist_t **resultp) in lzc_ioctl() 174 lzc_create(const char *fsname, dmu_objset_type_t type, nvlist_t *props) in lzc_create() 177 nvlist_t *args = fnvlist_alloc(); in lzc_create() 188 nvlist_t *props) in lzc_clone() 191 nvlist_t *args = fnvlist_alloc(); in lzc_clone() 216 lzc_snapshot(nvlist_t *snaps, nvlist_t *props, nvlist_t **errlist) in lzc_snapshot() 219 nvlist_t *args; in lzc_snapshot() 268 lzc_destroy_snaps(nvlist_t *snaps, boolean_t defer, nvlist_t **errlist) in lzc_destroy_snaps() 271 nvlist_t *args; in lzc_destroy_snaps() 297 nvlist_t *args; in lzc_snaprange_space() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_opl.h | 45 extern cmd_evdisp_t cmd_oplinv_urg(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 47 extern cmd_evdisp_t cmd_oplcre(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 49 extern cmd_evdisp_t cmd_opltsb_ctx(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 51 extern cmd_evdisp_t cmd_opltsbp(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 53 extern cmd_evdisp_t cmd_oplpstate(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 55 extern cmd_evdisp_t cmd_opltstate(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 57 extern cmd_evdisp_t cmd_opliug_f(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 59 extern cmd_evdisp_t cmd_opliug_r(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 61 extern cmd_evdisp_t cmd_oplsdc(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 63 extern cmd_evdisp_t cmd_oplwdt(fmd_hdl_t *, fmd_event_t *, nvlist_t *, [all …]
|
/titanic_50/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_protocol.h | 68 extern nvlist_t *fmd_protocol_authority(void); 69 extern nvlist_t *fmd_protocol_fmri_module(struct fmd_module *); 70 extern nvlist_t *fmd_protocol_fault(const char *, 71 uint8_t, nvlist_t *, nvlist_t *, nvlist_t *, const char *); 72 extern nvlist_t *fmd_protocol_list(const char *, nvlist_t *, 73 const char *, const char *, uint_t, nvlist_t **, uint8_t *, int, 75 extern nvlist_t *fmd_protocol_rsrc_asru(const char *, nvlist_t *, 76 const char *, const char *, boolean_t, boolean_t, boolean_t, nvlist_t *, 77 struct timeval *m, boolean_t, boolean_t, boolean_t, boolean_t, nvlist_t *, 79 extern nvlist_t *fmd_protocol_fmderror(int, const char *, va_list); [all …]
|
H A D | fmd_api.h | 104 void (*fmdo_recv)(fmd_hdl_t *, fmd_event_t *, nvlist_t *, const char *); 109 int (*fmdo_send)(fmd_hdl_t *, fmd_xprt_t *, fmd_event_t *, nvlist_t *); 189 extern void fmd_case_add_suspect(fmd_hdl_t *, fmd_case_t *, nvlist_t *); 227 extern nvlist_t *fmd_nvl_create_defect(fmd_hdl_t *, 228 const char *, uint8_t, nvlist_t *, nvlist_t *, nvlist_t *); 229 extern nvlist_t *fmd_nvl_create_fault(fmd_hdl_t *, 230 const char *, uint8_t, nvlist_t *, nvlist_t *, nvlist_t *); 232 extern const nvlist_t *fmd_hdl_fmauth(fmd_hdl_t *); 233 extern const nvlist_t *fmd_hdl_modauth(fmd_hdl_t *); 235 extern int fmd_nvl_class_match(fmd_hdl_t *, nvlist_t *, const char *); [all …]
|
H A D | fmd_fmri.h | 71 extern char *fmd_fmri_auth2str(nvlist_t *); 89 extern ssize_t fmd_fmri_nvl2str(nvlist_t *, char *, size_t); 90 extern int fmd_fmri_expand(nvlist_t *); 91 extern int fmd_fmri_present(nvlist_t *); 92 extern int fmd_fmri_replaced(nvlist_t *); 93 extern int fmd_fmri_service_state(nvlist_t *); 94 extern int fmd_fmri_unusable(nvlist_t *); 95 extern int fmd_fmri_retire(nvlist_t *); 96 extern int fmd_fmri_unretire(nvlist_t *); 97 extern int fmd_fmri_contains(nvlist_t *, nvlist_t *); [all …]
|
H A D | fmd_scheme.h | 47 ssize_t (*sop_nvl2str)(nvlist_t *, char *, size_t); 48 int (*sop_expand)(nvlist_t *); 49 int (*sop_present)(nvlist_t *); 50 int (*sop_replaced)(nvlist_t *); 51 int (*sop_service_state)(nvlist_t *); 52 int (*sop_unusable)(nvlist_t *); 53 int (*sop_contains)(nvlist_t *, nvlist_t *); 54 nvlist_t *(*sop_translate)(nvlist_t *, nvlist_t *);
|
H A D | fmd_protocol.c | 45 nvlist_t * 49 nvlist_t *nvl; in fmd_protocol_authority() 85 nvlist_t * 88 nvlist_t *nvl; in fmd_protocol_fmri_module() 113 nvlist_t * 115 nvlist_t *asru, nvlist_t *fru, nvlist_t *resource, const char *location) in fmd_protocol_fault() 117 nvlist_t *nvl; in fmd_protocol_fault() 142 nvlist_t * 143 fmd_protocol_list(const char *class, nvlist_t *de_fmri, const char *uuid, in fmd_protocol_list() 144 const char *code, uint_t argc, nvlist_t **argv, uint8_t *flagv, int domsg, in fmd_protocol_list() [all …]
|
/titanic_50/usr/src/common/nvpair/ |
H A D | fnvpair.c | 50 nvlist_t * 53 nvlist_t *nvl; in fnvlist_alloc() 59 fnvlist_free(nvlist_t *nvl) in fnvlist_free() 65 fnvlist_size(nvlist_t *nvl) in fnvlist_size() 77 fnvlist_pack(nvlist_t *nvl, size_t *sizep) in fnvlist_pack() 96 nvlist_t * 99 nvlist_t *rv; in fnvlist_unpack() 104 nvlist_t * 105 fnvlist_dup(nvlist_t *nvl) in fnvlist_dup() 107 nvlist_t *rv; in fnvlist_dup() [all …]
|
H A D | nvpair.c | 129 static int nvlist_add_common(nvlist_t *nvl, const char *name, data_type_t type, 133 #define EMBEDDED_NVL(nvp) ((nvlist_t *)(void *)NVP_VALUE(nvp)) 134 #define EMBEDDED_NVL_ARRAY(nvp) ((nvlist_t **)(void *)NVP_VALUE(nvp)) 173 nvlist_lookup_nv_alloc(nvlist_t *nvl) in nvlist_lookup_nv_alloc() 249 nvlist_init(nvlist_t *nvl, uint32_t nvflag, nvpriv_t *priv) in nvlist_init() 259 nvlist_nvflag(nvlist_t *nvl) in nvlist_nvflag() 269 nvlist_alloc(nvlist_t **nvlp, uint_t nvflag, int kmflag) in nvlist_alloc() 280 nvlist_xalloc(nvlist_t **nvlp, uint_t nvflag, nv_alloc_t *nva) in nvlist_xalloc() 291 NV_ALIGN(sizeof (nvlist_t)))) == NULL) { in nvlist_xalloc() 305 nvp_buf_alloc(nvlist_t *nvl, size_t len) in nvp_buf_alloc() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma.h | 49 nvlist_t *pg_rsrc; /* Resource for this page */ 50 nvlist_t *pg_asru; /* ASRU for this page */ 59 nvlist_t *cpu_fmri; /* FMRI for this cpu entry */ 110 extern int cma_cpu_cpu_retire(fmd_hdl_t *, nvlist_t *, nvlist_t *, 112 extern int cma_cpu_hc_retire(fmd_hdl_t *, nvlist_t *, nvlist_t *, 114 extern int cma_page_retire(fmd_hdl_t *, nvlist_t *, nvlist_t *, 120 extern int cma_cache_way_retire(fmd_hdl_t *, nvlist_t *, nvlist_t *, 125 extern int cma_cpu_blacklist(fmd_hdl_t *, nvlist_t *, nvlist_t *, boolean_t); 126 extern int cma_cpu_statechange(fmd_hdl_t *, nvlist_t *, const char *, int, 128 extern int cma_fmri_page_service_state(fmd_hdl_t *, nvlist_t *); [all …]
|
/titanic_50/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_mem.h | 111 typedef cmd_evdisp_t cmd_xe_handler_f(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 113 nvlist_t *); 117 extern cmd_evdisp_t cmd_ce(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 119 extern cmd_evdisp_t cmd_ue(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 121 extern cmd_evdisp_t cmd_ce_common(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 123 ce_dispact_t, uint64_t, nvlist_t *); 124 extern cmd_evdisp_t cmd_ue_common(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 126 ce_dispact_t, uint64_t, nvlist_t *); 133 uint16_t, nvlist_t *); 142 extern cmd_evdisp_t cmd_fb(fmd_hdl_t *, fmd_event_t *, nvlist_t *, [all …]
|
H A D | cmd_cpu.h | 287 nvlist_t *xr_detector_nvlist; /* The detecting resource */ 293 extern cmd_xr_t *cmd_xr_create(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 302 extern cmd_evdisp_t cmd_xxcu_initial(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 501 extern cmd_evdisp_t cmd_xxc(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 503 extern cmd_evdisp_t cmd_xxu(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 512 extern cmd_evdisp_t cmd_l2c(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 514 extern cmd_evdisp_t cmd_l2u(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 542 extern cmd_evdisp_t cmd_txce(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 545 extern cmd_evdisp_t cmd_l3_thce(fmd_hdl_t *, fmd_event_t *, nvlist_t *, 565 extern cmd_evdisp_t cmd_icache(fmd_hdl_t *, fmd_event_t *, nvlist_t *, [all …]
|
/titanic_50/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_mod.h | 45 typedef int topo_method_f(topo_mod_t *, tnode_t *, topo_version_t, nvlist_t *, 46 nvlist_t **); 84 extern nvlist_t *topo_mod_cpufmri(topo_mod_t *, int, uint32_t, uint8_t, 86 extern nvlist_t *topo_mod_devfmri(topo_mod_t *, int, const char *, 88 extern nvlist_t *topo_mod_hcfmri(topo_mod_t *, tnode_t *, int, const char *, 89 topo_instance_t, nvlist_t *, nvlist_t *, const char *, const char *, 91 extern nvlist_t *topo_mod_memfmri(topo_mod_t *, int, uint64_t, uint64_t, 93 extern nvlist_t *topo_mod_modfmri(topo_mod_t *, int, const char *); 94 extern nvlist_t *topo_mod_pkgfmri(topo_mod_t *, int, const char *); 95 extern nvlist_t *topo_mod_swfmri(topo_mod_t *, int, [all …]
|
H A D | libtopo.h | 92 extern int topo_fmri_present(topo_hdl_t *, nvlist_t *, int *); 93 extern int topo_fmri_replaced(topo_hdl_t *, nvlist_t *, int *); 94 extern int topo_fmri_contains(topo_hdl_t *, nvlist_t *, nvlist_t *, int *); 95 extern int topo_fmri_expand(topo_hdl_t *, nvlist_t *, int *); 96 extern int topo_fmri_unusable(topo_hdl_t *, nvlist_t *, int *); 97 extern int topo_fmri_service_state(topo_hdl_t *, nvlist_t *, int *); 98 extern int topo_fmri_retire(topo_hdl_t *, nvlist_t *, int *); 99 extern int topo_fmri_unretire(topo_hdl_t *, nvlist_t *, int *); 100 extern int topo_fmri_nvl2str(topo_hdl_t *, nvlist_t *, char **, int *); 101 extern int topo_fmri_str2nvl(topo_hdl_t *, const char *, nvlist_t **, int *); [all …]
|
H A D | hc.c | 58 nvlist_t *, nvlist_t **); 60 nvlist_t *, nvlist_t **); 61 static int hc_compare(topo_mod_t *, tnode_t *, topo_version_t, nvlist_t *, 62 nvlist_t **); 63 static int hc_fmri_present(topo_mod_t *, tnode_t *, topo_version_t, nvlist_t *, 64 nvlist_t **); 65 static int hc_fmri_replaced(topo_mod_t *, tnode_t *, topo_version_t, nvlist_t *, 66 nvlist_t **); 67 static int hc_fmri_unusable(topo_mod_t *, tnode_t *, topo_version_t, nvlist_t *, 68 nvlist_t **); [all …]
|
/titanic_50/usr/src/lib/libzfs/common/ |
H A D | libzfs.h | 224 extern int zpool_create(libzfs_handle_t *, const char *, nvlist_t *, 225 nvlist_t *, nvlist_t *); 227 extern int zpool_add(zpool_handle_t *, nvlist_t *); 241 extern int zpool_clear(zpool_handle_t *, const char *, nvlist_t *); 249 const char *, nvlist_t *, int); 252 extern int zpool_vdev_split(zpool_handle_t *, char *, nvlist_t **, nvlist_t *, 259 extern nvlist_t *zpool_find_vdev(zpool_handle_t *, const char *, boolean_t *, 261 extern nvlist_t *zpool_find_vdev_by_physpath(zpool_handle_t *, const char *, 335 extern zpool_status_t zpool_import_status(nvlist_t *, char **); 341 extern nvlist_t *zpool_get_config(zpool_handle_t *, nvlist_t **); [all …]
|
/titanic_50/usr/src/uts/common/sys/fm/ |
H A D | protocol.h | 334 extern nvlist_t *fm_nvlist_create(nv_alloc_t *); 335 extern void fm_nvlist_destroy(nvlist_t *, int); 340 extern void fm_ereport_set(nvlist_t *, int, const char *, uint64_t, 341 const nvlist_t *, ...); 342 extern void fm_payload_set(nvlist_t *, ...); 343 extern int i_fm_payload_set(nvlist_t *, const char *, va_list); 344 extern void fm_fmri_hc_set(nvlist_t *, int, const nvlist_t *, nvlist_t *, 346 extern void fm_fmri_dev_set(nvlist_t *, int, const nvlist_t *, const char *, 348 extern void fm_fmri_de_set(nvlist_t *, int, const nvlist_t *, const char *); 349 extern void fm_fmri_cpu_set(nvlist_t *, int, const nvlist_t *, uint32_t, [all …]
|
/titanic_50/usr/src/uts/common/sys/iscsit/ |
H A D | iscsit_common.h | 188 nvlist_t *tgt_properties; 262 nvlist_t *ini_properties; 343 nvlist_t *config_global_properties; 349 it_config_to_nv(it_config_t *cfg, nvlist_t **nvl); 358 it_nv_to_config(nvlist_t *nvl, it_config_t **cfg); 361 it_nv_to_tgtlist(nvlist_t *nvl, uint32_t *count, it_tgt_t **tgtlist); 364 it_tgtlist_to_nv(it_tgt_t *tgtlist, nvlist_t **nvl); 367 it_tgt_to_nv(it_tgt_t *tgt, nvlist_t **nvl); 370 it_nv_to_tgt(nvlist_t *nvl, char *name, it_tgt_t **tgt); 373 it_tpgt_to_nv(it_tpgt_t *tpgt, nvlist_t **nvl); [all …]
|
/titanic_50/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_hc_sun4v.h | 42 extern nvlist_t *cmd_fault_add_location(fmd_hdl_t *, nvlist_t *, const char *); 43 extern nvlist_t *cmd_boardfru_create_fault(fmd_hdl_t *, nvlist_t *, 45 extern nvlist_t *init_mb(fmd_hdl_t *); 46 extern nvlist_t *cmd_find_dimm_by_sn(fmd_hdl_t *, char *, char *); 47 extern char *cmd_getfru_loc(fmd_hdl_t *, nvlist_t *); 49 extern int cmd_breakup_components(char *, char *, nvlist_t **); 50 extern nvlist_t *cmd_mkboard_fru(fmd_hdl_t *, char *, char *, char *);
|
H A D | cmd_hc_sun4v.c | 36 nvlist_t *dimm_nvl; 37 nvlist_t *mb_nvl; 38 nvlist_t *rsc_nvl; 40 nvlist_t * 41 cmd_fault_add_location(fmd_hdl_t *hdl, nvlist_t *flt, const char *locstr) { in cmd_fault_add_location() 123 cmd_breakup_components(char *str, char *sep, nvlist_t **hc_nvl) in cmd_breakup_components() 157 cmd_getfru_loc(fmd_hdl_t *hdl, nvlist_t *asru) { in cmd_getfru_loc() 172 nvlist_t * 177 nvlist_t *fru, **hc_list; in cmd_mkboard_fru() 194 hc_list = fmd_hdl_zalloc(hdl, sizeof (nvlist_t *)*n, FMD_SLEEP); in cmd_mkboard_fru() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fabric-xlate.h | 54 nvlist_t *nvl; 143 int (*fab_prep)(fmd_hdl_t *, fab_data_t *, nvlist_t *, 151 extern void fab_xlate_fabric_erpts(fmd_hdl_t *, nvlist_t *, const char *); 152 extern void fab_xlate_fire_erpts(fmd_hdl_t *, nvlist_t *, const char *); 153 extern void fab_xlate_epkt_erpts(fmd_hdl_t *, nvlist_t *, const char *); 156 extern int fab_prep_basic_erpt(fmd_hdl_t *, nvlist_t *, nvlist_t *, boolean_t); 162 extern void fab_pr(fmd_hdl_t *, fmd_event_t *, nvlist_t *); 163 extern boolean_t fab_get_hcpath(fmd_hdl_t *, nvlist_t *, char **, size_t *); 164 extern boolean_t fab_get_rcpath(fmd_hdl_t *, nvlist_t *, char *); 165 extern char *fab_find_rppath_by_df(fmd_hdl_t *, nvlist_t *, uint8_t); [all …]
|
/titanic_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | dsl_bookmark.h | 40 int dsl_bookmark_create(nvlist_t *, nvlist_t *); 41 int dsl_get_bookmarks(const char *, nvlist_t *, nvlist_t *); 42 int dsl_get_bookmarks_impl(dsl_dataset_t *, nvlist_t *, nvlist_t *); 43 int dsl_bookmark_destroy(nvlist_t *, nvlist_t *);
|