| 16 | static LIST * freelist[ 32 ]; /* junkpile for list_dealloc() */ |
| 17 | |
| 18 | static unsigned get_bucket( unsigned size ) |
| 19 | { |
| 20 | unsigned bucket = 0; |
| 21 | while ( size > ( 1u << bucket ) ) ++bucket; |
| 22 | return bucket; |
| 23 | } |
| 24 | |
| 25 | static LIST * list_alloc( unsigned const size ) |
| 26 | { |
no outgoing calls
no test coverage detected