writer 18 daemons/attrd/attrd_elections.c static election_t *writer = NULL; writer 36 daemons/attrd/attrd_elections.c writer = election_init(T_ATTRD, attrd_cluster->uname, 120000, writer 43 daemons/attrd/attrd_elections.c election_fini(writer); writer 50 daemons/attrd/attrd_elections.c && (election_state(writer) != election_in_progress) writer 54 daemons/attrd/attrd_elections.c election_vote(writer); writer 61 daemons/attrd/attrd_elections.c return (election_state(writer) == election_won); writer 68 daemons/attrd/attrd_elections.c enum election_result previous = election_state(writer); writer 73 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down()); writer 81 daemons/attrd/attrd_elections.c election_vote(writer); writer 104 daemons/attrd/attrd_elections.c election_check(writer); writer 120 daemons/attrd/attrd_elections.c if ((election_state(writer) == election_won) writer 124 daemons/attrd/attrd_elections.c election_vote(writer); writer 146 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); writer 155 daemons/attrd/attrd_elections.c election_clear_dampening(writer); writer 169 daemons/attrd/attrd_elections.c } else if (election_state(writer) == election_in_progress) { writer 171 daemons/attrd/attrd_elections.c election_check(writer); writer 178 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))