Lines Matching defs:prop

347 elem_name_init(pool_prop_t *prop)
349 return (string_init(prop, "default"));
353 elem_comment_init(pool_prop_t *prop)
355 return (string_init(prop, ""));
359 pool_importance_init(pool_prop_t *prop)
361 return (int_init(prop, 1));
365 pool_active_init(pool_prop_t *prop)
367 return (bool_init(prop, PO_TRUE));
371 res_max_init(pool_prop_t *prop)
373 return (uint_init(prop, 0));
377 res_min_init(pool_prop_t *prop)
379 return (uint_init(prop, 0));
383 res_size_init(pool_prop_t *prop)
385 return (uint_init(prop, 0));
389 res_load_init(pool_prop_t *prop)
391 return (uint_init(prop, 0));
395 pset_units_init(pool_prop_t *prop)
397 return (string_init(prop, "population"));
401 cpu_status_init(pool_prop_t *prop)
403 return (string_init(prop, PS_ONLINE));
742 uint_init(pool_prop_t *prop, uint64_t val)
744 pool_value_set_uint64(&prop->pp_value, val);
754 int_init(pool_prop_t *prop, int64_t val)
756 pool_value_set_int64(&prop->pp_value, val);
766 double_init(pool_prop_t *prop, double val)
768 pool_value_set_double(&prop->pp_value, val);
778 bool_init(pool_prop_t *prop, uchar_t val)
780 pool_value_set_bool(&prop->pp_value, val);
790 string_init(pool_prop_t *prop, const char *val)
792 return (pool_value_set_string(&prop->pp_value, val));
869 prop_is_type(int prop_type, const pool_prop_t *prop)
871 return ((prop->pp_perms & prop_type) ? PO_TRUE : PO_FALSE);
879 prop_is_stored(const pool_prop_t *prop)
881 return (prop_is_type(PP_STORED, prop));
889 prop_is_readonly(const pool_prop_t *prop)
891 return (prop_is_type(PP_READ, prop));
900 prop_is_init(const pool_prop_t *prop)
902 return (prop_is_type(PP_INIT, prop));
910 prop_is_hidden(const pool_prop_t *prop)
912 return (prop_is_type(PP_HIDDEN, prop));
920 prop_is_optional(const pool_prop_t *prop)
922 return (prop_is_type(PP_OPTIONAL, prop));
1662 const char *prop, int64_t delta)
1673 if (strcmp(prop, c_min_prop) && strcmp(prop, c_max_prop)) {
1697 if (pool_get_ns_property(TO_ELEM(rl[i]), prop,
1749 if (strcmp(prop, c_min_prop) == 0) {