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

Method front

src/common/WorkQueue.h:369–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367 }
368
369 T *front() {
370 ceph_assert(ceph_mutex_is_locked(m_pool->_lock));
371 if (m_items.empty()) {
372 return NULL;
373 }
374 return m_items.front();
375 }
376 void requeue_front(T *item) {
377 std::lock_guard pool_locker(m_pool->_lock);
378 _void_process_finish(nullptr);

Callers 15

get_iargMethod · 0.45
has_recalled_delegMethod · 0.45
delegations_brokenMethod · 0.45
mark_primaryMethod · 0.45
update_snap_traceMethod · 0.45
lock_fh_posMethod · 0.45
unlock_fh_posMethod · 0.45
ll_osdaddrMethod · 0.45
get_osd_addrMethod · 0.45
get_local_osdMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected