Lines Matching refs:propget
2338 pool_propget_t propget = { 0 }; in pool_knl_get_dynamic_property() local
2342 propget.pp_o_id_type = pool_elem_class(pe); in pool_knl_get_dynamic_property()
2345 propget.pp_o_id_subtype = pool_resource_elem_class(pe); in pool_knl_get_dynamic_property()
2347 propget.pp_o_id_subtype = in pool_knl_get_dynamic_property()
2350 propget.pp_o_id = elem_get_sysid(pe); in pool_knl_get_dynamic_property()
2351 propget.pp_o_prop_name_size = strlen(name); in pool_knl_get_dynamic_property()
2352 propget.pp_o_prop_name = (char *)name; in pool_knl_get_dynamic_property()
2353 propget.pp_i_bufsize = KERNEL_SNAPSHOT_BUF_SZ; in pool_knl_get_dynamic_property()
2354 propget.pp_i_buf = malloc(KERNEL_SNAPSHOT_BUF_SZ); in pool_knl_get_dynamic_property()
2355 bzero(propget.pp_i_buf, KERNEL_SNAPSHOT_BUF_SZ); in pool_knl_get_dynamic_property()
2358 if (ioctl(prov->pkc_fd, POOL_PROPGET, &propget) < 0) { in pool_knl_get_dynamic_property()
2359 free(propget.pp_i_buf); in pool_knl_get_dynamic_property()
2363 if (nvlist_unpack(propget.pp_i_buf, propget.pp_i_bufsize, in pool_knl_get_dynamic_property()
2365 free(propget.pp_i_buf); in pool_knl_get_dynamic_property()
2369 free(propget.pp_i_buf); in pool_knl_get_dynamic_property()