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 92 daemons/attrd/attrd_elections.c election_check(writer); writer 108 daemons/attrd/attrd_elections.c if ((election_state(writer) == election_won) writer 112 daemons/attrd/attrd_elections.c election_vote(writer); writer 136 daemons/attrd/attrd_elections.c election_remove(writer, peer->uname); writer 145 daemons/attrd/attrd_elections.c election_clear_dampening(writer); writer 159 daemons/attrd/attrd_elections.c } else if (election_state(writer) == election_in_progress) { writer 161 daemons/attrd/attrd_elections.c election_check(writer); writer 168 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))