writer 18 daemons/attrd/attrd_elections.c static election_t *writer = NULL; writer 23 daemons/attrd/attrd_elections.c writer = election_init(T_ATTRD, attrd_cluster->uname, 120000, writer 30 daemons/attrd/attrd_elections.c election_fini(writer); writer 37 daemons/attrd/attrd_elections.c && (election_state(writer) != election_in_progress) writer 41 daemons/attrd/attrd_elections.c election_vote(writer); writer 48 daemons/attrd/attrd_elections.c return (election_state(writer) == election_won); writer 55 daemons/attrd/attrd_elections.c enum election_result previous = election_state(writer); writer 60 daemons/attrd/attrd_elections.c rc = election_count_vote(writer, xml, !attrd_shutting_down()); writer 68 daemons/attrd/attrd_elections.c election_vote(writer); writer 91 daemons/attrd/attrd_elections.c election_check(writer); writer 107 daemons/attrd/attrd_elections.c if ((election_state(writer) == election_won) writer 111 daemons/attrd/attrd_elections.c election_vote(writer); writer 133 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); writer 142 daemons/attrd/attrd_elections.c election_clear_dampening(writer); writer 156 daemons/attrd/attrd_elections.c } else if (election_state(writer) == election_in_progress) { writer 158 daemons/attrd/attrd_elections.c election_check(writer); writer 165 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))