Home
last modified time | relevance | path

Searched refs:nvlist_lookup_uint64 (Results 1 – 25 of 127) sorted by relevance

123456

/titanic_41/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c63 (void) nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_POOL, &pool_guid); in fmd_fmri_nvl2str()
78 if (nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_VDEV, &vdev_guid) == 0) in fmd_fmri_nvl2str()
99 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid); in find_vdev_iter()
150 (void) nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_POOL, &pool_guid); in fmd_fmri_present()
158 if (nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_VDEV, &vdev_guid) != 0) { in fmd_fmri_present()
177 (void) nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_POOL, &pool_guid); in fmd_fmri_replaced()
185 if (nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_VDEV, &vdev_guid) != 0) { in fmd_fmri_replaced()
206 (void) nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_POOL, &pool_guid); in fmd_fmri_unusable()
214 if (nvlist_lookup_uint64(nvl, FM_FMRI_ZFS_VDEV, &vdev_guid) != 0) { in fmd_fmri_unusable()
/titanic_41/usr/src/cmd/fm/schemes/mem/
H A Dmem.c96 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &val) == 0) { in fmd_fmri_nvl2str()
100 } else if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_PHYSADDR, &val) == 0) { in fmd_fmri_nvl2str()
299 if (rc == 1 && nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &val) == in fmd_fmri_present()
300 0 && nvlist_lookup_uint64(nvl, FM_FMRI_MEM_PHYSADDR, &val) == 0 && in fmd_fmri_present()
402 nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &val) == 0 && in fmd_fmri_replaced()
403 nvlist_lookup_uint64(nvl, FM_FMRI_MEM_PHYSADDR, &val) == 0 && in fmd_fmri_replaced()
439 if (nvlist_lookup_uint64(er, FM_FMRI_MEM_OFFSET, &erval) == 0) { in fmd_fmri_contains()
440 return (nvlist_lookup_uint64(ee, in fmd_fmri_contains()
444 if (nvlist_lookup_uint64(er, FM_FMRI_MEM_PHYSADDR, &erval) == 0) { in fmd_fmri_contains()
445 return (nvlist_lookup_uint64(ee, in fmd_fmri_contains()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_fire.c155 if (nvlist_lookup_uint64(erpt, "tlu-cess", &reg) == 0) { in fab_xlate_fire_ce()
195 if (nvlist_lookup_uint64(erpt, "tlu-uess", &reg) == 0) { in fab_xlate_fire_ue()
211 if (nvlist_lookup_uint64(erpt, "tlu-tueh1l", &reg) == 0) { in fab_xlate_fire_ue()
215 if (nvlist_lookup_uint64(erpt, "tlu-tueh2l", &reg) == 0) { in fab_xlate_fire_ue()
241 if (nvlist_lookup_uint64(erpt, "tlu-rueh1l", &reg) == 0) { in fab_xlate_fire_ue()
245 if (nvlist_lookup_uint64(erpt, "tlu-rueh2l", &reg) == 0) { in fab_xlate_fire_ue()
275 if (nvlist_lookup_uint64(erpt, "tlu-roeeh1l", &reg) == 0) { in fab_xlate_fire_oe()
279 if (nvlist_lookup_uint64(erpt, "tlu-roeeh2l", &reg) == 0) { in fab_xlate_fire_oe()
350 if (nvlist_lookup_uint64(erpt, "mmu-tfsr", &reg) == 0) { in fab_xlate_fire_dmc()
362 if (nvlist_lookup_uint64(erpt, "mmu-tfar", &reg) == 0) { in fab_xlate_fire_dmc()
H A Dfx_epkt.c162 err |= nvlist_lookup_uint64(nvl, "addr", &epkt.addr); in fab_xlate_epkt_erpts()
163 err |= nvlist_lookup_uint64(nvl, "hdr1", &epkt.hdr[0]); in fab_xlate_epkt_erpts()
164 err |= nvlist_lookup_uint64(nvl, "hdr2", &epkt.hdr[1]); in fab_xlate_epkt_erpts()
165 err |= nvlist_lookup_uint64(nvl, "reserved", &epkt.reserved); in fab_xlate_epkt_erpts()
/titanic_41/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure_ctl.c59 if (nvlist_lookup_uint64(nvl, SES_CTL_PROP_UCODE_MODE, in enc_do_ucode()
64 if (nvlist_lookup_uint64(props, SES_EN_PROP_UCODE_SZ, in enc_do_ucode()
73 (void) nvlist_lookup_uint64(props, SES_EN_PROP_UCODE_BUF, in enc_do_ucode()
79 (void) nvlist_lookup_uint64(nvl, SES_CTL_PROP_UCODE_BUFID, &bufid); in enc_do_ucode()
80 (void) nvlist_lookup_uint64(nvl, SES_CTL_PROP_UCODE_DATA_LEN, &chunksz); in enc_do_ucode()
173 VERIFY(nvlist_lookup_uint64(props, SES_EN_PROP_EID, &eid) == 0); in enc_ctl_string()
215 VERIFY(nvlist_lookup_uint64(props, SES_EN_PROP_EID, &eid) == 0); in enc_ctl_nick()
323 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, &type) == 0); in ses2_enclosure_setdef()
H A Dses2_pages.c68 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_ONLY_INDEX, in ses2_aes_index()
70 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in ses2_aes_index()
134 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_threshold_index()
158 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, &index) != 0) in ses2_element_index()
203 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_status_index()
237 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_ctl_fill()
291 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_threshout_ctl_fill()
348 VERIFY(nvlist_lookup_uint64(props, SES_EN_PROP_EID, &eid) == 0); in ses2_ucodeout_ctl_fill()
H A Dses2_enclosure.c81 if (nvlist_lookup_uint64(nvl, SES_EN_PROP_EID, &eid) != 0) in enc_parse_help()
139 if (nvlist_lookup_uint64(nvl, SES_EN_PROP_EID, &eid) != 0) in enc_parse_string_in()
219 if (nvlist_lookup_uint64(nvl, SES_EN_PROP_EID, &eid) != 0) in enc_parse_dlucode()
264 if (nvlist_lookup_uint64(nvl, SES_EN_PROP_EID, &eid) != 0) in enc_parse_subnick()
/titanic_41/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_cpu_arch.c251 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_NAME_L2_AFSR, in cmd_xr_fill()
253 nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_NAME_L2_ESR, in cmd_xr_fill()
258 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_NAME_L2_AFAR, in cmd_xr_fill()
260 nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_NAME_L2_EAR, in cmd_xr_fill()
379 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_NAME_L2_AFSR, in cmd_afar_valid()
381 nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_NAME_L2_ESR, in cmd_afar_valid()
389 if (nvlist_lookup_uint64(nvl, in cmd_afar_valid()
391 nvlist_lookup_uint64(nvl, in cmd_afar_valid()
H A Dcmd_memerr_arch.c213 if (nvlist_lookup_uint64(nvl, in xe_common()
215 nvlist_lookup_uint64(nvl, in xe_common()
219 if (nvlist_lookup_uint64(nvl, in xe_common()
221 nvlist_lookup_uint64(nvl, in xe_common()
225 if (nvlist_lookup_uint64(nvl, in xe_common()
227 nvlist_lookup_uint64(nvl, in xe_common()
231 if (nvlist_lookup_uint64(nvl, in xe_common()
233 nvlist_lookup_uint64(nvl, in xe_common()
276 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_NAME_L2_ESYR, in xe_common()
401 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_NAME_TS3_FCR, in cmd_fb()
/titanic_41/usr/src/uts/sparc/io/
H A Ddevfm_machdep.c66 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &offset) != 0) { in fm_get_paddr()
67 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_PHYSADDR, &pa) != in fm_get_paddr()
80 if (nvlist_lookup_uint64(nvl, in fm_get_paddr()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c158 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0); in fix_paths()
229 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in add_config()
232 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid) == 0) { in add_config()
254 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in add_config()
256 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in add_config()
258 nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, in add_config()
260 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, in add_config()
366 verify(nvlist_lookup_uint64(zhp->zpool_config, ZPOOL_CONFIG_POOL_GUID, in pool_active()
510 if (nvlist_lookup_uint64(tmp, in get_configs()
567 if (nvlist_lookup_uint64(tmp, in get_configs()
[all …]
H A Dlibzfs_status.c197 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in check_status()
203 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in check_status()
218 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_HOSTID, &hostid); in check_status()
254 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED, in check_status()
295 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRCOUNT, in check_status()
H A Dlibzfs_pool.c125 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &ival) == 0); in zpool_get_prop_string()
156 (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &value) in zpool_get_prop_int()
165 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &value) == 0); in zpool_get_prop_int()
167 verify(nvlist_lookup_uint64(nv, ZPROP_VALUE, &value) == 0); in zpool_get_prop_int()
805 if (nvlist_lookup_uint64(features, feature, &refcount) == 0) in zpool_prop_get_feature()
1392 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_LOAD_TIME, &rewindto) != 0) in zpool_rewind_exclaim()
1447 nvlist_lookup_uint64(nv, ZPOOL_CONFIG_LOAD_TIME, &rewindto) != 0) in zpool_explain_recover()
1451 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_LOAD_DATA_ERRORS, in zpool_explain_recover()
1551 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, in print_vdev_tree()
1634 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in zpool_import_props()
[all …]
/titanic_41/usr/src/cmd/fs.d/zfs/fstyp/
H A Dfstyp.c97 if (nvlist_lookup_uint64(h->config, ZPOOL_CONFIG_POOL_STATE, in fstyp_mod_ident()
106 if (nvlist_lookup_uint64(h->config, "guid", &u64) == 0) { in fstyp_mod_ident()
110 if (nvlist_lookup_uint64(h->config, "version", &u64) == 0) { in fstyp_mod_ident()
/titanic_41/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c108 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0 && in find_vdev()
282 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, in zfs_vdev_repair()
283 &pool_guid) != 0 || nvlist_lookup_uint64(nvl, in zfs_vdev_repair()
379 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, in zfs_retire_recv()
381 nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_VDEV_GUID, in zfs_retire_recv()
478 (void) nvlist_lookup_uint64(vdev, in zfs_retire_recv()
495 if (nvlist_lookup_uint64(resource, FM_FMRI_ZFS_POOL, in zfs_retire_recv()
499 if (nvlist_lookup_uint64(resource, FM_FMRI_ZFS_VDEV, in zfs_retire_recv()
/titanic_41/usr/src/lib/scsi/plugins/ses/libses/common/
H A Dlibses.c47 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in libses_parse_node()
67 VERIFY(nvlist_lookup_uint64(lid, SPC3_NAA_INT, &id) == 0); in libses_parse_node()
/titanic_41/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c164 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, &wholedisk); in zfs_process_add()
165 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_OFFLINE, &offline); in zfs_process_add()
297 if (nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, in zfs_iter_vdev()
346 (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in zfs_iter_pool()
523 if (nvlist_lookup_uint64(nvl, ZFS_EV_POOL_GUID, in zfs_deliver_check()
525 nvlist_lookup_uint64(nvl, ZFS_EV_VDEV_GUID, in zfs_deliver_check()
558 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_WHOLE_DISK, in zfsdle_vdev_online()
/titanic_41/usr/src/cmd/fm/schemes/cpu/
H A Dcpu.c169 if ((rc = nvlist_lookup_uint64(nvl, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_expand()
226 if (nvlist_lookup_uint64(nvl, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_present()
279 if (nvlist_lookup_uint64(nvl, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_replaced()
364 if (nvlist_lookup_uint64(er, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_contains()
367 if (nvlist_lookup_uint64(ee, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_contains()
/titanic_41/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/
H A Dloki.c94 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in sun_loki_parse_node()
104 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_CLASS_INDEX, in sun_loki_parse_node()
127 VERIFY(nvlist_lookup_uint64(lid, SPC3_NAA_INT, &wwn) == 0); in sun_loki_parse_node()
/titanic_41/usr/src/cmd/fm/schemes/hc/
H A Dscheme.c262 FM_FMRI_HC_SPECIFIC, &hcsp) != 0 || (nvlist_lookup_uint64(hcsp, in fmd_fmri_contains()
264 nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_OFFSET, in fmd_fmri_contains()
272 (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in fmd_fmri_contains()
273 &eeoff) == 0 || nvlist_lookup_uint64(hcsp, "asru-" in fmd_fmri_contains()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev.c393 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ID, &label_id) || in vdev_alloc()
397 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc()
400 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc()
403 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc()
406 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) != 0) in vdev_alloc()
420 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, &islog); in vdev_alloc()
432 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_NPARITY, in vdev_alloc()
482 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in vdev_alloc()
490 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_NOT_PRESENT, in vdev_alloc()
496 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ASHIFT, &vd->vdev_ashift); in vdev_alloc()
[all …]
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_meth.c376 if (nvlist_lookup_uint64(hcsp, in mem_asru_compute()
380 if (nvlist_lookup_uint64(hcsp, in mem_asru_compute()
413 (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in is_page_fmri()
415 nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_OFFSET, in is_page_fmri()
417 nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_PHYSADDR, in is_page_fmri()
419 nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_PHYSADDR, in is_page_fmri()
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dmem.c210 if (nvlist_lookup_uint64(in, FM_FMRI_MEM_OFFSET, &val) == 0) { in mem_nvl2str()
213 } else if (nvlist_lookup_uint64(in, FM_FMRI_MEM_PHYSADDR, &val) == 0) { in mem_nvl2str()
318 if (nvlist_lookup_uint64(in, FM_FMRI_MEM_PHYSADDR, &pa) == 0) in mem_fmri_create()
320 if (nvlist_lookup_uint64(in, FM_FMRI_MEM_OFFSET, &offset) == 0) in mem_fmri_create()
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddm_platform.c191 if (nvlist_lookup_uint64(props, "gid", &gid) != 0 || in platform_update_fru()
192 nvlist_lookup_uint64(props, "hdd", &hdd) != 0) { in platform_update_fru()
270 am_present = nvlist_lookup_uint64(props, "amask", &assertmask) == 0; in platform_set_sensor()
271 dam_present = nvlist_lookup_uint64(props, "dmask", &deassertmask) == 0; in platform_set_sensor()
273 if (nvlist_lookup_uint64(props, "sid", &sid) != 0 || in platform_set_sensor()
/titanic_41/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_page.c120 (nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_PHYSADDR, in cma_page_retire()
121 &pageaddr) != 0 && nvlist_lookup_uint64(hcsp, in cma_page_retire()
123 if (nvlist_lookup_uint64(asrucp, FM_FMRI_MEM_PHYSADDR, in cma_page_retire()

123456