MCPcopy Create free account
hub / github.com/ceph/ceph / set_flag

Method set_flag

src/mon/MonCommand.h:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40 bool has_flag(uint64_t flag) const { return (flags & flag) == flag; }
41 void set_flag(uint64_t flag) { flags |= flag; }
42 void unset_flag(uint64_t flag) { flags &= ~flag; }
43
44 void encode(ceph::buffer::list &bl) const {

Callers 8

update_from_paxosMethod · 0.45
encode_pendingMethod · 0.45
handleMethod · 0.45
set_valMethod · 0.45
create_initialMethod · 0.45
set_pool_flagsMethod · 0.45
prepare_new_poolMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected