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

Function cls_queue_get_capacity

src/cls/queue/cls_queue.cc:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35static int cls_queue_get_capacity(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
36{
37 cls_queue_get_capacity_ret op_ret;
38 auto ret = queue_get_capacity(hctx, op_ret);
39 if (ret < 0) {
40 return ret;
41 }
42
43 encode(op_ret, *out);
44 return 0;
45}
46
47static int cls_queue_enqueue(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
48{

Callers 2

TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls 2

queue_get_capacityFunction · 0.85
encodeFunction · 0.50

Tested by 2

TEST_FFunction · 0.40
TEST_FFunction · 0.40