/illumos-gate/usr/src/cmd/fm/schemes/zfs/ |
H A D | scheme.c | 63 (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()
|
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem.c | 96 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() 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() 481 err1 = nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &val1); in fmd_fmri_unusable() [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 86 verify(nvlist_lookup_uint64(zhp->zpool_config, ZPOOL_CONFIG_POOL_GUID, in pool_active() 205 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in zpool_clear_label() 212 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in zpool_clear_label() 220 if (nvlist_lookup_uint64(config, in zpool_clear_label() 269 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &tmp) == 0); in find_guid() 304 verify(nvlist_lookup_uint64(list[i], in find_aux() 346 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in zpool_in_use() 348 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in zpool_in_use() 354 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in zpool_in_use() 421 if (ret && nvlist_lookup_uint64(config, in zpool_in_use()
|
H A D | libzfs_status.c | 216 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, in check_status() 222 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in check_status() 257 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_HOSTID, &hostid); in check_status() 293 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED, in check_status() 297 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_SUSPENDED_REASON, in check_status() 340 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRCOUNT, in check_status() 376 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRATA, &errata); in check_status()
|
H A D | libzfs_pool.c | 133 verify(nvlist_lookup_uint64(nv, ZPROP_SOURCE, &ival) == 0); in zpool_get_prop_string() 164 (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &value) in zpool_get_prop_int() 1761 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_LOG, in print_vdev_tree() 2403 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, in vdev_to_nvlist_iter() 2496 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ID, in vdev_to_nvlist_iter() 2539 nvlist_lookup_uint64(child[c], in vdev_to_nvlist_iter() 3693 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID, in zpool_clear() 3959 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, in set_path() 4065 nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &value); in zpool_vdev_name() 4157 verify(nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ID, in zpool_vdev_name() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_fire.c | 155 if (nvlist_lookup_uint64(erpt, "tlu-cess", ®) == 0) { in fab_xlate_fire_ce() 195 if (nvlist_lookup_uint64(erpt, "tlu-uess", ®) == 0) { in fab_xlate_fire_ue() 211 if (nvlist_lookup_uint64(erpt, "tlu-tueh1l", ®) == 0) { in fab_xlate_fire_ue() 215 if (nvlist_lookup_uint64(erpt, "tlu-tueh2l", ®) == 0) { in fab_xlate_fire_ue() 241 if (nvlist_lookup_uint64(erpt, "tlu-rueh1l", ®) == 0) { in fab_xlate_fire_ue() 245 if (nvlist_lookup_uint64(erpt, "tlu-rueh2l", ®) == 0) { in fab_xlate_fire_ue() 275 if (nvlist_lookup_uint64(erpt, "tlu-roeeh1l", ®) == 0) { in fab_xlate_fire_oe() 279 if (nvlist_lookup_uint64(erpt, "tlu-roeeh2l", ®) == 0) { in fab_xlate_fire_oe() 350 if (nvlist_lookup_uint64(erpt, "mmu-tfsr", ®) == 0) { in fab_xlate_fire_dmc() 362 if (nvlist_lookup_uint64(erpt, "mmu-tfar", ®) == 0) { in fab_xlate_fire_dmc()
|
H A D | fx_epkt.c | 162 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()
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_enclosure_ctl.c | 59 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 D | ses2_pages.c | 69 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_ONLY_INDEX, in ses2_aes_index() 71 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_aes_index() 73 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in ses2_aes_index() 168 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_threshold_index() 192 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, &index) != 0) in ses2_element_index() 237 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_status_index() 271 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_ctl_fill() 325 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_INDEX, in ses2_threshout_ctl_fill() 382 VERIFY(nvlist_lookup_uint64(props, SES_EN_PROP_EID, &eid) == 0); in ses2_ucodeout_ctl_fill()
|
H A D | ses2_enclosure.c | 81 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()
|
/illumos-gate/usr/src/uts/sparc/io/ |
H A D | devfm_machdep.c | 66 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()
|
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/ |
H A D | zfs_retire.c | 111 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0 && in find_vdev() 307 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, in zfs_vdev_repair() 308 &pool_guid) != 0 || nvlist_lookup_uint64(nvl, in zfs_vdev_repair() 404 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, in zfs_retire_recv() 406 nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_VDEV_GUID, in zfs_retire_recv() 511 (void) nvlist_lookup_uint64(vdev, in zfs_retire_recv() 528 if (nvlist_lookup_uint64(resource, FM_FMRI_ZFS_POOL, in zfs_retire_recv() 532 if (nvlist_lookup_uint64(resource, FM_FMRI_ZFS_VDEV, in zfs_retire_recv()
|
/illumos-gate/usr/src/cmd/fs.d/zfs/fstyp/ |
H A D | fstyp.c | 104 if (nvlist_lookup_uint64(h->config, ZPOOL_CONFIG_POOL_STATE, in fstyp_mod_ident() 113 if (nvlist_lookup_uint64(h->config, "guid", &u64) == 0) { in fstyp_mod_ident() 117 if (nvlist_lookup_uint64(h->config, "version", &u64) == 0) { in fstyp_mod_ident()
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_import.c | 307 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, in add_config() 334 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in add_config() 336 nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, in add_config() 338 nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, in add_config() 340 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG, in add_config() 544 if (nvlist_lookup_uint64(tmp, in get_configs() 601 if (nvlist_lookup_uint64(tmp, in get_configs() 619 verify(nvlist_lookup_uint64(nvtop, ZPOOL_CONFIG_ID, in get_configs() 939 if (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_GUID, in zpool_read_label() 952 (nvlist_lookup_uint64(*config, ZPOOL_CONFIG_POOL_TXG, in zpool_read_label() [all …]
|
/illumos-gate/usr/src/cmd/fm/schemes/cpu/ |
H A D | cpu.c | 169 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()
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/ |
H A D | libses.c | 45 if (nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in libses_parse_node() 65 VERIFY(nvlist_lookup_uint64(lid, SPC3_NAA_INT, &id) == 0); in libses_parse_node()
|
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 168 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_WHOLE_DISK, &wholedisk); in zfs_process_add() 169 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_OFFLINE, &offline); in zfs_process_add() 309 if (nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_GUID, in zfs_iter_vdev() 358 (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, in zfs_iter_pool() 535 if (nvlist_lookup_uint64(nvl, ZFS_EV_POOL_GUID, in zfs_deliver_check() 537 nvlist_lookup_uint64(nvl, ZFS_EV_VDEV_GUID, in zfs_deliver_check() 577 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_WHOLE_DISK, in zfsdle_vdev_online() 632 (void) nvlist_lookup_uint64(vdev, ZPOOL_CONFIG_GUID, &vdev_guid); in zfs_update_vdev_fru()
|
/illumos-gate/usr/src/common/mc/imc/ |
H A D | imc_dump.c | 288 nvlist_lookup_uint64(nvl, "isad_tolm", &sad->isad_tolm) != 0 || in imc_restore_sad() 289 nvlist_lookup_uint64(nvl, "isad_tohm", &sad->isad_tohm) != 0 || in imc_restore_sad() 305 nvlist_lookup_uint64(rules[i], "isr_limit", in imc_restore_sad() 364 if (nvlist_lookup_uint64(rules[i], "itr_base", in imc_restore_tad() 366 nvlist_lookup_uint64(rules[i], "itr_limit", in imc_restore_tad() 433 nvlist_lookup_uint64(dimms[i], "idimm_size", in imc_restore_channel() 452 nvlist_lookup_uint64(rir[i], "irle_limit", in imc_restore_channel() 465 nvlist_lookup_uint64(ileaves[j], "irle_offset", in imc_restore_channel()
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/ |
H A D | loki.c | 92 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_TYPE, in sun_loki_parse_node() 102 VERIFY(nvlist_lookup_uint64(props, SES_PROP_ELEMENT_CLASS_INDEX, in sun_loki_parse_node() 125 VERIFY(nvlist_lookup_uint64(lid, SPC3_NAA_INT, &wwn) == 0); in sun_loki_parse_node()
|
/illumos-gate/usr/src/cmd/fm/schemes/hc/ |
H A D | scheme.c | 260 FM_FMRI_HC_SPECIFIC, &hcsp) != 0 || (nvlist_lookup_uint64(hcsp, in fmd_fmri_contains() 262 nvlist_lookup_uint64(hcsp, "asru-" FM_FMRI_HC_SPECIFIC_OFFSET, in fmd_fmri_contains() 270 (nvlist_lookup_uint64(hcsp, FM_FMRI_HC_SPECIFIC_OFFSET, in fmd_fmri_contains() 271 &eeoff) == 0 || nvlist_lookup_uint64(hcsp, "asru-" in fmd_fmri_contains()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mem.c | 210 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()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 191 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()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev.c | 619 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_NPARITY, in vdev_alloc() 692 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in vdev_alloc() 733 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ASIZE, in vdev_alloc() 735 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_REMOVING, in vdev_alloc() 753 (void) nvlist_lookup_uint64(nv, in vdev_alloc() 767 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_DTL, in vdev_alloc() 769 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_UNSPARE, in vdev_alloc() 776 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_SPARE, in vdev_alloc() 781 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_OFFLINE, in vdev_alloc() 797 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_FAULTED, in vdev_alloc() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_page.c | 120 (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()
|
/illumos-gate/usr/src/cmd/availdevs/ |
H A D | availdevs.c | 132 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &guid) || in add_pool_to_xml() 133 nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, &version) || in add_pool_to_xml() 134 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE, &state) || in add_pool_to_xml()
|