pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
native.c File Reference
#include <crm_internal.h>
#include <stdbool.h>
#include <stdint.h>
#include <crm/common/output.h>
#include <crm/pengine/status.h>
#include <crm/pengine/complex.h>
#include <crm/pengine/internal.h>
#include <crm/common/xml.h>
#include <pe_status_private.h>
Include dependency graph for native.c:

Go to the source code of this file.

Functions

void native_add_running (pcmk_resource_t *rsc, pcmk_node_t *node, pcmk_scheduler_t *scheduler, gboolean failed)
 
bool native_unpack (pcmk_resource_t *rsc)
 
pcmk_resource_tnative_find_rsc (pcmk_resource_t *rsc, const char *id, const pcmk_node_t *on_node, uint32_t flags)
 
bool native_active (const pcmk_resource_t *rsc, bool all)
 
gchar * pcmk__native_output_string (const pcmk_resource_t *rsc, const char *name, const pcmk_node_t *node, uint32_t show_opts, const char *target_role, bool show_nodes)
 
int pe__common_output_html (pcmk__output_t *out, const pcmk_resource_t *rsc, const char *name, const pcmk_node_t *node, uint32_t show_opts)
 
int pe__common_output_text (pcmk__output_t *out, const pcmk_resource_t *rsc, const char *name, const pcmk_node_t *node, uint32_t show_opts)
 
void native_free (pcmk_resource_t *rsc)
 
enum rsc_role_e native_resource_state (const pcmk_resource_t *rsc, bool current)
 
pcmk_node_tnative_location (const pcmk_resource_t *rsc, GList **list, uint32_t target)
 
int pe__rscs_brief_output (pcmk__output_t *out, GList *rsc_list, uint32_t show_opts)
 
bool pe__native_is_filtered (const pcmk_resource_t *rsc, const GList *only_rsc, bool check_parent)
 
unsigned int pe__primitive_max_per_node (const pcmk_resource_t *rsc)
 

Function Documentation

◆ native_active()

bool native_active ( const pcmk_resource_t * rsc,
bool all )

Definition at line 325 of file native.c.

◆ native_add_running()

void native_add_running ( pcmk_resource_t * rsc,
pcmk_node_t * node,
pcmk_scheduler_t * scheduler,
gboolean failed )

Definition at line 87 of file native.c.

◆ native_find_rsc()

pcmk_resource_t * native_find_rsc ( pcmk_resource_t * rsc,
const char * id,
const pcmk_node_t * on_node,
uint32_t flags )

Definition at line 270 of file native.c.

◆ native_free()

void native_free ( pcmk_resource_t * rsc)

Definition at line 867 of file native.c.

◆ native_location()

pcmk_node_t * native_location ( const pcmk_resource_t * rsc,
GList ** list,
uint32_t target )

Definition at line 897 of file native.c.

◆ native_resource_state()

enum rsc_role_e native_resource_state ( const pcmk_resource_t * rsc,
bool current )

Definition at line 874 of file native.c.

◆ native_unpack()

bool native_unpack ( pcmk_resource_t * rsc)

Definition at line 205 of file native.c.

◆ pcmk__native_output_string()

gchar * pcmk__native_output_string ( const pcmk_resource_t * rsc,
const char * name,
const pcmk_node_t * node,
uint32_t show_opts,
const char * target_role,
bool show_nodes )

Definition at line 473 of file native.c.

◆ pe__common_output_html()

int pe__common_output_html ( pcmk__output_t * out,
const pcmk_resource_t * rsc,
const char * name,
const pcmk_node_t * node,
uint32_t show_opts )

Definition at line 643 of file native.c.

◆ pe__common_output_text()

int pe__common_output_text ( pcmk__output_t * out,
const pcmk_resource_t * rsc,
const char * name,
const pcmk_node_t * node,
uint32_t show_opts )

Definition at line 697 of file native.c.

◆ pe__native_is_filtered()

bool pe__native_is_filtered ( const pcmk_resource_t * rsc,
const GList * only_rsc,
bool check_parent )

Definition at line 1129 of file native.c.

◆ pe__primitive_max_per_node()

unsigned int pe__primitive_max_per_node ( const pcmk_resource_t * rsc)

Definition at line 1153 of file native.c.

◆ pe__rscs_brief_output()

int pe__rscs_brief_output ( pcmk__output_t * out,
GList * rsc_list,
uint32_t show_opts )

Definition at line 1036 of file native.c.