writer 16 daemons/attrd/attrd_elections.c static election_t *writer = NULL; writer 21 daemons/attrd/attrd_elections.c writer = election_init(T_ATTRD, attrd_cluster->uname, 120000, writer 28 daemons/attrd/attrd_elections.c election_fini(writer); writer 35 daemons/attrd/attrd_elections.c && (election_state(writer) != election_in_progress) writer 39 daemons/attrd/attrd_elections.c election_vote(writer); writer 46 daemons/attrd/attrd_elections.c return (election_state(writer) == election_won); writer 53 daemons/attrd/attrd_elections.c enum election_result previous = election_state(writer); writer 58 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down()); writer 66 daemons/attrd/attrd_elections.c election_vote(writer); writer 90 daemons/attrd/attrd_elections.c election_check(writer); writer 106 daemons/attrd/attrd_elections.c if ((election_state(writer) == election_won) writer 110 daemons/attrd/attrd_elections.c election_vote(writer); writer 134 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); writer 143 daemons/attrd/attrd_elections.c election_clear_dampening(writer); writer 158 daemons/attrd/attrd_elections.c crm_xml_add_int(xml, PCMK__XA_ATTR_WRITER, election_state(writer));