| 115 | static inline void free_request(request_t *req) { my_free(request_t, req); } |
| 116 | |
| 117 | static inline void print_request(const request_t *req) { |
| 118 | #ifdef SUPPORT_TTL |
| 119 | LOGGING(DEBUG_LEVEL, "req clock_time %lu, id %llu, size %ld, ttl %ld, op %s, valid %d\n", |
| 120 | (unsigned long)req->clock_time, (unsigned long long)req->obj_id, (long)req->obj_size, (long)req->ttl, |
| 121 | req_op_str[req->op], req->valid); |
| 122 | #else |
| 123 | LOGGING(DEBUG_LEVEL, "req clock_time %lu, id %llu, size %ld, op %s, valid %d\n", (unsigned long)req->clock_time, |
| 124 | (unsigned long long)req->obj_id, (long)req->obj_size, req_op_str[req->op], req->valid); |
| 125 | #endif |
| 126 | } |
| 127 | |
| 128 | #ifdef __cplusplus |
| 129 | } |
no outgoing calls
no test coverage detected