MCPcopy Create free account
hub / github.com/Drive-Trust-Alliance/sedutil / alloc_aligned_MIN_BUFFER_LENGTH_buffer

Method alloc_aligned_MIN_BUFFER_LENGTH_buffer

linux/DtaLinux.cpp:418–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416
417
418void * DtaLinux::alloc_aligned_MIN_BUFFER_LENGTH_buffer () {
419 return aligned_alloc( IO_BUFFER_ALIGNMENT,
420 (((MIN_BUFFER_LENGTH + IO_BUFFER_ALIGNMENT - 1)
421 / IO_BUFFER_ALIGNMENT)
422 * IO_BUFFER_ALIGNMENT) );
423}
424
425void DtaLinux::free_aligned_MIN_BUFFER_LENGTH_buffer (void * aligned_buffer) {
426 free(aligned_buffer);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected