Changeset 40204 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Feb 22, 2012 2:02:10 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76371
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/misc.c
r39409 r40204 99 99 } 100 100 101 101 #if !defined(VBOX_NAT_MEM_DEBUG) && defined(LOG_ENABLED) 102 # undef LogFlowFunc 103 # define LogFlowFunc(x) 104 105 # undef LogFlowFuncEnter 106 # define LogFlowFuncEnter() 107 108 # undef LogFlowFuncLeave 109 # define LogFlowFuncLeave() 110 111 # undef Log2 112 # define Log2(x) 113 #else 114 # define NAT_MEM_LOG_ENABLED 115 #endif 102 116 103 117 … … 137 151 138 152 LogFlowFunc(("ENTER: %R[mzone], size:%d, pflags:%p, %RTbool\n", zone, size, pflags, fWait)); 139 #ifndef LOG_ENABLED153 #ifndef NAT_MEM_LOG_ENABLED 140 154 NOREF(size); 141 155 NOREF(pflags); … … 215 229 struct item *it; 216 230 uma_zone_t zone; 217 #ifndef LOG_ENABLED231 #ifndef NAT_MEM_LOG_ENABLED 218 232 NOREF(size); 219 233 NOREF(flags); … … 250 264 { 251 265 uma_zone_t zone = NULL; 252 #ifndef LOG_ENABLED266 #ifndef NAT_MEM_LOG_ENABLED 253 267 NOREF(flags1); 254 268 NOREF(flags2); … … 341 355 reference counters */ 342 356 struct item *it = NULL; 343 #ifndef LOG_ENABLED357 #ifndef NAT_MEM_LOG_ENABLED 344 358 NOREF(zone); 345 359 #endif … … 357 371 { 358 372 void *mem; 359 #ifndef LOG_ENABLED373 #ifndef NAT_MEM_LOG_ENABLED 360 374 NOREF(how); 361 375 #endif … … 393 407 Assert((mem)); 394 408 LogFlowFunc(("ENTER: zone:%R[mzone], mem:%p, flags:%p\n", zone, mem, flags)); 395 #ifndef LOG_ENABLED409 #ifndef NAT_MEM_LOG_ENABLED 396 410 NOREF(flags); 397 411 #endif … … 453 467 LogFlowFunc(("ENTER: mem:%p, arg:%p\n", mem, arg)); 454 468 Assert(mem); 455 #ifndef LOG_ENABLED469 #ifndef NAT_MEM_LOG_ENABLED 456 470 NOREF(arg); 457 471 #endif … … 462 476 void *uma_zalloc(uma_zone_t zone, int len) 463 477 { 464 #ifndef LOG_ENABLED478 #ifndef NAT_MEM_LOG_ENABLED 465 479 NOREF(zone); 466 480 NOREF(len);
Note:
See TracChangeset
for help on using the changeset viewer.