10 #ifndef PE_INTERNAL__H 11 # define PE_INTERNAL__H 48 # define pe_rsc_info(rsc, fmt, args...) crm_log_tag(LOG_INFO, rsc ? rsc->id : "<NULL>", fmt, ##args) 49 # define pe_rsc_debug(rsc, fmt, args...) crm_log_tag(LOG_DEBUG, rsc ? rsc->id : "<NULL>", fmt, ##args) 50 # define pe_rsc_trace(rsc, fmt, args...) crm_log_tag(LOG_TRACE, rsc ? rsc->id : "<NULL>", fmt, ##args) 52 # define pe_err(fmt...) do { \ 53 was_processing_error = TRUE; \ 54 pcmk__config_err(fmt); \ 57 # define pe_warn(fmt...) do { \ 58 was_processing_warning = TRUE; \ 59 pcmk__config_warn(fmt); \ 62 # define pe_proc_err(fmt...) { was_processing_error = TRUE; crm_err(fmt); } 63 # define pe_proc_warn(fmt...) { was_processing_warning = TRUE; crm_warn(fmt); } 65 #define pe__set_working_set_flags(working_set, flags_to_set) do { \ 66 (working_set)->flags = pcmk__set_flags_as(__func__, __LINE__, \ 67 LOG_TRACE, "Working set", crm_system_name, \ 68 (working_set)->flags, (flags_to_set), #flags_to_set); \ 71 #define pe__clear_working_set_flags(working_set, flags_to_clear) do { \ 72 (working_set)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ 73 LOG_TRACE, "Working set", crm_system_name, \ 74 (working_set)->flags, (flags_to_clear), #flags_to_clear); \ 77 #define pe__set_resource_flags(resource, flags_to_set) do { \ 78 (resource)->flags = pcmk__set_flags_as(__func__, __LINE__, \ 79 LOG_TRACE, "Resource", (resource)->id, (resource)->flags, \ 80 (flags_to_set), #flags_to_set); \ 83 #define pe__clear_resource_flags(resource, flags_to_clear) do { \ 84 (resource)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ 85 LOG_TRACE, "Resource", (resource)->id, (resource)->flags, \ 86 (flags_to_clear), #flags_to_clear); \ 89 #define pe__set_action_flags(action, flags_to_set) do { \ 90 (action)->flags = pcmk__set_flags_as(__func__, __LINE__, \ 92 "Action", (action)->uuid, \ 98 #define pe__clear_action_flags(action, flags_to_clear) do { \ 99 (action)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ 101 "Action", (action)->uuid, \ 107 #define pe__set_raw_action_flags(action_flags, action_name, flags_to_set) do { \ 108 action_flags = pcmk__set_flags_as(__func__, __LINE__, \ 109 LOG_TRACE, "Action", action_name, \ 111 (flags_to_set), #flags_to_set); \ 114 #define pe__clear_raw_action_flags(action_flags, action_name, flags_to_clear) do { \ 115 action_flags = pcmk__clear_flags_as(__func__, __LINE__, \ 117 "Action", action_name, \ 123 #define pe__set_action_flags_as(function, line, action, flags_to_set) do { \ 124 (action)->flags = pcmk__set_flags_as((function), (line), \ 126 "Action", (action)->uuid, \ 132 #define pe__clear_action_flags_as(function, line, action, flags_to_clear) do { \ 133 (action)->flags = pcmk__clear_flags_as((function), (line), \ 135 "Action", (action)->uuid, \ 141 #define pe__set_order_flags(order_flags, flags_to_set) do { \ 142 order_flags = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, \ 143 "Ordering", "constraint", \ 144 order_flags, (flags_to_set), \ 148 #define pe__clear_order_flags(order_flags, flags_to_clear) do { \ 149 order_flags = pcmk__clear_flags_as(__func__, __LINE__, LOG_TRACE, \ 150 "Ordering", "constraint", \ 151 order_flags, (flags_to_clear), \ 175 extern uint32_t
pe_wo;
177 #define pe_warn_once(pe_wo_bit, fmt...) do { \ 178 if (!pcmk_is_set(pe_wo, pe_wo_bit)) { \ 179 if (pe_wo_bit == pe_wo_blind) { \ 184 pe_wo = pcmk__set_flags_as(__func__, __LINE__, LOG_TRACE, \ 185 "Warn-once", "logging", pe_wo, \ 186 (pe_wo_bit), #pe_wo_bit); \ 215 bool include_bundle);
229 bool optional,
bool runnable);
277 const pe_node_t *node, uint32_t show_opts,
278 const char *target_role,
bool show_nodes);
281 ,
size_t pairs_count, ...);
291 static inline const char *
292 pe__rsc_bool_str(
const pe_resource_t *rsc, uint64_t rsc_flag)
340 time_t *last_failure, uint32_t
flags,
341 const xmlNode *xml_op);
350 pe_node_t **active,
unsigned int *count_all,
351 unsigned int *count_clean);
354 unsigned int *count);
359 return (rsc == NULL)? NULL : rsc->
fns->
active_node(rsc, NULL, NULL);
364 extern void node_list_exclude(GHashTable * list, GList *list2, gboolean merge_scores);
368 static inline gpointer
369 pe_hash_table_lookup(GHashTable * hash, gconstpointer key)
372 return g_hash_table_lookup(hash, key);
382 const char *comment, GHashTable *nodes,
385 #define pe__show_node_weights(level, rsc, text, nodes, data_set) \ 386 pe__show_node_weights_as(__FILE__, __func__, __LINE__, \ 387 (level), (rsc), (text), (nodes), (data_set)) 392 const pe_node_t *on_node, gboolean optional,
395 # define delete_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_DELETE, 0) 396 # define delete_action(rsc, node, optional) custom_action( \ 397 rsc, delete_key(rsc), CRMD_ACTION_DELETE, node, \ 398 optional, TRUE, rsc->cluster); 400 # define stopped_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_STOPPED, 0) 401 # define stopped_action(rsc, node, optional) custom_action( \ 402 rsc, stopped_key(rsc), CRMD_ACTION_STOPPED, node, \ 403 optional, TRUE, rsc->cluster); 405 # define stop_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_STOP, 0) 406 # define stop_action(rsc, node, optional) custom_action( \ 407 rsc, stop_key(rsc), CRMD_ACTION_STOP, node, \ 408 optional, TRUE, rsc->cluster); 410 # define reload_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_RELOAD_AGENT, 0) 411 # define start_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_START, 0) 412 # define start_action(rsc, node, optional) custom_action( \ 413 rsc, start_key(rsc), CRMD_ACTION_START, node, \ 414 optional, TRUE, rsc->cluster) 416 # define started_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_STARTED, 0) 417 # define started_action(rsc, node, optional) custom_action( \ 418 rsc, started_key(rsc), CRMD_ACTION_STARTED, node, \ 419 optional, TRUE, rsc->cluster) 421 # define promote_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_PROMOTE, 0) 422 # define promote_action(rsc, node, optional) custom_action( \ 423 rsc, promote_key(rsc), CRMD_ACTION_PROMOTE, node, \ 424 optional, TRUE, rsc->cluster) 426 # define promoted_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_PROMOTED, 0) 427 # define promoted_action(rsc, node, optional) custom_action( \ 428 rsc, promoted_key(rsc), CRMD_ACTION_PROMOTED, node, \ 429 optional, TRUE, rsc->cluster) 431 # define demote_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_DEMOTE, 0) 432 # define demote_action(rsc, node, optional) custom_action( \ 433 rsc, demote_key(rsc), CRMD_ACTION_DEMOTE, node, \ 434 optional, TRUE, rsc->cluster) 436 # define demoted_key(rsc) pcmk__op_key(rsc->id, CRMD_ACTION_DEMOTED, 0) 437 # define demoted_action(rsc, node, optional) custom_action( \ 438 rsc, demoted_key(rsc), CRMD_ACTION_DEMOTED, node, \ 439 optional, TRUE, rsc->cluster) 445 const char *task,
const pe_node_t *on_node);
453 const char *task,
bool require_node);
461 bool same_node_default);
481 if (
id && rsc && rsc->
id) {
485 return (strlen(
id) == base_len) && !strncmp(
id, rsc->
id, base_len);
520 const xmlNode *xml_op,
521 GHashTable *overrides,
528 const xmlNode *xml_op,
533 const char *reason,
bool priority_delay,
547 gboolean
add_tag_ref(GHashTable * tags,
const char * tag_name,
const char * obj_ref);
551 void * print_data, gboolean print_all);
560 const pe_node_t *node,
long options,
void *print_data);
563 unsigned int options);
566 unsigned int options);
578 xmlNode *xml,
const char *field);
607 GHashTable *hash,
const char *always_first,
629 gboolean check_parent);
631 gboolean check_parent);
633 gboolean check_parent);
635 gboolean check_parent);
667 static inline const char *
671 return "unspecified node";
680 return "unidentified node";
708 static inline const char *
709 pe__xe_history_key(
const xmlNode *xml)
720 return pcmk__str_empty(key)?
ID(xml) : key;
int pe__node_health(pe_node_t *node)
gboolean get_target_role(const pe_resource_t *rsc, enum rsc_role_e *role)
void verify_pe_options(GHashTable *options)
xmlNode * find_rsc_op_entry(const pe_resource_t *rsc, const char *key)
enum rsc_role_e role_filter
void pe__clear_resource_flags_recursive(pe_resource_t *rsc, uint64_t flags)
const char * pe_node_attribute_calculated(const pe_node_t *node, const char *name, const pe_resource_t *rsc)
void group_free(pe_resource_t *rsc)
gboolean pe__bundle_is_filtered(const pe_resource_t *rsc, GList *only_rsc, gboolean check_parent)
void group_print(pe_resource_t *rsc, const char *pre_text, long options, void *print_data)
GList * pe__build_rsc_list(pe_working_set_t *data_set, const char *s)
void pe__foreach_param_check(pe_working_set_t *data_set, void(*cb)(pe_resource_t *, pe_node_t *, const xmlNode *, enum pe_check_parameters))
void pe__free_clone_notification_data(pe_resource_t *clone)
void pe__update_recheck_time(time_t recheck, pe_working_set_t *data_set)
gint pe__cmp_node_name(gconstpointer a, gconstpointer b)
void pe__free_bundle(pe_resource_t *rsc)
int pe__clone_promoted_max(const pe_resource_t *clone)
GList * find_actions(GList *input, const char *key, const pe_node_t *on_node)
int pe__target_rc_from_xml(const xmlNode *xml_op)
enum rsc_role_e pe__bundle_resource_state(const pe_resource_t *rsc, gboolean current)
struct op_digest_cache_s op_digest_cache_t
void pe__count_common(pe_resource_t *rsc)
gboolean group_active(pe_resource_t *rsc, gboolean all)
int pe__is_newer_op(const xmlNode *xml_a, const xmlNode *xml_b, bool same_node_default)
int pe__group_default(pcmk__output_t *out, va_list args)
pe_action_t * find_first_action(const GList *input, const char *uuid, const char *task, const pe_node_t *on_node)
int char2score(const char *score)
Get the integer value of a score string.
pe_node_t * native_location(const pe_resource_t *rsc, GList **list, int current)
int pe__set_clone_flag(pe_resource_t *clone, enum pe__clone_flags flag)
resource_object_functions_t * fns
pe_node_t * pe__copy_node(const pe_node_t *this_node)
int pe__clone_default(pcmk__output_t *out, va_list args)
void print_rscs_brief(GList *rsc_list, const char *pre_text, long options, void *print_data, gboolean print_all)
void node_list_exclude(GHashTable *list, GList *list2, gboolean merge_scores)
gint sort_op_by_callid(gconstpointer a, gconstpointer b)
bool pe__resource_is_disabled(const pe_resource_t *rsc)
gboolean pe__native_is_filtered(const pe_resource_t *rsc, GList *only_rsc, gboolean check_parent)
const pe_resource_t * pe__const_top_resource(const pe_resource_t *rsc, bool include_bundle)
time_t get_effective_time(pe_working_set_t *data_set)
const char * pe_pref(GHashTable *options, const char *name)
pe_action_t * pe__new_rsc_pseudo_action(pe_resource_t *rsc, const char *task, bool optional, bool runnable)
enum crm_ais_msg_types type
bool pe__rsc_running_on_any(pe_resource_t *rsc, GList *node_list)
void resource_location(pe_resource_t *rsc, const pe_node_t *node, int score, const char *tag, pe_working_set_t *data_set)
enum pcmk__health_strategy pcmk__parse_health_strategy(const char *value)
int pe__resource_text(pcmk__output_t *out, va_list args)
const char * pe__resource_description(const pe_resource_t *rsc, uint32_t show_opts)
void pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, void *print_data)
bool pe__bundle_needs_remote_name(pe_resource_t *rsc)
int pe__clone_max(const pe_resource_t *clone)
bool pe__shutdown_requested(const pe_node_t *node)
gboolean pe__unpack_bundle(pe_resource_t *rsc, pe_working_set_t *data_set)
char * pe__node_display_name(pe_node_t *node, bool print_detail)
int pe__bundle_html(pcmk__output_t *out, va_list args)
bool pe__uname_has_tag(pe_working_set_t *data_set, const char *node, const char *tag)
void native_free(pe_resource_t *rsc)
GList * pe__rscs_with_tag(pe_working_set_t *data_set, const char *tag_name)
void trigger_unfencing(pe_resource_t *rsc, pe_node_t *node, const char *reason, pe_action_t *dependency, pe_working_set_t *data_set)
void clone_free(pe_resource_t *rsc)
pe_node_t *(* active_node)(const pe_resource_t *rsc, unsigned int *count_all, unsigned int *count_clean)
GList * pe__filter_rsc_list(GList *rscs, GList *filter)
#define XML_LRM_ATTR_TASK_KEY
enum rsc_role_e group_resource_state(const pe_resource_t *rsc, gboolean current)
GList * pe__bundle_containers(const pe_resource_t *bundle)
void pe__set_resource_flags_recursive(pe_resource_t *rsc, uint64_t flags)
pe_resource_t * pe__find_bundle_replica(const pe_resource_t *bundle, const pe_node_t *node)
enum rsc_role_e clone_resource_state(const pe_resource_t *rsc, gboolean current)
enum pe_discover_e discover_mode
Formatted output for pacemaker tools.
void pe_action_set_reason(pe_action_t *action, const char *reason, bool overwrite)
bool pe_can_fence(const pe_working_set_t *data_set, const pe_node_t *node)
int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, unsigned int options)
struct pe__order_constraint_s pe__ordering_t
int pe__bundle_text(pcmk__output_t *out, va_list args)
pe_action_t * get_pseudo_op(const char *name, pe_working_set_t *data_set)
int pe__clone_node_max(const pe_resource_t *clone)
gboolean clone_active(pe_resource_t *rsc, gboolean all)
const char * crm_element_value(const xmlNode *data, const char *name)
Retrieve the value of an XML attribute.
const char * pe_node_attribute_raw(const pe_node_t *node, const char *name)
char * clone_strip(const char *last_rsc_id)
int pe__name_and_nvpairs_xml(pcmk__output_t *out, bool is_list, const char *tag_name, size_t pairs_count,...)
void pe__add_action_expected_result(pe_action_t *action, int expected_result)
bool pe__rsc_has_tag(pe_working_set_t *data_set, const char *rsc, const char *tag)
pe_ticket_t * ticket_new(const char *ticket_id, pe_working_set_t *data_set)
char * native_parameter(pe_resource_t *rsc, pe_node_t *node, gboolean create, const char *name, pe_working_set_t *data_set)
enum rsc_digest_cmp_val rc
void pe_fence_node(pe_working_set_t *data_set, pe_node_t *node, const char *reason, bool priority_delay)
Schedule a fence action for a node.
int pe__clone_xml(pcmk__output_t *out, va_list args)
char * digest_secure_calc
#define pcmk_is_set(g, f)
Convenience alias for pcmk_all_flags_set(), to check single flag.
pe_action_t * pe__clear_failcount(pe_resource_t *rsc, const pe_node_t *node, const char *reason, pe_working_set_t *data_set)
Schedule a controller operation to clear a fail count.
int pe__clone_promoted_node_max(const pe_resource_t *clone)
struct pe_node_shared_s * details
void pe_metadata(pcmk__output_t *out)
void pe__create_promotable_pseudo_ops(pe_resource_t *clone, bool any_promoting, bool any_demoting)
void common_free(pe_resource_t *rsc)
gboolean order_actions(pe_action_t *lh_action, pe_action_t *rh_action, enum pe_ordering order)
pe_working_set_t * data_set
gboolean add_tag_ref(GHashTable *tags, const char *tag_name, const char *obj_ref)
bool pe__rsc_running_on_only(const pe_resource_t *rsc, const pe_node_t *node)
const char * pe__clone_child_id(const pe_resource_t *rsc)
gchar * pcmk__native_output_string(const pe_resource_t *rsc, const char *name, const pe_node_t *node, uint32_t show_opts, const char *target_role, bool show_nodes)
enum rsc_role_e native_resource_state(const pe_resource_t *rsc, gboolean current)
void clone_print(pe_resource_t *rsc, const char *pre_text, long options, void *print_data)
GHashTable * pe__node_list2table(const GList *list)
void pe__add_param_check(const xmlNode *rsc_op, pe_resource_t *rsc, pe_node_t *node, enum pe_check_parameters, pe_working_set_t *data_set)
void pe__create_clone_notif_pseudo_ops(pe_resource_t *clone, pe_action_t *start, pe_action_t *started, pe_action_t *stop, pe_action_t *stopped)
bool pe__is_universal_clone(const pe_resource_t *rsc, const pe_working_set_t *data_set)
void native_print(pe_resource_t *rsc, const char *pre_text, long options, void *print_data)
bool is_set_recursive(const pe_resource_t *rsc, long long flag, bool any)
pe_resource_t * find_clone_instance(const pe_resource_t *rsc, const char *sub_id)
void pe__free_digests(gpointer ptr)
void pe__register_messages(pcmk__output_t *out)
int pe_get_configured_timeout(pe_resource_t *rsc, const char *action, pe_working_set_t *data_set)
#define PCMK__OPT_NODE_HEALTH_STRATEGY
void pe__free_param_checks(pe_working_set_t *data_set)
const char * pe__add_bundle_remote_name(pe_resource_t *rsc, pe_working_set_t *data_set, xmlNode *xml, const char *field)
gboolean native_active(pe_resource_t *rsc, gboolean all)
int pe__resource_xml(pcmk__output_t *out, va_list args)
bool pe__count_active_node(const pe_resource_t *rsc, pe_node_t *node, pe_node_t **active, unsigned int *count_all, unsigned int *count_clean)
GList * pe__build_node_name_list(pe_working_set_t *data_set, const char *s)
pe_resource_t * pe__last_group_member(const pe_resource_t *group)
int pe__bundle_xml(pcmk__output_t *out, va_list args)
void pe__show_node_weights_as(const char *file, const char *function, int line, bool to_log, const pe_resource_t *rsc, const char *comment, GHashTable *nodes, pe_working_set_t *data_set)
char * pe__action2reason(const pe_action_t *action, enum pe_action_flags flag)
Cluster status and scheduling.
pe_action_t * pe__clear_resource_history(pe_resource_t *rsc, const pe_node_t *node, pe_working_set_t *data_set)
bool pcmk__rsc_filtered_by_node(pe_resource_t *rsc, GList *only_node)
pe_resource_t * native_find_rsc(pe_resource_t *rsc, const char *id, const pe_node_t *node, int flags)
int pe__node_text(pcmk__output_t *out, va_list args)
void add_hash_param(GHashTable *hash, const char *name, const char *value)
gboolean clone_unpack(pe_resource_t *rsc, pe_working_set_t *data_set)
bool pe__clone_is_ordered(const pe_resource_t *clone)
void pe__set_next_role(pe_resource_t *rsc, enum rsc_role_e role, const char *why)
char * clone_zero(const char *last_rsc_id)
gboolean pe__clone_is_filtered(const pe_resource_t *rsc, GList *only_rsc, gboolean check_parent)
int pe__node_xml(pcmk__output_t *out, va_list args)
int pe__group_xml(pcmk__output_t *out, va_list args)
This structure contains everything that makes up a single output formatter.
int pe__bundle_max(const pe_resource_t *rsc)
void pe__clear_resource_flags_on_all(pe_working_set_t *data_set, uint64_t flag)
void native_add_running(pe_resource_t *rsc, pe_node_t *node, pe_working_set_t *data_set, gboolean failed)
int pe__bundle_max_per_node(const pe_resource_t *rsc)
int pe__resource_html(pcmk__output_t *out, va_list args)
gboolean pe__group_is_filtered(const pe_resource_t *rsc, GList *only_rsc, gboolean check_parent)
rsc_role_e
Possible roles that a resource can be in.
pe_node_t * pe_create_node(const char *id, const char *uname, const char *type, const char *score, pe_working_set_t *data_set)
void destroy_ticket(gpointer data)
int pe__node_html(pcmk__output_t *out, va_list args)
int pe__common_output_text(pcmk__output_t *out, const pe_resource_t *rsc, const char *name, const pe_node_t *node, unsigned int options)
void pe__create_clone_notifications(pe_resource_t *clone)
enum action_tasks get_complex_task(const pe_resource_t *rsc, const char *name)
void pe__unpack_dataset_nvpairs(const xmlNode *xml_obj, const char *set_name, const pe_rule_eval_data_t *rule_data, GHashTable *hash, const char *always_first, gboolean overwrite, pe_working_set_t *data_set)
GList * find_actions_exact(GList *input, const char *key, const pe_node_t *on_node)
op_digest_cache_t * pe__calculate_digests(pe_resource_t *rsc, const char *task, guint *interval_ms, const pe_node_t *node, const xmlNode *xml_op, GHashTable *overrides, bool calc_secure, pe_working_set_t *data_set)
pe_node_t * pe__find_active_requires(const pe_resource_t *rsc, unsigned int *count)
bool pe__group_flag_is_set(const pe_resource_t *group, uint32_t flags)
GList * pe__resource_actions(const pe_resource_t *rsc, const pe_node_t *node, const char *task, bool require_node)
Find all actions of given type for a resource.
int pe__common_output_html(pcmk__output_t *out, const pe_resource_t *rsc, const char *name, const pe_node_t *node, unsigned int options)
GList * pe__unames_with_tag(pe_working_set_t *data_set, const char *tag_name)
gboolean native_unpack(pe_resource_t *rsc, pe_working_set_t *data_set)
int pe_get_failcount(const pe_node_t *node, pe_resource_t *rsc, time_t *last_failure, uint32_t flags, const xmlNode *xml_op)
pe_action_t * custom_action(pe_resource_t *rsc, char *key, const char *task, const pe_node_t *on_node, gboolean optional, gboolean foo, pe_working_set_t *data_set)
Create or update an action object.
op_digest_cache_t * rsc_action_digest_cmp(pe_resource_t *rsc, const xmlNode *xml_op, pe_node_t *node, pe_working_set_t *data_set)
void pe__order_notifs_after_fencing(const pe_action_t *action, pe_resource_t *rsc, pe_action_t *stonith_op)
const char * pe_base_name_end(const char *id)
int pe__sum_node_health_scores(const pe_node_t *node, int base_health)
struct pe__location_constraint_s pe__location_t
void common_print(pe_resource_t *rsc, const char *pre_text, const char *name, const pe_node_t *node, long options, void *print_data)
char * digest_restart_calc
void pe__count_bundle(pe_resource_t *rsc)
pe_action_t * pe_fence_op(pe_node_t *node, const char *op, bool optional, const char *reason, bool priority_delay, pe_working_set_t *data_set)
void pe_free_action(pe_action_t *action)
xmlNode * pe__failed_probe_for_rsc(const pe_resource_t *rsc, const char *name)
gboolean pe__bundle_active(pe_resource_t *rsc, gboolean all)
gboolean group_unpack(pe_resource_t *rsc, pe_working_set_t *data_set)