writer 18 daemons/attrd/attrd_elections.c static election_t *writer = NULL; writer 38 daemons/attrd/attrd_elections.c writer = election_init(T_ATTRD, attrd_cluster->uname, 120000, writer 45 daemons/attrd/attrd_elections.c election_fini(writer); writer 52 daemons/attrd/attrd_elections.c && (election_state(writer) != election_in_progress) writer 56 daemons/attrd/attrd_elections.c election_vote(writer); writer 63 daemons/attrd/attrd_elections.c return (election_state(writer) == election_won); writer 70 daemons/attrd/attrd_elections.c enum election_result previous = election_state(writer); writer 75 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down(false)); writer 83 daemons/attrd/attrd_elections.c election_vote(writer); writer 106 daemons/attrd/attrd_elections.c election_check(writer); writer 122 daemons/attrd/attrd_elections.c if ((election_state(writer) == election_won) writer 126 daemons/attrd/attrd_elections.c election_vote(writer); writer 148 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); writer 157 daemons/attrd/attrd_elections.c election_clear_dampening(writer); writer 171 daemons/attrd/attrd_elections.c } else if (election_state(writer) == election_in_progress) { writer 173 daemons/attrd/attrd_elections.c election_check(writer); writer 180 daemons/attrd/attrd_elections.c crm_xml_add_int(xml, PCMK__XA_ATTR_WRITER, election_state(writer)); writer 66 maint/gnulib/tests/test-rwlock1.c static gl_thread_t writer; writer 148 maint/gnulib/tests/test-rwlock1.c if (glthread_create (&writer, writer_func, NULL))