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

Function get

src/mds/MDSCacheObject.h:164–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 ceph_abort();
163 }
164 void get(int by) {
165 if (ref == 0)
166 first_get();
167 ref++;
168#ifdef MDS_REF_SET
169 if (ref_map.find(by) == ref_map.end())
170 ref_map[by] = 0;
171 ref_map[by]++;
172#endif
173 }
174
175 void print_pin_set(std::ostream& out) const {
176#ifdef MDS_REF_SET

Callers 15

encode_exportMethod · 0.70
decode_importMethod · 0.70
add_replicaFunction · 0.70
add_waiterFunction · 0.70
add_need_snapflushMethod · 0.70
mark_dirty_rstatMethod · 0.70
get_stickydirsMethod · 0.70
add_remote_parentMethod · 0.70
_mark_dirtyMethod · 0.70
mark_dirty_parentMethod · 0.70
add_dir_waiterMethod · 0.70

Calls 3

first_getFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected