Home
last modified time | relevance | path

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

12345

/illumos-gate/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()
/illumos-gate/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()
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 Dlibzfs_import.c86 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 Dlibzfs_status.c216 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 Dlibzfs_pool.c133 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 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()
/illumos-gate/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.c69 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 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()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/fs.d/zfs/fstyp/
H A Dfstyp.c104 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 Dzutil_import.c307 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/modules/common/zfs-retire/
H A Dzfs_retire.c112 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0 && in find_vdev()
352 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, in zfs_vdev_repair()
353 &pool_guid) != 0 || nvlist_lookup_uint64(nvl, in zfs_vdev_repair()
449 if (nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_POOL_GUID, in zfs_retire_recv()
451 nvlist_lookup_uint64(nvl, FM_EREPORT_PAYLOAD_ZFS_VDEV_GUID, in zfs_retire_recv()
556 (void) nvlist_lookup_uint64(vdev, in zfs_retire_recv()
573 if (nvlist_lookup_uint64(resource, FM_FMRI_ZFS_POOL, in zfs_retire_recv()
577 if (nvlist_lookup_uint64(resource, FM_FMRI_ZFS_VDEV, in zfs_retire_recv()
/illumos-gate/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()
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/
H A Dlibses.c45 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 Dzfs_mod.c168 (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 Dimc_dump.c288 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 Dloki.c92 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 Dscheme.c260 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 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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev.c631 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_NPARITY, in vdev_alloc()
704 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_WHOLE_DISK, in vdev_alloc()
745 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_ASIZE, in vdev_alloc()
747 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_REMOVING, in vdev_alloc()
765 (void) nvlist_lookup_uint64(nv, in vdev_alloc()
779 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_DTL, in vdev_alloc()
781 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_UNSPARE, in vdev_alloc()
788 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_SPARE, in vdev_alloc()
793 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_OFFLINE, in vdev_alloc()
809 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_FAULTED, in vdev_alloc()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/availdevs/
H A Davaildevs.c132 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()

12345