dmbufstate(3dm)
dmBufferGetPoolState - query available space in pool
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME dmBufferGetPoolState - query available space in pool SYNOPSIS #include <dmedia/dm_buffer.h> DMstatus dmBufferGetPoolState( DMbufferpool pool, long long *bytesAvailable, int *buffersAvailable ); DESCRIPTION dmBufferGetPoolState returns the number of bytes and buffers which can be successfully allocated from the pool before the pool fills up with allocated buffers (causing dmBufferAllocate to fail). Currently, each buffer in a DMbufferpool has a fixed size. Therefore, the number of DMbuffers which can be allocated and the number of bytes which can be allocated are related by a constant factor, which is returned by dmBufferGetAllocSize. This may change in future releases. SEE ALSO dmBufferSetPoolDefaults(3dm), dmBufferAllocate(3dm), dmBufferGetSize(3dm).