Lines Matching defs:resource
813 nvlist_t *resource;
819 if ((resource = fm_nvlist_create(NULL)) == NULL)
824 VERIFY(nvlist_add_uint8(resource, FM_VERSION, FM_RSRC_VERSION) == 0);
825 VERIFY(nvlist_add_string(resource, FM_CLASS, class) == 0);
826 VERIFY(nvlist_add_uint64(resource,
829 VERIFY(nvlist_add_uint64(resource,
832 fm_ereport_post(resource, EVCH_SLEEP);
834 fm_nvlist_destroy(resource, FM_NVA_FREE);
839 * The 'resource.fs.zfs.removed' event is an internal signal that the given vdev
851 * The 'resource.fs.zfs.autoreplace' event is an internal signal that the pool
862 * The 'resource.fs.zfs.statechange' event is an internal signal that the