Lines Matching defs:obj

1504 	json_object *obj;
1511 obj = json_object_new_int64(values[dns_cachestatscounter_hits]);
1512 CHECKMEM(obj);
1513 json_object_object_add(cstats, "CacheHits", obj);
1515 obj = json_object_new_int64(values[dns_cachestatscounter_misses]);
1516 CHECKMEM(obj);
1517 json_object_object_add(cstats, "CacheMisses", obj);
1519 obj = json_object_new_int64(values[dns_cachestatscounter_queryhits]);
1520 CHECKMEM(obj);
1521 json_object_object_add(cstats, "QueryHits", obj);
1523 obj = json_object_new_int64(values[dns_cachestatscounter_querymisses]);
1524 CHECKMEM(obj);
1525 json_object_object_add(cstats, "QueryMisses", obj);
1527 obj = json_object_new_int64(values[dns_cachestatscounter_deletelru]);
1528 CHECKMEM(obj);
1529 json_object_object_add(cstats, "DeleteLRU", obj);
1531 obj = json_object_new_int64(values[dns_cachestatscounter_deletettl]);
1532 CHECKMEM(obj);
1533 json_object_object_add(cstats, "DeleteTTL", obj);
1535 obj = json_object_new_int64(dns_db_nodecount(cache->db));
1536 CHECKMEM(obj);
1537 json_object_object_add(cstats, "CacheNodes", obj);
1539 obj = json_object_new_int64(dns_db_hashsize(cache->db));
1540 CHECKMEM(obj);
1541 json_object_object_add(cstats, "CacheBuckets", obj);
1543 obj = json_object_new_int64(isc_mem_total(cache->mctx));
1544 CHECKMEM(obj);
1545 json_object_object_add(cstats, "TreeMemTotal", obj);
1547 obj = json_object_new_int64(isc_mem_inuse(cache->mctx));
1548 CHECKMEM(obj);
1549 json_object_object_add(cstats, "TreeMemInUse", obj);
1551 obj = json_object_new_int64(isc_mem_maxinuse(cache->mctx));
1552 CHECKMEM(obj);
1553 json_object_object_add(cstats, "TreeMemMax", obj);
1555 obj = json_object_new_int64(isc_mem_total(cache->hmctx));
1556 CHECKMEM(obj);
1557 json_object_object_add(cstats, "HeapMemTotal", obj);
1559 obj = json_object_new_int64(isc_mem_inuse(cache->hmctx));
1560 CHECKMEM(obj);
1561 json_object_object_add(cstats, "HeapMemInUse", obj);
1563 obj = json_object_new_int64(isc_mem_maxinuse(cache->hmctx));
1564 CHECKMEM(obj);
1565 json_object_object_add(cstats, "HeapMemMax", obj);