Lines Matching refs:len
271 uint_t len = FAB_HC2DEV_QUERY_SIZE_MIN + strlen(hc_path);
273 query = fmd_hdl_alloc(hdl, len, FMD_SLEEP);
274 (void) snprintf(query, len, "//propval[@name='resource' and contains("
281 fmd_hdl_free(hdl, query, len);
292 size_t len = 0, buf_size = 0;
312 len += snprintf(buf + len, buf_size - len, "/%s=%s", name, id);
325 size_t len;
327 if (! fab_hc_path(hdl, detector, &hcl, &len))
332 fmd_hdl_free(hdl, hcl, len);
338 fab_get_hcpath(fmd_hdl_t *hdl, nvlist_t *nvl, char **hcpath, size_t *len)
348 return (fab_hc_path(hdl, detector, hcpath, len));
357 size_t len;
365 if (!fab_get_hcpath(hdl, nvl, &hcpath, &len))
386 fmd_hdl_free(hdl, hcpath, len);
401 size_t len;
413 if (!fab_get_hcpath(hdl, nvl, &hcpath, &len))
435 fmd_hdl_free(hdl, hcpath, len);
895 size_t len;
898 if (!fab_get_hcpath(hdl, erpt, &hbpath, &len)) {
911 fmd_hdl_free(hdl, hbpath, len);