Lines Matching refs:prop

247 	scf_property_t *prop;
271 prop = scf_property_create(handle->handle);
278 if (iter == NULL || value == NULL || prop == NULL ||
285 while (scf_iter_next_property(iter, prop) > 0) {
287 if (scf_property_get_name(prop, name,
293 if (scf_property_get_value(prop, value) != 0)
317 if (prop != NULL)
318 scf_property_destroy(prop);
340 scf_property_t *prop;
346 prop = scf_property_create(handle->handle);
349 if (prop == NULL || value == NULL || valuestr == NULL ||
357 if (scf_pg_get_property(handle->pg, "state", prop) == 0) {
359 if (scf_property_get_value(prop, value) == 0) {
367 if (scf_pg_get_property(handle->pg, "zfs", prop) == 0) {
369 if (scf_property_get_value(prop, value) == 0) {
382 if (prop != NULL)
383 scf_property_destroy(prop);
471 scf_property_t *prop;
499 prop = scf_property_create(handle->handle);
521 if (iter == NULL || value == NULL || prop == NULL || name == NULL)
528 while (scf_iter_next_property(iter, prop) > 0) {
530 if (scf_property_get_name(prop, name, scf_max_name_len) > 0) {
531 if (scf_property_get_value(prop, value) == 0) {
574 scf_iter_property_values(viter, prop) == 0) {
623 if (prop != NULL)
624 scf_property_destroy(prop);
707 scf_property_t *prop = NULL;
814 prop = scf_property_create(handle->handle);
818 if (iter == NULL || value == NULL || prop == NULL || name == NULL)
823 while (scf_iter_next_property(iter, prop) > 0) {
825 if (scf_property_get_name(prop, name,
827 if (scf_property_get_value(prop, value) == 0) {
837 sa_property_t prop;
838 prop = sa_create_property(name, valuestr);
839 if (prop != NULL)
840 prop = (sa_property_t)xmlAddChild(node,
841 (xmlNodePtr)prop);
854 if (prop != NULL)
855 scf_property_destroy(prop);
1060 scf_property_t *prop;
1066 prop = scf_property_create(handle->handle);
1070 if (prop == NULL || value == NULL || vallen == 0 ||
1074 if (scf_pg_get_property(handle->pg, "legacy-timestamp", prop) != 0)
1078 if (scf_property_get_value(prop, value) == 0) {
1095 if (prop != NULL)
1096 scf_property_destroy(prop);
1432 * sa_set_property(handle, prop, value)
1519 * sa_set_resource_property(handle, prop, value)